Other Functions

The expression evaluator supports the following other functions. The words in italics can be replaced by an actual value or a variable.

Expression Description
entity .dotvariable Returns the value of the dot variable for the object as it is stored in the drawing. If the object was queried from a source drawing, returns the value for the object in the source drawing, before any transformations are applied.
style .dotvariable Returns the value of the dot variable for the object as it is stylized in the Display Manager.
PI Returns pi (approx. 3.1415926).
(Range expression range_table) Returns the value of the expression after it has been processed by the specified range table. The range table must be defined in the current drawing.
(viewscale) Returns the current viewport scale, expressed as the apparent size of a screen pixel in drawing units.
(viewtwist) Returns the current twist angle for the current viewport. This is equivalent to the viewtwist system variable.