What should I write in lisp to show specified command in InteractiveMenu?

What should I write in lisp to show specified command in InteractiveMenu?

Anonymous
Not applicable
244 Views
1 Reply
Message 1 of 2

What should I write in lisp to show specified command in InteractiveMenu?

Anonymous
Not applicable

Hello,

here

http://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/scale-in-x-y-bothxy-definied-directio...

is example of lisp in which prompts are shown via Interactive Menu (like in -LAYER, -LINETYPE).

 

I know, that if I want to show prompt in DialogBox, I have to add "(INITDIA)" before command.

But this command could not have "-" (Why? For example, if you write lisp with "(INITDIA) (command "_-LAYER")", this command will be opened not in DialogBox, but in InteractiveMenu).

 

But what should I write in lisp to show specified command in InteractiveMenu?

0 Likes
245 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

damian,

 

The underscore "_" before command is for using English version of commands.

 

The dash "-"  is forcing the command line version of command. 

It is not available for all of commands, but if it is available, command will run with out dialog box.

 

 

dicra

0 Likes