AcMapPropertyCondition class

Land Desktop Development ARX CPP SDK

 

AcMapPropertyCondition class

Header file: MapQuery.h.

A property condition is used to select drawing objects based on their properties in the drawing.

A property condition contains a join operator (AND or OR), a property type, a = 4) BSPSPopupOnMouseOver(event);;">comparative operator, and a value. Drawing objects whose property values meet the conditions of the property condition expression are selected by the query. For example, in the condition

COLOR = 'RED' AND ELEVATION > 50

the join operator is AND, the property types are COLOR and ELEVATION, the comparative operators are = and >, and the values are "RED" and 50.

After you create a property condition, add it to a query branch using the AcMapQueryBranch::AppendOperand, the AcMapQueryBranch::InsertOperand, or AcMapQueryBranch::SubstituteOperand function. Since these functions make a copy of the AcMapPropertyCondition object, you can release the property condition after adding it to the query branch.

The AcMapPropertyCondition class is derived from the AcMapQueryCondition class.

Do not subclass from this class.