Python API 2.0 Reference: OpenMaya.MFnMessageAttribute Class Reference

OpenMaya.MFnMessageAttribute Class Reference
+ Inheritance diagram for OpenMaya.MFnMessageAttribute:

Public Member Functions

__init__ ()
 
create ()
 
- Public Member Functions inherited from OpenMaya.MFnAttribute
__init__ ()
 
accepts ()
 
acceptsAttribute ()
 
addToCategory ()
 
getAddAttrCmd ()
 
hasCategory ()
 
setNiceNameOverride ()
 
- Public Member Functions inherited from OpenMaya.MFnBase
__init__ ()
 
hasObj ()
 
object ()
 
setObject ()
 
type ()
 

Static Public Member Functions

__new__ ()
 
- Static Public Member Functions inherited from OpenMaya.MFnAttribute
__new__ ()
 
- Static Public Member Functions inherited from OpenMaya.MFnBase
__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
 
 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
 

Detailed Description

Functionset for creating and working with message attributes.

Method resolution order:
-   MFnMessageAttribute
-   MFnAttribute
-   MFnBase
-   builtins.object

Base Class

MFnAttribute<h2>Constructors

SignatureParametersDescription
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.

 


Constructor & Destructor Documentation

OpenMaya.MFnMessageAttribute.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

OpenMaya.MFnMessageAttribute.__new__ ( )
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.