ade_prefsetval

AutoCAD Map 3D AutoLISP

Up a level
ade_prefsetval
 
 

Sets an AutoCAD Map option.

(ade_prefsetval variable value)

Returns T or nil.

variable Option name (string)
value Value appropriate for the given option (type varies).

See ade_prefgetval for a list of option names and values.

The following example sets "ColorForAdd" to "red".

(ade_prefsetval "ColorForAdd" "red")