Python API 2.0 Reference
OpenMayaUI.MDrawData Class Reference
+ Inheritance diagram for OpenMayaUI.MDrawData:

Public Member Functions

def __init__ ()
 
def geometry ()
 

Static Public Member Functions

def __new__ ()
 

Detailed Description

The MDrawData class holds geometry specific information for user defined shapes which maya does not intrinsicly know about.

Constructor & Destructor Documentation

def OpenMayaUI.MDrawData.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

def OpenMayaUI.MDrawData.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
def OpenMayaUI.MDrawData.geometry ( )
geometry() -> long

Returns a long containing a C++ 'void' pointer which points to the geometry associated with this draw data object.
The geometry is set using the getDrawData method of MPxSurfaceShapeUI.