
Originally Posted by
cadconcepts
Hi All-
For some time now, I have been trying to find out what system variables control the Right Click Customization menu settings under User Preferences of the Options dialog box. I would like to set the "Turn on time-sensitive right-click" check box through lisp. Any help is greatly appreciated. Thanks.
Manuel A. Ayala
Hi Manuel,
Does the SHORTCUTMENU system variable help you out?
Edit: Actually, after reading your post again, maybe this will help you out:
Code:
(vla-get-scmtimemode (vla-get-User (vla-get-preferences (vlax-get-acad-object))))
From dev help:
object.SCMTimeMode
Object
PreferencesUser
The object or objects this property applies to.
SCMTimeMode
Boolean; read-write
TRUE: Time-sensitive right-click is enabled.
FALSE: Time-sensitive right-click is disabled.