So we finally made the jump from acad2004 to 2013. In my 2004 menu (middle button menu), I had this item:
^C^Chighlight $M=$(if,$(getvar,highlight),0,1)
This would toggle HIGHLIGHT on or off, and when it was toggled "on" there would be a check mark beside the menu item.
I added this line to my acad2013 cuix file. It toggles HIGHLIGHT on and off okay, but I don't get the check mark any more. The AutoCAD 2013 Customization Guide says to add !. to get the check mark, but no matter how I try it there's no check mark.
This is my latest attempt:
^C^Chighlight $M=$(if,$(getvar,highlight)!.,0,1)
Anybody know what's wrong with this line?
Thanks for any wisdom.
RB
[$(if,$(getvar,HIGHLIGHT),!.)Highlight]'_HIGHLIGHT $M=$(if,$(getvar,highlight),0,1)
> [$(if,$(getvar,HIGHLIGHT),!.)Highlight]'_HIGHLIGHT $M=$(if,$(getvar,highlight),0,1)
Hmmm, that gives me:
Command:
Command: [0 Unknown command "[0". Press F1 for help.
That is pull down menu code,
not command line code.
> That is pull down menu code,
> not command line code.
Yep, that's where I added it using the cui editor. Added to the middle mouse buttom popup menu.
:-/