GetVariable Method

Gets the current setting of an AutoCAD system variable.

See Also | Example

Signature

RetVal = object.GetVariable(Name)

Object

Document
The object or objects this method applies to.

Name

String; input-only
The name of the variable to return. Must contain a valid system variable name (the case of the characters is not significant).

RetVal

Variant
The value of the specified system variable.

Remarks

For a list of all the AutoCAD system variables and their types, please refer to "System Variables" in the AutoCAD Command Reference.

 

   Comments?