OpenMaya.MFnStringData Class Reference
Function set for string node data.
Method resolution order:
- MFnStringData
- MFnData
- MFnBase
- __builtin__.object
Base Class
MFnData<h2>Constructors
Signature | Parameters | Description |
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.
|
OpenMaya.MFnStringData.__init__ |
( |
| ) |
|
x.__init__(...) initializes x; see help(type(x)) for signature
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. |