FBX SDK Programmer's Guide > FBX Extensions SDK >

# FBX Extensions to Maya

Maya FBX Extension Interface

FBX Extensions to the FBX Plug-in for Maya can implement any or all of the following functions. Note that the MObject class refers to the Maya SDK.

    EXPORT_DLL bool MayaExt_IsExtension(){return true;}

    EXPORT_DLL bool MayaExt_ExportHandled(MObject& pMayaObject);
    EXPORT_DLL void MayaExt_ExportBegin(FbxScene* pFbxScene);
    EXPORT_DLL void MayaExt_ExportTranslated(FbxObject* pFbxObject, MObject& pMayaObject);
    EXPORT_DLL void MayaExt_ExportEnd(FbxScene* pFbxScene);

    EXPORT_DLL bool MayaExt_ImportHandled(FbxObject* pFbxObject);
    EXPORT_DLL void MayaExt_ImportBegin(FbxScene* pFbxScene);
    EXPORT_DLL void MayaExt_ImportTranslated(FbxObject* pFbxObject, MObject& pMayaObject);
    EXPORT_DLL void MayaExt_ImportEnd(FbxScene* pFbxScene);

Running your FBX Extension for Maya

FBX Extensions for Maya must be compiled as dynamic library files (.dll for Windows) and placed in the following Maya subdirectory:

- <maya_install_path>/bin/plug-ins/fbx

Sample Code

The following FBX Extensions SDK subdirectories contain sample Visual Studio projects.

Directory | Description
--- | ---
plugins/MayaExtensionPlugin_Template/ | Skeleton code and comments for Maya.
plugins/MayaExtensionPlugin_Example/ | Fully functional sample extension for Maya.