mandy007 Posted January 9, 2012 Posted January 9, 2012 Hello I have a menu called layer colors. it is part of a partial cui file. within the layer color menu is lisp that creates layers and also changes the colors as per the client we are drafting for. I need to add a new set of layer colors to my menu. I have tried a few things, and found that i can change an existing client's settings, but adding a whole new set to the menu gives me the "unknown command" error. here is what i did so far: located the *.mnl file and added the new command (in the same format as previous layer colour commands) then i did the same with the *.mnu file. then in the cui center in autocad, i created a new command for the new layer color, and added that command to the menu of my partial cui. the new command shows up in my layer color menu, however, it is an unknown command. i think im missing something between how the *.cui, *.mnu, and the *.mnl files all work together. any help will be greatly appreciated. Quote
Ahankhah Posted January 9, 2012 Posted January 9, 2012 AFAIK there is no *.mnu used in AutoCAD 2009. Quote
BlackBox Posted January 19, 2012 Posted January 19, 2012 Edit - SPAM ALERT! I would highly recommend that members NOT post their private email address within a forum post; add it to your profile if you like. Just saying. AFAIK there is no *.mnu used in AutoCAD 2009. Ahankhah is correct, there is only CUI, & MNR (both compiled), and MNL (editable by user). In newer versions, CUIx provides the ability to add/import LSP files directly to the CUIx. Mandy007 - It sounds like you've successfully created both the Menu within the CUI, and the LISP within MNL, but did you properly create the MACRO within the Menu Command(s) you added to the CUI? Quote
SLW210 Posted January 19, 2012 Posted January 19, 2012 > Please provide your help in the forum, as this provides help and information for all. "Give a man a fish and he'll eat for a day, but teach a man how to fish and he will be fed for a lifetime." 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.