# MFnData

Base class for data function sets.

## Base Class

MFnBase

## Constants

Name | Type | Description
--- | --- | ---
Data Object Types
kInvalid | int | Invalid value.
kNumeric | int | Use MFnNumericData to extract data.
kPlugin | int | Use MFnPluginData to extract data.
kPluginGeometry | int | Use MFnGeometryData to extract data.
kString | int | Use MFnStringData to extract data.
kMatrix | int | Use MFnMatrixData to extract data.
kStringArray | int | Use MFnStringArrayData to extract data.
kDoubleArray | int | Use MFnDoubleArrayData to extract data.
kIntArray | int | Use MFnIntArrayData to extract data.
kPointArray | int | Use MFnPointArrayData to extract data.
kVectorArray | int | Use MFnVectorArrayData to extract data.
kComponentList | int | Use MFnComponentListData to extract data.
kMesh | int | Use MFnMeshData to extract data.
kLattice | int | Use MFnLatticeData to extract data.
kNurbsCurve | int | Use MFnNurbsCurveData to extract data.
kNurbsSurface | int | Use MFnNurbsSurfaceData to extract data.
kSphere | int | Use MFnSphereData to extract data.
kDynArrayAttrs | int | Use MFnArrayAttrsData to extract data.
kDynSweptGeometry | int | Use MFnDynSweptGeometryData to extract data.
kSubdSurface | int | Use MFnSubdData to extract data.
kNObject | int | Use MFnNObjectData to extract data.
kNId | int | Use MFnNIdData to extract data.
kLast | int | Last item. Used for counting.

## Static Methods

None.

## Static Attributes

None.

## Constructors

Signature | Parameters | Description
--- | --- | ---
MFnData() |  | Default constructor. Returns a new MFnData function set with no Maya object attached.
MFnData(object) | object - MObject | Returns a new MFnData function set, attached to the specified Maya object.

## Object Methods

None.

## Object Attributes

None.

## Sequence Support

None.

## Number Support

None.

## Comparison Support

None.

© 2011 Autodesk, Inc. All rights reserved.