OpenMaya.MFnPluginData Class Reference

OpenMaya.MFnPluginData Class Reference

Class Description

MFnPluginData allows the creation and manipulation of plugin
data objects for use in the dependency graph.

__init__()
Initializes a new, empty MFnPluginData object

__init__(MObject)
Initializes a new MFnPluginData function set, attached
to the specified object.

Method resolution order:
-   MFnPluginData
-   MFnData
-   MFnBase
-   __builtin__.object
+ Inheritance diagram for OpenMaya.MFnPluginData:

Public Member Functions

__init__ ()
 
create ()
 
data ()
 
typeId ()
 
- Public Member Functions inherited from OpenMaya.MFnData
__init__ ()
 
- Public Member Functions inherited from OpenMaya.MFnBase
__init__ ()
 
hasObj ()
 
object ()
 
setObject ()
 
type ()
 

Additional Inherited Members

- Static Public Attributes inherited from OpenMaya.MFnData
int kAny = 24
 
int kFloatArray = 8
 
int kMatrixArray = 12
 
int kComponentList = 13
 
int kDoubleArray = 7
 
int kDynArrayAttrs = 19
 
int kDynSweptGeometry = 20
 
int kIntArray = 9
 
int kInvalid = 0
 
int kLast = 25
 
int kLattice = 15
 
int kMatrix = 5
 
int kMesh = 14
 
int kNId = 23
 
int kNObject = 22
 
int kNumeric = 1
 
int kNurbsCurve = 16
 
int kNurbsSurface = 17
 
int kPlugin = 2
 
int kPluginGeometry = 3
 
int kPointArray = 10
 
int kSphere = 18
 
int kString = 4
 
int kStringArray = 6
 
int kSubdSurface = 21
 
int kVectorArray = 11
 

Constructor & Destructor Documentation

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

Member Function Documentation

OpenMaya.MFnPluginData.create ( )
create(id) -> MObject

Create an instance of the specified user defined data type and attach it to this functionset.

* id (MTypeId) - the unique MTypeId of the user defined data class derived from MPxData.
OpenMaya.MFnPluginData.data ( )
data() -> MPxData

Return the user defined data held in this instance
OpenMaya.MFnPluginData.typeId ( )
typeId() -> MTypeId

Return the unique MTypeId of the user defined data that is held by this instance