2011

Table Of Contents
Variables
Expressions can include many types of variables and expressions.
See also:
Object Data Variables (page 1549)
Dot Variables
Use dot variables to represent object properties. For example, use the .LENGTH
variable in a property alteration to have AutoCAD Map 3D add text to all lines
specifying their length. In an output report, use the .TYPE variable to list the
type of objects in your report.
DescriptionExpression
For most objects, returns the angle in the XY plane.
For ellipse objects, returns the angle of the major axis; for point
objects, returns the ECS rotation; for trace objects, returns the
.ANGLE
angle between the middle points of the start and end edges;
for circle objects, returns the angle of the circle normal projec-
ted plus PI/2 onto the WCSmdash;if no ECS, returns 0; for ob-
jects with 1 or 0 grip points, returns 0; for attdef, text, mtext,
insert, shape, and raster images objects, returns rotation.
Area of a closed polyline or circle.
Topology queries only: Value of AREA object data field for each
polygon.
.AREA
Name of a block..BLOCKNAME
Bulge factor for a polyline segment..BULGE
Center point of an object's extents.
If the object is a polygon (a closed polyline), this coordinate is
always inside the closed area regardless of the area's dimension.
.CENTER
Center point of an object's extents; that is, the intersection of
the diagonals of its bounding rectangle.
.CENTROID
Object class name..CLASSNAME
1546 | Chapter 12 Expression Evaluator