OpenMaya.MIteratorType Class Reference

Class Description

The MIteratorType class is used on iterators where more than one type
of filters can be specified. It also provides functionalities to set and
get the filter list or individual types of filter. This class should be
used in conjunction with DAG/DG/DependencyNodes iterators for using filter
list (list of MFn::Type objects) on them, thus enabling faster traversal
thro' iterators.

Also, the class has functionalities for specifying the type of object the
iterator will be reset to. This could be an MObject, an MPlug or an MDagPath.
+ Inheritance diagram for OpenMaya.MIteratorType:

Public Member Functions

__init__ ()
 

Static Public Attributes

int kMDagPathObject = 1
 
int kMObject = 0
 
int kMPlugObject = 2
 

Properties

 filterList
 
 filterListEnabled
 
 filterType
 
 objectType
 

Constructor & Destructor Documentation

OpenMaya.MIteratorType.__init__ ( )
x.__init__(...) initializes x; see help(type(x)) for signature

Property Documentation

OpenMaya.MIteratorType.filterList
static
 Filter list (MIntArray containing MFn.Type).
OpenMaya.MIteratorType.filterListEnabled
static
 Whether the we are using a single filter on the iterator or a filter list (Boolean).
OpenMaya.MIteratorType.filterType
static
 Filter type (MFn.Type).
OpenMaya.MIteratorType.objectType
static
 Object type (MIteratorType.objFilterType).