Functionset for creating and working with message attributes. Method resolution order: - MFnMessageAttribute - MFnAttribute - MFnBase - __builtin__.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.
|
Public Member Functions | |
__init__ () | |
create () | |
![]() | |
__init__ () | |
accepts () | |
acceptsAttribute () | |
addToCategory () | |
getAddAttrCmd () | |
hasCategory () | |
setNiceNameOverride () | |
![]() | |
__init__ () | |
hasObj () | |
object () | |
setObject () | |
type () | |
Additional Inherited Members | |
![]() | |
int | kDelete = 0 |
int | kNothing = 2 |
int | kReset = 1 |
![]() | |
affectsAppearance | |
affectsWorldSpace | |
array | |
cached | |
channelBox | |
connectable | |
disconnectBehavior | |
dynamic | |
extension | |
hidden | |
indeterminant | |
indexMatters | |
internal | |
isProxyAttribute | |
keyable | |
name | |
parent | |
readable | |
renderSource | |
shortName | |
storable | |
usedAsColor | |
usedAsFilename | |
usesArrayDataBuilder | |
worldSpace | |
writable | |
OpenMaya.MFnMessageAttribute.__init__ | ( | ) |
x.__init__(...) initializes x; see help(type(x)) for 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. |