Calling a VX Command Directly
The User menu can be used as a customizable menu bar. In this case you are simply trying to duplicate VX button's and are not trying to access functions from a separate library.
Almost all VX commands have a template associated with them. These commands may be started from the VX command input line by typing an "!" followed by the command template name. Similarly a command may be started from a button by using an "!" with the "command" keyword.
For Example:
|
# Calling an existing Vx menu item via: !CommandName . # In this case create a 3D line joining two points. ITEM=button label=Ovx Ex0 command=!CdLn2Pts |
Use $report to display command and function calls in the message window. You may use them either directly from the command input field or in your template with:
|
command=!CommandTemplateName |