Jump to content

Right-click menu


sketch11

Recommended Posts

With the 2 files below, I can add a menu bar in AutoCAD.

The "script" file loads the menu. The "menu" file itemises each part. The example would place structural steel blocks into the drawing.

 

Is there a way to do the same thing using a right-click menu?

 

SCRIPT FILE (TEST.scr)

(if (and (not (findfile "TEST.mnu"))
(findfile "C:\\Folder1\\POP13 Test\\TEST.mnu")
)
(setenv "ACAD" (strcat (getenv "ACAD") "C:\\Folder1\\POP13 Test"))
)
(command "._MENULOAD" "TEST.mnu")
(menucmd "P13=+TEST.CTOPopTEST")

 

MENU FILE (TEST/mnu)

***MENUGROUP=TEST
***POP13
**CTOPopTEST
[Test] 

               [->UC]
                 [310UC158]^C^C-INSERT UniversalColumns_310UC158;scale;1;
                 [310UC137]^C^C-INSERT UniversalColumns_310UC137;scale;1;
                 [310UC118]^C^C-INSERT UniversalColumns_310UC118;scale;1;
                 [310UC96.8]^C^C-INSERT UniversalColumns_310UC96.8;scale;1;

 

Link to comment
Share on other sites

Perhaps my question description is not great, or I'm not using the right terminology.

I want something like as shown attached to appear in the cursor menu. Because there are so many items, I wanted to achieve this by editing a file rather than using the CUI command in AutoCAD.

Apparently the older versions used a ".mns" file (POP501 may have been the default cursor menu). Now it may be a ".cui" or ".cuix" file ... which may or may not be easy to change using a text editor.

 

If possible, I would prefer to edit the ".mns" file, using AutoCAD 2013. I can't actually find it anywhere, so it may not exist.

 

Have you seen any documentation which provides a step by step process of how to do it.

 

 

Sample.png

Link to comment
Share on other sites

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