I am trying to add an on and off checkmark via lisp to an item in a pull down menu.
a know it can be done with diesel but only on system variables.
in my case i can't use sysvars - only lisp.
i tried (menucmd ....) but I get nil.
any suggestions will be great
Aviv
@Aviv_Eyal wrote:
I am trying to add an on and off checkmark via lisp to an item in a pull down menu.
a know it can be done with diesel but only on system variables.
in my case i can't use sysvars - only lisp.
i tried (menucmd ....) but I get nil.
any suggestions will be great
Aviv
If I understood correctlI
setvar ???
HTH
Henrique
thank
what i ment is somthing like this in diesel:
$(if,$(getvar,dimaso),!.)/vAssociative Dimensions]'_dimaso
$M=$(-,1,$(getvar,dimaso))
yet i don't want to use disel because it only uses system variables.
I want to program it in lisp using menucmd but i gust can't get it right....
Aviv
@Aviv_Eyal wrote:
thank
what i ment is somthing like this in diesel:
$(if,$(getvar,dimaso),!.)/vAssociative Dimensions]'_dimaso
$M=$(-,1,$(getvar,dimaso))
yet i don't want to use disel because it only uses system variables.
I want to program it in lisp using menucmd but i gust can't get it right....
Aviv
Aviv,
sorry, but I can't be much help in this issue.
Which AutoCAD version are you using, DIMASO was replaced by DIMASSOC...
Henrique
"...to add an on and off checkmark via lisp to an item in a pull down menu"
What will the on/off checkmark represent? Is this to affect a sysvar or other option setting?
"...in my case i can't use sysvars - only lisp..."
Why can't you use sysvars? (Does this mean you can't use SETVAR in a LISP routine?)
And, finally, assuming this is for something entirely custom, maybe DOSLib (http://www.en.na.mcneel.com/doslib.htm) has a function that will help.