Menu

Menu

Anonymous
Not applicable
187 Views
2 Replies
Message 1 of 3

Menu

Anonymous
Not applicable
Hi everybody,
I have make a menu in autocad using VBA. I want to run a my macro (Macro for my project) in menu. . I can run linecommands like open,line, vba,linetype etc.Can any body guide me how can I run my macro in menu ????

Thanks
0 Likes
188 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Hi Kumar,

 

The best way (other than training) is to open an
existing menu file and open the Help files on Menus and study the two
together.

 

Keep in mind that a menu ultimately simply sends a
set of keystrokes to the command line.  So you can practice what you expect
the menu to do and record the keystrokes replacing the <Enter> with a semi
colon in the menu line.


--

 



style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hi
everybody,
I have make a menu in autocad using VBA. I want to run a my
macro (Macro for my project) in menu. . I can run linecommands like open,line,
vba,linetype etc.Can any body guide me how can I run my macro in menu ????

Thanks

0 Likes
Message 3 of 3

Anonymous
Not applicable
^C^C^P-vbarun;MacroNameHere;


Kevin


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hi
everybody,
I have make a menu in autocad using VBA. I want to run a my
macro (Macro for my project) in menu. . I can run linecommands like open,line,
vba,linetype etc.Can any body guide me how can I run my macro in menu ????

Thanks

0 Likes