getvar
 
 
 

Retrieves the value of an AutoCAD system variable

(getvar varname) 

Arguments

varname

A string or symbol that names a system variable. See the Command Reference for a list of current AutoCAD system variables.

Return Values

The value of the system variable; otherwise nil, if varname is not a valid system variable.

Examples

Get the current value of the fillet radius:

Command: (getvar 'FILLETRAD)

0.25

See Also