I tried that cadmium(thank for the vl-bb-ref/set function) but it works only for one acad session, once i restart, its back to nil again,
my real goal/intent for this one is to have a check mark toggle in my pull down menu, im able to
toggle check and uncheck the pull down menu whenever a menu is loaded. But the problem is the checkmark
disappears once i restart acad and comes again when i toggle menus. ive seen this function:
$(if,$(and,$(getvar,lightglyphdisplay),1),!.)&Lights
in the cui of acad in lights, this does the checkmark even acad restarts,
this one works due to lightglyphdisplay system variable is set to 1,
what im thinking is to have a user-defined system variable or a global variable like this:
$(if,$(and,$(getvar,*myglobal_variable*),1),!.)&mypulldown
i searched through this forum, and found maybe writing in registry may do the trick but im not familiar with it yet,
got any ideas/simple example how i can do it that way anyone?thanks