|
|
Python reference: ViewFilter |
The class ViewFilter is the Python interface to the view filter object. This class is used in conjunction with the ViewParameters object to control which components of a model are drawn.
The class encapsulates the following functions from the C API:
The standard pattern for using a view filter object is as follows:
Add method to define each item of the filter.Filter attribute of the ViewParameters object.ViewFilter()
The constructor creates a new, empty view filter object.
Add(propertyName, action, namePattern, typePattern)
The parameters are the four text values that define a view filter item.