You don't need to go as far as VB in order to have that simple dialog if you
really want to go that way. DCL or ODCL is far more accessible. The problem
with DCL is that DCL GUIs are modal and then not everything can be run
behind a modal dialog in AutoCAD, especially programs that require screen
selection and stuff.
So you will have to select the command and then to dismiss the DCL dialog in
order to continue, which makes three mouse clicks using this approach
comparing with one with a toolbar button and two with a flyout. But if you
really want it, try the attached one.
Assuming that you have a LISP file named COMMANDS.LSP placed in a declared
path and you have six commands defined in that file named command_a to
command_f, then you could call the attached function from a tool bar button
or menu item like this:
^C^C(call_lisp "commands.lsp")
Look inside the function and remark that the radio button keys are named
with the name of the six commands defined in the LISP file. This is very
important with this setup.
HTH
--
Humans are born with a wide horizon.
As time goes by, the horizon narrows and
narrows, until it becomes a point of view.
a écrit dans le message de news:
6264529@discussion.autodesk.com...
Thanks for the info. Looking over it quickly, it looks a lot like Visual
Basic. In general, how would I package, compile, deploy, etc. for AutoCAD?