• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

lisp to activate and deactivate the shortcut menu in the design area

  • Thread starter Thread starter Zoro76
  • Start date Start date

Zoro76

Guest
Good day to all,
I wanted to ask if someone can help me find a lisp (or a macro) to perform this type of operation:

instruments
options
User preferences

and then put it "check" or remove it from the written "fast choice menu in the drawing area".

Unfortunately this operation touches me to do it very often because I am accustomed to using the right button to run the last command... In the meantime, however, I got a new program that needs to use with the right button the drop down menu to choose a certain command.

If there's someone who can help me, I'd be very grateful. .
Thank you.
 
assign this to a button
(setq men (getvar "shortcutmenu"))(if (= men 10)(setvar "shortcutmenu" 1)(setvar "shortcutmenu" 10))if you use the classic right (to tell us the repetition of the command on the right) with display of the context menu after pressure for long time of the right button, the value 10 must be changed to 18

the function reported makes a switch between the two states, so pressure 1 eliminates the context menu, pressure 2 activates the pressure menu 3 turns it off again and so on.
 
Thank you very much
I'm doing tests using your suggestion.
I think I probably just need to get used to a little bit of right-clicking differently.

Thanks again, I'll let you know if I might find some trouble
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top