# MFnMessageAttribute

## Base Class

MFnAttribute

## Constants

None.

## Static Methods

None.

## Static Attributes

None.

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

## Object Methods

Signature | Parameters | Returns | Description
--- | --- | --- | ---
create(longName, shortName) | longName - string shortName - string | MObject | Create a new message attribute with the given longName and shortName, attach it to the function set and return it in an MObject.

## Object Attributes

None.

## Sequence Support

None.

## Number Support

None.

## Comparison Support

None.

© 2011 Autodesk, Inc. All rights reserved.