Jump to content

Recommended Posts

Posted

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.

Posted

AFAIK there is no *.mnu used in AutoCAD 2009.

  • 2 weeks later...
Posted

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? :unsure:

Posted
>

 

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."

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...