Python API 2.0 Reference: OpenMaya.MFnMeshData Class Reference

+ Inheritance diagram for OpenMaya.MFnMeshData:

Public Member Functions

__init__ ()
 
create ()
 
- Public Member Functions inherited from OpenMaya.MFnGeometryData
__init__ ()
 
addComponentTag ()
 
addObjectGroup ()
 
addObjectGroupComponent ()
 
changeObjectGroupId ()
 
componentTagContents ()
 
componentTagExpressionSubsetState ()
 
componentTagType ()
 
componentTags ()
 
copyObjectGroups ()
 
hasComponentTag ()
 
hasObjectGroup ()
 
objectGroup ()
 
objectGroupComponent ()
 
objectGroupSubsetState ()
 
objectGroupType ()
 
removeComponentTag ()
 
removeObjectGroup ()
 
removeObjectGroupComponent ()
 
renameComponentTag ()
 
resolveComponentTagExpression ()
 
setComponentTagContents ()
 
setObjectGroupComponent ()
 
- Public Member Functions inherited from OpenMaya.MFnData
__init__ ()
 
- Public Member Functions inherited from OpenMaya.MFnBase
__init__ ()
 
hasObj ()
 
object ()
 
setObject ()
 
type ()
 

Static Public Member Functions

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

Additional Inherited Members

- Static Public Attributes inherited from OpenMaya.MFnGeometryData
int kAuto = 0
 
int kCompleteGroup = 2
 
int kEdges = 3
 
int kEmptyGroup = 1
 
int kFaces = 4
 
int kInvalidGroup = 0
 
int kNull = 1
 
int kPartialGroup = 3
 
int kUnsupported = 5
 
int kVerts = 2
 
- Static Public Attributes inherited from OpenMaya.MFnData
int kAny = 24
 
int kFalloffFunction = 25
 
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 = 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
 
- Properties inherited from OpenMaya.MFnGeometryData
 isIdentity
 
 isNotIdentity
 
 matrix
 
 objectGroupCount
 

Detailed Description

MFnMeshData allows the creation and manipulation of Mesh
data objects for use in the dependency graph.

__init__()
Initializes a new, empty MFnMeshData object

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

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

Base Class

MFnGeometryData

Constructors

Signature Parameters Description
MFnMeshData()  

Default constructor. Returns a new, empty MFnMeshData object.

MFnMeshData(obj) obj - MObject

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

str() Support

Default.

repr() Support

Default.

 


Constructor & Destructor Documentation

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

Member Function Documentation

OpenMaya.MFnMeshData.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
OpenMaya.MFnMeshData.create ( )
create() -> MObject

Creates a new mesh data object, attaches it to this function set
and returns an MObject which references it.
Signature: create()
Parameters:  
Returns: The new MObject
Description: Creates a new mesh data object, attaches it to this function set and returns an MObject which references it.