Python API 2.0 Reference: OpenMayaUI.MDrawData Class Reference

OpenMayaUI.MDrawData Class Reference
+ Related help topics:
+ Inheritance diagram for OpenMayaUI.MDrawData:

Public Member Functions

__init__ ()
 
geometry ()
 

Static Public Member Functions

__new__ ()
 

Detailed Description

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

Constructor & Destructor Documentation

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

Member Function Documentation

OpenMayaUI.MDrawData.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
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.