Expression object

AutoCAD Map 3D ActiveX

Expression object

Represents the expression evaluator.

Created by calling MapUtil.NewExpression.

Contained by a QueryReport collection. Can be contained by an AlterLine object.

You use expressions primarily in Report mode queries and property alteration definitions, but you can use them for general purposes, such as getting the area of all objects in a selection set.

You control the format of the query report by defining a template using expressions. Each expression defines a column of the report. When you execute the query with a report tempate, the information specified by the expressions is written to the report. For example, a report template with three expressions creates three columns, separated by commas, of information about queried objects.

For more information, see "Expressions" in AutoCAD Map UI Help.