- The named Filter to create or replace.
- A class tree formula of the form "-Class +SubClass1 -SubClass2 +SubClass3", e.g. "-Item +Line +Area" will match only LineString and Polygon Items, and their sub-classes.
The item class names in the formula$ argument, which reflect the Cadcorp SIS C++ class names, are not necessarily the same as those that appear in the SIS user interface, which are translatable. In particular the "Polygon" and "TopoLineString" item classes should be specified as "SeedArea" and "SeedChain" respectively. The class name to use in this method is stored in the Class name item property. The translatable class name is stored in the Item class property.
Available: GEO D OD OM SISpy
This example creates a filter for all items excluding polygons:
sis.CreateClassTreeFilter ("NotPolygons", "+Item -SeedArea")
Note: Add a colon to the end of the class whose children you want to ignore, for example:
sis.CreateClassTreeFilter ("NotPolygons", "+Item -SeedArea:")