lonelysn Posted July 1, 2016 Posted July 1, 2016 (edited) Dear Friends, My client gave me a cuix file which is their standards for layers, i loaded it and i used it. but now i want to make my own standards for layers in cuix file so that i can add it on my menu bar:( Can anyone guide me how to create a new cuix file called Layers.cuix:unsure: Thanks in advance. Edited July 1, 2016 by lonelysn Spelling Mistake Quote
tombu Posted July 7, 2016 Posted July 7, 2016 Start with a new blank CUIX and use the Transfer tab to copy what you want from their CUIX and call it Layers.cuix. You may need to copy the dll file with the name of their CUIX and call it Layers.dll if that's were their icons are located. Quote
BIGAL Posted July 8, 2016 Posted July 8, 2016 I would do slightly different open notepad and copy and paste from the cuix to notepad the command sequences and save as a menu this is a simple text file so edit is easy. Just use menuload to load or update. There is some cuix to menu software but I found it not very useful. A little trick copy the cuix to menu name.zip then open the zip. Quote
iconeo Posted July 25, 2016 Posted July 25, 2016 I would do slightly different open notepad and copy and paste from the cuix to notepad the command sequences and save as a menu this is a simple text file so edit is easy. Just use menuload to load or update. There is some cuix to menu software but I found it not very useful. A little trick copy the cuix to menu name.zip then open the zip. Or if you have 7zip installed there is no need to rename. Just right click on file and tell it to open as archive. Sent from my SM-G920T using Tapatalk Quote
lonelysn Posted August 22, 2016 Author Posted August 22, 2016 Hellow All, Can anyone teach me or instruct me how to create a drop down menu for layers, Eg: i have a .cuix file from my client which is their standard layers, i entered menuload command and loaded that file it appeared near my express tool- menu bar. no i want to create same for my company which have different layers is there any way out. please find the attached file for your refference... Quote
rkmcswain Posted August 22, 2016 Posted August 22, 2016 What is inside the drop-down menu? In other words what do the commands in there, do? Quote
ReMark Posted August 22, 2016 Posted August 22, 2016 Why don't you add all the layers to your template file? Any layers that are not used by the completion of the project can be purged. Quote
SLW210 Posted August 22, 2016 Posted August 22, 2016 Haven't you already asked this before? How To Create a new Cuix file only for layers You might get more help if you go through the exact part where you are having trouble. I merged the two threads. Quote
lonelysn Posted August 29, 2016 Author Posted August 29, 2016 @rkmcswain : please find the attached file in which i have indicated what does it shows. @ReMark : I have Created a template including all the services layers but you know that its a normal tendency purge and audit the drawing files, my guys always does this so the layers are gone every time. @SLW210 :Yes i have asked this question before, at that time i had a different query about the same file, i didn't know what was the use of it, but now i know and i want to create one of mine. Quote
BIGAL Posted August 29, 2016 Posted August 29, 2016 A sub sub menu is very easy if thats waht your trying to do, I would still do it as a partial menu and load it rather than creating it in the main cui. The -> is open a sub menu -> etc just need match ***MENUGROUP=STDS ***POP19 **CADLIB [LIBRARY] [->Stddwgs] [TRENCH]$I=STDS.TRENCH $I=* [.......... [<-] [->IDM dwgs] [............ [<-] Quote
lonelysn Posted August 29, 2016 Author Posted August 29, 2016 @ BIGAL, No i am not looking for creating a sub menu, i want to create a same menu for me which contains MY Company layers, the image which i have shared are layers to be used in the drawing which was given by a client. A sub sub menu is very easy if thats waht your trying to do, I would still do it as a partial menu and load it rather than creating it in the main cui. The -> is open a sub menu -> etc just need match ***MENUGROUP=STDS ***POP19 **CADLIB [LIBRARY] [->Stddwgs] [TRENCH]$I=STDS.TRENCH $I=* [.......... [<-] [->IDM dwgs] [............ [<-] Quote
tombu Posted August 29, 2016 Posted August 29, 2016 @ BIGAL, No i am not looking for creating a sub menu, i want to create a same menu for me which contains MY Company layers, the image which i have shared are layers to be used in the drawing which was given by a client. Then why not just use Transfer to copy everything from their CUI into a new one, then substitute your company layers in all the macros? Quote
lonelysn Posted August 29, 2016 Author Posted August 29, 2016 Then why not just use Transfer to copy everything from their CUI into a new one, then substitute your company layers in all the macros? now you said it friend, i am asking the same... how to do it .. i am not familiar with macros. Quote
tombu Posted August 29, 2016 Posted August 29, 2016 Start with AutoCAD help. Regularly make backups of working versions of the CUI's you modify. If you make a mistake while customizing one you don't want to have to start from scratch. If their CUI has custom icons you want to use they're probably stored in a DLL file with the same name as their CUI. It may also have an MNL file with the same name as the CUI containing lisp used by the CUI. Simply copy these files and rename the copies to the name of your CUI. Once you get your own working CUI if you still need help modifying the macros to your layers let us know. Since you're the only one who knows exactly what you want it to do it's better if you do the customizing yourself. Quote
lonelysn Posted August 29, 2016 Author Posted August 29, 2016 @ Tombu Honestly i didnt get what you said now. i have tired what you said and endup with waste of time due to lack of my knowledge. i have attached TWO files indicating what help i want excatly. hope u can help me. Start with AutoCAD help. Regularly make backups of working versions of the CUI's you modify. If you make a mistake while customizing one you don't want to have to start from scratch. If their CUI has custom icons you want to use they're probably stored in a DLL file with the same name as their CUI. It may also have an MNL file with the same name as the CUI containing lisp used by the CUI. Simply copy these files and rename the copies to the name of your CUI. Once you get your own working CUI if you still need help modifying the macros to your layers let us know. Since you're the only one who knows exactly what you want it to do it's better if you do the customizing yourself. Quote
tombu Posted August 29, 2016 Posted August 29, 2016 @ Tombu Honestly i didnt get what you said now. i have tired what you said and endup with waste of time due to lack of my knowledge. i have attached TWO files indicating what help i want excatly. hope u can help me. Image was hard to read. Reply with just the macro, it appears you only need to replace the layer name. Quote
lonelysn Posted August 29, 2016 Author Posted August 29, 2016 (edited) Image was hard to read.Reply with just the macro, it appears you only need to replace the layer name. @tombu: please find the attached file for the macros, hope you can the layers properties manager i have 325 layers to be typed or replaced...hope you understand what i mean. Edited August 29, 2016 by lonelysn Quote
tombu Posted August 29, 2016 Posted August 29, 2016 @tombu: please find the attached file for the macros, hope you can the layers properties manager i have 325 layers to be typed or replaced...hope you understand what i mean. Why keep posting images? It would be a lot easier to read if you just copied the macro and pasted it here. Use the # icon above to paste the macro or for posting code. That simply sets default color and linetype to bylayer, then adds layer a700g and assigns properties. You could do the same with one of your company layers. Quote
tombu Posted August 29, 2016 Posted August 29, 2016 If all those macros do is add layers seems like importing a layer state with all your company layers would be a lot easier. You could do that with a macro as well. Quote
BIGAL Posted August 30, 2016 Posted August 30, 2016 You can not magically create a menu with 325 layers some manual work is required, but you can export all those layers to a text file and manipulate them in notepad or excel etc and make a new menu. I am still saying start from scratch. We run layer converts everyday, change layer name, colour and linetype, one menu pick. Around 120+ layers typically. There are some tricks using word or excel that can make the creation of a new menu very fast, you have not really posted any source details layer group1 -> layers in group1. layer group2 -> layers in group2. This is where I would start with Lee-macs program http://www.lee-mac.com/layerextract.html dump your 325 layers, group them how you want in some way and then someone can probably put together a menu for you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.