# MFnBase

Base class for function sets.

## Constants

None.

## Static Methods

None.

## Static Attributes

None.

## Constructors

None.

## Object Methods

Signature | Parameters | Returns | Description
--- | --- | --- | ---
hasObj(type) | type - MFn Type constant | bool | True if the function set is compatible with the specified type of Maya object.
hasObj(object) | object - MObject | bool | True if the function set is compatible with the specified Maya object.
object() |  | MObject | Returns a reference to the object to which the function set is currently attached, or MObject.kNullObj if none.
setObject(object) | object - MObject | Reference to self. | Attaches the function set to the specified Maya object.
| type() |  | MFn Type constant | Returns the type of the function set.

## Object Attributes

None.

## Sequence Support

None.

## Number Support

None.

## Comparison Support

None.

© 2011 Autodesk, Inc. All rights reserved.