adding modifiers to a command?

adding modifiers to a command?

Shay.Gaghe
Advocate Advocate
678 Views
1 Reply
Message 1 of 2

adding modifiers to a command?

Shay.Gaghe
Advocate
Advocate

hi all

I’ve created a lisp-based command that have some options included.

 

I would like to add modifiers (Shift,CTL,Alt) to my click and have them trigger corresponding command options.

 

For example, if my command is “test [A,B,C]”, by invoking “test” ,the command is asking to select object, when I select the objects with CTL , the command will use option A, when using ALT with clicking, the command use option B and so on.

 

Is there a CUIx way to do it? Or do I have to code it in the lisp?

 

Thanks

Shay

Using Autocad 2018, Autocad Architecture.
Please accept as solution if i solved your problem
0 Likes
Accepted solutions (1)
679 Views
1 Reply
Reply (1)
Message 2 of 2

Moshe-A
Mentor
Mentor
Accepted solution

@Shay.Gaghe  hi,

 

you can trigger your lisp command from CUI interface

Keyboard shortcut\Shortcut keys

 

as far as know it respond to ctrl and\or shift (not alt)

 

moshe

 

 

0 Likes