Basic Filters

AutoCAD Map 3D .NET API

 
Basic Filters
 
 
 

The FilterObjects() method for any filter takes a list of drawing objects to be filtered and returns a list of drawing objects that meet the filtering criteria.

To create a basic filter, call the constructor with a list of layer names, feature class names, and block names. Separate multiple values with commas. An asterisk (“*”) wild card selects all objects matching the criterion.

Dim newFilter As Autodesk.Gis.Map.Filters.BasicFilter
newFilter = New Autodesk.Gis.Map.Filters.BasicFilter
   ("Parcels, Lots", "*", "*"))

To run a filter, call its FilterObjects() method with the output and input ObjectIdCollection objects.