AutoCAD Mechanical Forum
Welcome to Autodesk’s AutoCAD Mechanical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Mechanical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How Do You Activate Lisp Routines From Custom Pulldown Menus?

1 REPLY 1
Reply
Message 1 of 2
mrm01
476 Views, 1 Reply

How Do You Activate Lisp Routines From Custom Pulldown Menus?

I have three lisp routines that I can activate by typing the name of the routine into Autocad Mechanical's command line. For example, I have a routine that turns on a custom title block. To activate it, I type "cblock" and the lisp routine activates it. I want to have access to this command via a custom pulldown menu. I've made a custom pulldown menu but I don't understand what command to define. How do I run the lisp routine from the pulldown?

Thanks!
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: mrm01


open your cui editor, find the command you
made, select it and place this in the "maco" line

(c:cblock);

 

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I
have three lisp routines that I can activate by typing the name of the routine
into Autocad Mechanical's command line. For example, I have a routine that
turns on a custom title block. To activate it, I type "cblock" and the lisp
routine activates it. I want to have access to this command via a custom
pulldown menu. I've made a custom pulldown menu but I don't understand what
command to define. How do I run the lisp routine from the pulldown?
Thanks!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

”Boost