- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Examples

# Deprecated List

Member MAngle::setInternalUnit (Unit internalUnit)
  Changing the internal units is generally not a good idea and using the method may often produce unexpected results.

Member MAnimMessage::addAnimKeyframeEditedCallback (MObject &animNode, MMessage::MNodeObjArray func, void *clientData=NULL, MStatus *ReturnStatus=NULL)
  Use MAnimMessage::addNodeAnimKeyframeEditedCallback instead.

Member MArrayDataBuilder::MArrayDataBuilder (const MObject &attribute, unsigned int numElements, MStatus *ReturnStatus=NULL)
  Use the other constructor instead.

Member MDagMessage::addAllDagChangesCallback (MDagPath &node, MDagMessage::MMessageParentChildFunction func, void *clientData=NULL, MStatus *ReturnStatus=NULL)
  Use MDagMessage::addAllDagChangesDagPathCallback instead.

Member MDagMessage::addChildAddedCallback (MDagPath &node, MMessage::MParentChildFunction func, void *clientData=NULL, MStatus *ReturnStatus=NULL)
  Use MDagMessage::addChildAddedDagPathCallback instead.

Member MDagMessage::addChildRemovedCallback (MDagPath &node, MMessage::MParentChildFunction func, void *clientData=NULL, MStatus *ReturnStatus=NULL)
  Use MDagMessage::addChildRemovedDagPathCallback instead.

Member MDagMessage::addChildReorderedCallback (MDagPath &node, MMessage::MParentChildFunction func, void *clientData=NULL, MStatus *ReturnStatus=NULL)
  Use MDagMessage::addChildReorderedDagPathCallback instead.

Member MDagMessage::addDagCallback (MDagPath &node, DagMessage msgType, MMessage::MParentChildFunction func, void *clientData=NULL, MStatus *ReturnStatus=NULL)
  Use MDagMessage::addDagDagPathCallback instead.

Member MDagMessage::addInstanceAddedCallback (MDagPath &node, MMessage::MParentChildFunction func, void *clientData=NULL, MStatus *ReturnStatus=NULL)
  Use MDagMessage::addDagCallback instead.

Member MDagMessage::addInstanceRemovedCallback (MDagPath &node, MMessage::MParentChildFunction func, void *clientData=NULL, MStatus *ReturnStatus=NULL)
  Use MDagMessage::addDagCallback instead.

Member MDagMessage::addParentAddedCallback (MDagPath &node, MMessage::MParentChildFunction func, void *clientData=NULL, MStatus *ReturnStatus=NULL)
  Use MDagMessage::addParentAddedDagPathCallback instead.

Member MDagMessage::addParentRemovedCallback (MDagPath &node, MMessage::MParentChildFunction func, void *clientData=NULL, MStatus *ReturnStatus=NULL)
  Use MDagMessage::addParentRemovedDagPathCallback instead.

Member MDagPath::getAPathTo (const MObject &node, MStatus *ReturnStatus=NULL)
  The function signature was inconsistent with the rest of the API.

Member MDataHandle::asLong () const
  Use MDataHandle::asInt instead.

Member MDataHandle::asLong2 () const
  Use MDataHandle::asInt2 instead.

Member MDataHandle::asLong3 () const
  Use MDataHandle::asInt3 instead.

Member MDGModifier::addAttribute (const MObject &node, const MObject &attribute, MFnDependencyNode::MAttrClass type)
  Use the method MDGModifier::addAttribute( const MObject&, const MObject& ) instead

Member MDGModifier::removeAttribute (const MObject &node, const MObject &attribute, MFnDependencyNode::MAttrClass type)
  Use MDGModifier::removeAttribute( const MObject&, const MObject& ) instead

Member MDistance::setInternalUnit (Unit internalUnit)

Member MDrawContext::numberOfActiveLights (MStatus *ReturnStatus) const

Member MFileIO::import (const MString &fileName, const char *type=NULL, bool preserveReferences=false, const char *nameSpace=NULL)
  Use the MFileIO::importFile method instead.

Member MFileObject::fullName () const
  Use the methods MFileObject::expandedFullName or MFileObject::resolvedFullName instead.

Member MFileObject::name () const
  Use the method MFileObject::resolvedName instead.

Member MFileObject::path () const
  Use the methods MFileObject::expandedPath or MFileObject::resolvedPath instead.

Member MFileObject::setFullName (const MString &fileName)
  Use the method MFileObject::setRawFullName instead.

Member MFileObject::setName (const MString &fileName)
  Use the method MFileObject::setRawName instead.

Member MFnAnimCurve::numKeyframes (MStatus *ReturnStatus=NULL) const
  Use MFnAnimCurve::numKeys instead.

Member MFnAssembly::getInitialRep (MStatus *status=NULL) const
  Use the method MFnAssembly::getInitialRep(bool&, MStatus*) instead

Member MFnCamera::eyeOffset (MStatus *ReturnStatus=NULL) const
  This is an obsolete method, only kept for backward compatibility reasons.

Member MFnCamera::isParallelView (MStatus *ReturnStatus=NULL) const
  This is an obsolete method, only kept for backward compatibility reasons.

Member MFnCamera::isStereo (MStatus *ReturnStatus=NULL) const
  This is an obsolete method, only kept for backward compatibility reasons.

Member MFnCamera::setEyeOffset (double eyeOffset)
  This is an obsolete method, only kept for backward compatibility reasons.

Member MFnCamera::setStereo (bool stereo)
  This is an obsolete method, only kept for backward compatibility reasons.

Member MFnClip::getAbsolute (MStatus *ReturnStatus=NULL)
  Use the method MFnClip::getAbsoluteChannelSettings instead.

Member MFnClip::getCycle (MStatus *ReturnStatus=NULL)
  Use the method MFnClip::getPostCycle instead.

Member MFnClip::setAbsolute (bool abs, MDGModifier *mod=NULL)
  Use the method MFnClip::setAbsoluteChannelSettings instead.

Member MFnClip::setCycle (double cycle, MDGModifier *mod=NULL)
  Use the method MFnClip::setPostCycle instead.

Member MFnComponent::type (MStatus *ReturnStatus=NULL)
  Use the MFnComponent::componentType method instead.

Member MFnDagNode::model (MStatus *ReturnStatus=NULL) const
  The model returned is an unknown type to the API and now the method always returns MObject::kNullObj.

Member MFnDependencyNode::addAttribute (const MObject &attr, MAttrClass type)
  Use the MFnDependencyNode::addAttribute( const MObject& ) method instead.

Member MFnDependencyNode::findPlug (const MObject &attr, MStatus *ReturnStatus=NULL) const
  Use the MFnDependencyNode::findPlug( MObject&, bool, MStatus* ) method instead.

Member MFnDependencyNode::findPlug (const MString &attrName, MStatus *ReturnStatus=NULL) const
  Use the MFnDependencyNode::findPlug( MString&, bool, MStatus* ) method instead.

Member MFnDependencyNode::removeAttribute (const MObject &attr, MAttrClass type)
  Use the MFnDependencyNode::removeAttribute( const MObject& ) method instead.

Member MFnDependencyNode::setName (const MString &name, MStatus *ReturnStatus)
  This function is obsolete, please use the other 'setName' instead

Member MFnGenericAttribute::addAccept (MFnData::Type newType)
  Use the MFnGenericAttribute::addDataAccept method instead.

Member MFnGenericAttribute::addAccept (MFnNumericData::Type newType)
  Use the MFnGenericAttribute::addNumericDataAccept method instead.

Member MFnGenericAttribute::removeAccept (MFnData::Type oldType)
  Use the MFnGenericAttribute::removeDataAccept method instead.

Member MFnGenericAttribute::removeAccept (MFnNumericData::Type oldType)
  Use the MFnGenericAttribute::removeNumericDataAccept method instead.

Member MFnMesh::addPolygon (MPointArray &vertexArray, double polyTolerance, bool mergeVertices=true, double pointTolerance=kMFnMeshPointTolerance, bool forceGeometry=true, MObject parentOrOwner=MObject::kNullObj, MStatus *ReturnStatus=NULL)
  Use the other MFnMesh::addPolygon method.

Member MFnMesh::createColorSetWithName (const MString &colorSetName, MDGModifier *modifier, MStatus *ReturnStatus)
  Use createColorSetWithName(const MString &, MDGModifier *, const MUintArray *, MStatus *)

Member MFnMesh::currentColorSetName (MStatus *ReturnStatus) const
  Use MFnMesh::currentColorSetName(int, MStatus*) instead.

Member MFnMesh::generateSmoothMesh (MObject parentOrOwner, MStatus *ReturnStatus)
  Use generateSmoothMesh(MObject, MMeshSmoothOptions * , MStatus *) instead.

Member MFnMesh::getBinaryBlindData (int compID, MFn::Type compType, int blindDataId, MString attrName, MString &data) const
  Use MFnMesh::binaryBlindDataComponentId instead.

Member MFnMesh::getStringBlindData (int compID, MFn::Type compType, int blindDataId, MString attrName, MString &data) const
  Use MFnMesh::stringBlindDataComponentId instead.

Member MFnMesh::getVertexNormal (int vertexId, MVector &normal, MSpace::Space space=MSpace::kObject) const
  Use getVertexNormal(int, bool, MVector&, MSpace::Space) instead.

Member MFnMesh::hasBlindData (int compID, MFn::Type compType, int blindDataId, MStatus *ReturnStatus=NULL) const
  Use MFnMesh::hasBlindDataComponentId instead.

Member MFnMesh::hasBlindData (int compID, MFn::Type compType, MStatus *ReturnStatus=NULL) const
  Use MFnMesh::hasBlindDataComponentId instead.

Member MFnMesh::intersect (MPoint &raySource, MVector &rayDirection, MPointArray &points, MStatus *ReturnStatus=NULL) const
  Use the other MFnMesh::intersect method.

Member MFnMesh::intersect (const MPoint &raySource, const MVector &rayDirection, MPointArray &points, MStatus *ReturnStatus=NULL) const
  Use the other MFnMesh::intersect method.

Member MFnNurbsSurface::getParamAtPoint (const MPoint &atThisPoint, double &paramU, double &paramV, MSpace::Space space=MSpace::kObject) const
  This method is obsolete and simply calls the overloaded MFnNurbsSurface::getParamAtPoint method with ignoreTrimBoundaries set to false.

Member MFnNurbsSurface::tesselate (MTesselationParams &parms, MStatus *ReturnStatus)

Member MFnPlugin::registerTransform (const MString &typeName, const MTypeId &typeId, MCreatorFunction creatorFunction, MInitializeFunction initFunction, MCreatorFunction xformCreatorFunction, const MTypeId &xformId, const MString *classification=NULL)
  Use the other version of registerTransform instead.

Member MFnSubdNames::baseFaceIdFromLong (long base)
  Use MFnSubdNames::baseFaceIdFromIndex instead.

Member MFnSubdNames::baseFaceIndex (MUint64 id)
  Use MFnSubdNames::baseFaceIndexFromId instead.

Member MFnSubdNames::levelOneFaceAsLong (MUint64 id)
  Use MFnSubdNames::levelOneFaceIdFromIndex instead.

Member MFnSubdNames::levelOneFaceIdFromLong (long one)
  Use MFnSubdNames::levelOneFaceIdFromIndex instead.

Member MFnTransform::getRotation (double rotation[3], MTransformationMatrix::RotationOrder &order, MSpace::Space) const
  Use the other MFnTransform::getRotation method instead.

Member MFnTransform::setRotation (const double rotation[3], MTransformationMatrix::RotationOrder order, MSpace::Space)
  Use the other MFnTransform::setRotation method instead.

Member MFnTransform::translation (MSpace::Space space, MStatus *ReturnStatus=NULL) const
  Use the method MFnTransform::getTranslation instead.

Member MFnTypedAttribute::create (const MString &fullName, const MString &briefName, MFnData::Type type, MStatus *ReturnStatus)
  Use the other MFnTypedAttribute::create method instead.

Member MGlobal::getOptionVarValue (const MString &name, double &value)
  Use MGlobal::optionVarDoubleValue instead.

Member MGlobal::getOptionVarValue (const MString &name, MString &value)
  Use MGlobal::optionVarStringValue instead.

Member MGlobal::getOptionVarValue (const MString &name, int &value)
  Use MGlobal::optionVarIntValue instead.

Member MGlobal::select (MDagPath &object, const MObject &component, ListAdjustment=kAddToList)
  Use the version of MGlobal::select which takes a constant reference to an MDagPath as its first parameter.

Member MGlobal::unselect (MDagPath &object, const MObject &component)
  Use the version of MGlobal::unselect which takes a constant reference to an MDagPath as its first parameter.

Member MIndexBuffer::acquire (unsigned int size)
  Please use acquire(unsigned int size, bool writeOnly) instead.

Member MItCurveCV::cv (MStatus *ReturnStatus=NULL) const
  Use the MItCurveCV::currentItem method.

Member MItDag::item (MStatus *ReturnStatus=NULL)
  Use the MItDag::currentItem method instead.

Member MItDependencyGraph::thisNode (MStatus *ReturnStatus=NULL)
  Use the MItDependencyGraph::currentItem method instead.

Member MItDependencyNodes::item (MStatus *ReturnStatus=NULL) const
  Use the method MItDependencyNodes::thisNode instead.

Member MItGeometry::component (MStatus *ReturnStatus=NULL) const
  Use the method MItGeometry::currentItem instead.

Member MItMeshEdge::cleanupSmoothing ()
  This method is no longer required in Maya3.0 and later versions.

Member MItMeshEdge::edge (MStatus *ReturnStatus=NULL)
  Use the MItMeshEdge::currentItem method.

Member MItMeshFaceVertex::faceVertex (MStatus *ReturnStatus=NULL) const
  Use the MItMeshFaceVertex::currentItem method.

Member MItMeshPolygon::polygon (MStatus *ReturnStatus=NULL)
  Use the MItMeshPolygon::currentItem method.

Member MItMeshVertex::vertex (MStatus *ReturnStatus=NULL)
  Use the MItMeshVertex::currentItem method.

Member MItSurfaceCV::cv (MStatus *ReturnStatus=NULL) const
  Use the MItSurfaceCV::currentItem method.

Member MMaterial::evaluateTextureTransformation ()
  Use evaluateTexture() instead.

Member MMaterial::getTextureTransformation (float &scaleU, float &scaleV, float &translateU, float &translateV, float &rotate)
  Use the non-deprecated overloads of the getTextureTransformation() member function instead.

Member MMessage::nodeCallbacks (MObject &node, MIntArray &ids)
  Please use the other MMessage::nodeCallbacks method.

Member MMessage::removeCallbacks (MIntArray &ids)
  Please use the other MMessage::removeCallbacks method.

Member MPxAssembly::getInitialRep (const MObject &assembly, MStatus *ReturnStatus=NULL) const
  Use the method MPxAssembly::getInitialRep(const MObject&, bool& , MStatus* ) instead

Member MPxCommand::setUndoable (bool state)
  This method has no effect any more on the undoability of a command.

Member MPxConstraintCommand::connectTarget (void *opaqueTarget, int index)
  Use MPxConstraintCommand::connectTarget(MDagPath &targetPath, int index) instead.

Member MPxConstraintCommand::connectTargetAttribute (void *opaqueTarget, int index, MObject &constraintAttr)
  Use MPxConstraintCommand::connectTargetAttribute(MDagPath &targetPath, int index) instead.

Member MPxConstraintCommand::handleNewTargets (MObject &dagObject)
  Use MPxConstraintCommand::handleNewTargets( MDagpath& dagObject ) instead.

Member MPxHardwareShader::renderImage (const MPxHardwareShader::ShaderContext &context, const MString &imageName, floatRegion region, int &imageWidth, int &imageHeight)
  Use renderImage() that provides RenderParameters instead.

Member MPxHwShaderNode::renderImage (const MString &imageName, floatRegion region, int &imageWidth, int &imageHeight)
  Use renderImage() that provides RenderParameters instead.

Class MPxIkSolver
  This class is obsolete and will be removed in a future version of Maya. It has been replaced with the MPxIkSolverNode class.

Member MPxIkSolverNode::groupHandlesByTopology () const

Member MPxIkSolverNode::hasJointLimitSupport () const

Member MPxIkSolverNode::hasUniqueSolution () const

Member MPxIkSolverNode::isPositionOnly () const

Member MPxIkSolverNode::isSingleChainOnly () const

Member MPxNode::getInternalValue (const MPlug &plug, MDataHandle &dataHandle)
  Use the method MPxNode::getInternalValueInContext instead.

Member MPxNode::setInternalValue (const MPlug &plug, const MDataHandle &dataHandle)
  Use the method MPxNode::setInternalValueInContext instead.

Member MPxShaderOverride::activateKey (MDrawContext &context)
  Use the activateKey(MDrawContext&, const MString&) version instead.

Member MPxShaderOverride::terminateKey (MDrawContext &context)
  Use the terminateKey(MDrawContext&, const MString&) version instead.

Member MPxTransformationMatrix::convertRotationOrder (MTransformationMatrix::RotationOrder, MStatus *ReturnStatus=NULL)
  Use the MPxTransformationMatrix::convertTransformationRotationOrder() method instead.

Member MPxTransformationMatrix::convertRotationOrder (MEulerRotation::RotationOrder, MStatus *ReturnStatus=NULL)
  Use the MPxTransformationMatrix::convertEulerRotationOrder() method instead.

Member MSceneMessage::addCallback (Message, void(*func)(const MStringArray &, void *), void *clientData, MStatus *ReturnStatus)
  Use the MSceneMessage::addStringArrayCallback() method instead.

Member MSceneMessage::addCallback (Message, void(*func)(bool *retCode, MFileObject &file, void *clientData), void *clientData=NULL, MStatus *ReturnStatus=NULL)
  Use the MSceneMessage::addCheckFileCallback() method instead.

Member MSceneMessage::addCallback (Message, void(*func)(bool *retCode, void *clientData), void *clientData=NULL, MStatus *ReturnStatus=NULL)
  Use the MSceneMessage::addCheckCallback() method instead.

Member MTransformationMatrix::getRotation (double[3], RotationOrder &order, MSpace::Space) const
  Use the other MTransformationMatrix::getRotation method instead.

Member MTransformationMatrix::getRotationQuaternion (double &x, double &y, double &z, double &w, MSpace::Space) const
  Use the other MTransformationMatrix::getRotationQuaternion method instead.

Member MTransformationMatrix::setRotation (const double rotation[3], RotationOrder order, MSpace::Space)
  Use the other MTransformationMatrix::setRotation method instead.

Member MTransformationMatrix::setRotationQuaternion (double x, double y, double z, double w, MSpace::Space)
  Use the other MTransformationMatrix::setRotationQuaternion method instead.

Member MTransformationMatrix::translation (MSpace::Space, MStatus *ReturnStatus=NULL) const
  Use MTransformationMatrix::getTranslation instead.

Member MVertexBuffer::acquire (unsigned int size)
  Please use acquire(unsigned int size, bool writeOnly) instead.