QueryLeaf.SetLocationCond method

AutoCAD Map 3D ActiveX

QueryLeaf.SetLocationCond method

Defines a location condition.

SetLocationCond( _
 DataType As ELocationType, _
 BoundaryObj As Variant _
 ) As Boolean

Returns True on success.

DataType

One of the following ELocationType constants.

kLocationInside
kLocationCrossing

BoundaryObj

A boundary object, such as a PolygonBound.

Boundary objects are created by methods of the MapUtil object.

Note Call this method only if the QueryLeaf object's Type property is kLocationCondition.