OpenMaya.MFnMeshData Class Reference

Class 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
-   __builtin__.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.

 


+ Inheritance diagram for OpenMaya.MFnMeshData:

Public Member Functions

__init__ ()
 
create ()
 
- Public Member Functions inherited from OpenMaya.MFnGeometryData
__init__ ()
 
addObjectGroup ()
 
addObjectGroupComponent ()
 
changeObjectGroupId ()
 
copyObjectGroups ()
 
hasObjectGroup ()
 
objectGroup ()
 
objectGroupComponent ()
 
objectGroupType ()
 
removeObjectGroup ()
 
removeObjectGroupComponent ()
 
setObjectGroupComponent ()
 
- 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
 
- Properties inherited from OpenMaya.MFnGeometryData
 isIdentity
 
 isNotIdentity
 
 matrix
 
 objectGroupCount
 

Constructor & Destructor Documentation

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

Member Function Documentation

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.

The documentation for this class was generated from the following files:
  • D:/Maya-MD-Merge/input/python/2.0/OpenMaya.py
  • D:/Maya-MD-Merge/input/python/extras.dox