- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
For a while, the typical acad.cuix macros for toggle groups and other vars look like:
'_setvar;pickstyle;$M=$(if,$(eq,$(getvar,pickstyle),0),1,$(if,$(eq,$(getvar,pickstyle),1),0,$(if,$(eq,$(getvar,pickstyle),2),3,2)))
I want it to say "Groups On" or "Groups Off" as I hit ctrl-H or whatever I assign that command to (ctrl-A for me!).
I don't mess with this kind of code too much. Can we add the statements "in line", or do I have to add a lisp statement at the end like:
'_setvar;pickstyle;$M=$(if,$(eq,$(getvar,pickstyle),0),1,$(if,$(eq,$(getvar,pickstyle),1),0,$(if,$(eq,$(getvar,pickstyle),2),3,2)));(if (= (getvar "pickstyle") 0)(princ "\nGroups Off")(princ "\nGroups On"))
lookin for ideas.
internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties
Solved! Go to Solution.