|
Python API 2.0 Reference
|
Inheritance diagram for OpenMaya.MFnMessageAttribute:Public Member Functions | |
| def | __init__ () |
| def | create () |
Public Member Functions inherited from OpenMaya.MFnAttribute | |
| def | __init__ () |
| def | accepts () |
| def | acceptsAttribute () |
| def | addToCategory () |
| def | getAddAttrCmd () |
| def | hasCategory () |
| def | setNiceNameOverride () |
Public Member Functions inherited from OpenMaya.MFnBase | |
| def | __init__ () |
| def | hasObj () |
| def | object () |
| def | setObject () |
| def | type () |
Static Public Member Functions | |
| def | __new__ () |
Static Public Member Functions inherited from OpenMaya.MFnAttribute | |
| def | __new__ () |
Static Public Member Functions inherited from OpenMaya.MFnBase | |
| def | __new__ () |
Additional Inherited Members | |
Static Public Attributes inherited from OpenMaya.MFnAttribute | |
| int | kDelete = 0 |
| int | kNothing = 2 |
| int | kReset = 1 |
Properties inherited from OpenMaya.MFnAttribute | |
| affectsAppearance = property(...) | |
| affectsWorldSpace = property(...) | |
| array = property(...) | |
| cached = property(...) | |
| channelBox = property(...) | |
| connectable = property(...) | |
| disconnectBehavior = property(...) | |
| dynamic = property(...) | |
| extension = property(...) | |
| hidden = property(...) | |
| indeterminant = property(...) | |
| indexMatters = property(...) | |
| internal = property(...) | |
| isProxyAttribute = property(...) | |
| keyable = property(...) | |
| name = property(...) | |
| parent = property(...) | |
| readable = property(...) | |
| renderSource = property(...) | |
| shortName = property(...) | |
| storable = property(...) | |
| usedAsColor = property(...) | |
| usedAsFilename = property(...) | |
| usesArrayDataBuilder = property(...) | |
| worldSpace = property(...) | |
| writable = property(...) | |
Functionset for creating and working with message attributes. Method resolution order: - MFnMessageAttribute - MFnAttribute - MFnBase - builtins.object
MFnAttribute<h2>Constructors
| Signature | Parameters | Description |
|---|---|---|
| MFnMessageAttribute() | Default constructor. Returns a new MFnMessageAttribute function set with no Maya object attached. | |
| MFnMessageAttribute(object) | object - MObject | Returns a new MFnMessageAttribute function set, attached to the specified Maya object. |
| def OpenMaya.MFnMessageAttribute.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
|
static |
Create and return a new object. See help(type) for accurate signature.
| OpenMaya.MFnMessageAttribute.create | ( | ) |
Creates a new message attribute, attaches it to the function set and returns it as an MObject.
| Signature: | create(longName, shortName) |
| Parameters: | longName - string shortName - string |
| Returns: | MObject |
| Description: | Create a new message attribute with the given longName and shortName, attach it to the function set and return it in an MObject. |