OpenMaya.MFnStringData Class Reference

OpenMaya.MFnStringData Class Reference

Class Description

Function set for string node data.

Method resolution order:
-   MFnStringData
-   MFnData
-   MFnBase
-   __builtin__.object

Base Class

MFnData<h2>Constructors

SignatureParametersDescription
MFnStringData()  

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

MFnStringData(object) object - MObject

Returns a new MFnStringData function set, with the specified Maya object attached.

 


+ Inheritance diagram for OpenMaya.MFnStringData:

Public Member Functions

__init__ ()
 
create ()
 
set ()
 
string ()
 
- 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
 

Constructor & Destructor Documentation

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

Member Function Documentation

OpenMaya.MFnStringData.create ( )
Creates a new string data object.
Signature: create()
Parameters:  
Returns: MObject
Description: Creates a new empty string data object, attaches it to the function set and returns an MObject which references it.
Signature: create(str)
Parameters: str - string
Returns: MObject
Description: Creates a new string data object, initializes it with str, attaches it to the function set and returns an MObject which references it.
OpenMaya.MFnStringData.set ( )
Sets the value of the encapsulated string.
Signature: set(str)
Parameters: str - string
Returns: Reference to self.
Description: Replaces the contents of the encapsulated string with that of str.
OpenMaya.MFnStringData.string ( )
Returns the encapsulated string as a unicode object.
Signature: string()
Parameters:  
Returns: string
Description: Returns a copy of the encapsulated string.

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