Python API 2.0 Reference
OpenMaya.MFnData Class Reference
+ Inheritance diagram for OpenMaya.MFnData:

Public Member Functions

def __init__ ()
 
- Public Member Functions inherited from OpenMaya.MFnBase
def __init__ ()
 
def hasObj ()
 
def object ()
 
def setObject ()
 
def type ()
 

Static Public Member Functions

def __new__ ()
 
- Static Public Member Functions inherited from OpenMaya.MFnBase
def __new__ ()
 

Static Public Attributes

int kAny = 24
 
int kFalloffFunction = 25
 
int kFloatArray = 8
 
int kMatrixArray = 12
 
Data Object Types
int kComponentList = 13
 
int kDoubleArray = 7
 
int kDynArrayAttrs = 19
 
int kDynSweptGeometry = 20
 
int kIntArray = 9
 
int kInvalid = 0
 
int kLast = 26
 
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
 

Detailed Description

Base class for dependency graph data function sets.

Method resolution order:
-   MFnData
-   MFnBase
-   builtins.object

Base class for data function sets.

Base Class

MFnBase<h2>Constructors

SignatureParametersDescription
MFnData()  

Default constructor. Returns a new MFnData function set with no Maya object attached.

MFnData(object) object - MObject

Returns a new MFnData function set, attached to the specified Maya object.

 


Constructor & Destructor Documentation

def OpenMaya.MFnData.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

def OpenMaya.MFnData.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.

Member Data Documentation

OpenMaya.MFnData.kComponentList = 13
static
Name: kComponentList
Type: int
Description: Use MFnComponentListData to extract data.
OpenMaya.MFnData.kDoubleArray = 7
static
Name: kDoubleArray
Type: int
Description: Use MFnDoubleArrayData to extract data.
OpenMaya.MFnData.kDynArrayAttrs = 19
static
Name: kDynArrayAttrs
Type: int
Description: Use MFnArrayAttrsData to extract data.
OpenMaya.MFnData.kDynSweptGeometry = 20
static
Name: kDynSweptGeometry
Type: int
Description: Use MFnDynSweptGeometryData to extract data.
OpenMaya.MFnData.kIntArray = 9
static
Name: kIntArray
Type: int
Description: Use MFnIntArrayData to extract data.
OpenMaya.MFnData.kInvalid = 0
static
Name: kInvalid
Type: int
Description: Invalid value.
OpenMaya.MFnData.kLast = 26
static
Name: kLast
Type: int
Description: Last item. Used for counting.
OpenMaya.MFnData.kLattice = 15
static
Name: kLattice
Type: int
Description: Use MFnLatticeData to extract data.
OpenMaya.MFnData.kMatrix = 5
static
Name: kMatrix
Type: int
Description: Use MFnMatrixData to extract data.
OpenMaya.MFnData.kMesh = 14
static
Name: kMesh
Type: int
Description: Use MFnMeshData to extract data.
OpenMaya.MFnData.kNId = 23
static
Name: kNId
Type: int
Description: Use MFnNIdData to extract data.
OpenMaya.MFnData.kNObject = 22
static
Name: kNObject
Type: int
Description: Use MFnNObjectData to extract data.
OpenMaya.MFnData.kNumeric = 1
static
Name: kNumeric
Type: int
Description: Use MFnNumericData to extract data.
OpenMaya.MFnData.kNurbsCurve = 16
static
Name: kNurbsCurve
Type: int
Description: Use MFnNurbsCurveData to extract data.
OpenMaya.MFnData.kNurbsSurface = 17
static
Name: kNurbsSurface
Type: int
Description: Use MFnNurbsSurfaceData to extract data.
OpenMaya.MFnData.kPlugin = 2
static
Name: kPlugin
Type: int
Description: Use MFnPluginData to extract data.
OpenMaya.MFnData.kPluginGeometry = 3
static
Name: kPluginGeometry
Type: int
Description: Use MFnGeometryData to extract data.
OpenMaya.MFnData.kPointArray = 10
static
Name: kPointArray
Type: int
Description: Use MFnPointArrayData to extract data.
OpenMaya.MFnData.kSphere = 18
static
Name: kSphere
Type: int
Description: Use MFnSphereData to extract data.
OpenMaya.MFnData.kString = 4
static
Name: kString
Type: int
Description: Use MFnStringData to extract data.
OpenMaya.MFnData.kStringArray = 6
static
Name: kStringArray
Type: int
Description: Use MFnStringArrayData to extract data.
OpenMaya.MFnData.kSubdSurface = 21
static
Name: kSubdSurface
Type: int
Description: Use MFnSubdData to extract data.
OpenMaya.MFnData.kVectorArray = 11
static
Name: kVectorArray
Type: int
Description: Use MFnVectorArrayData to extract data.