A Maya plug-in for importing and exporting Valve SMD and Valve DMX models and animations.
Supports Autodesk Maya 2019 through 2027 on Windows (x64).
- Import SMD models and animations into Maya
- Import DMX models and animations into Maya
-
Go to the Releases page and download the zip that matches your Maya version (e.g.
SMDMaya-Maya2024-Release.zip). -
Extract the zip. Inside you will find
SMDMaya.mll. -
Copy
SMDMaya.mllinto Maya's plug-in folders:C:\Program Files\Autodesk\Maya<version>\bin\plug-ins\
Replace
<version>with your Maya version, e.g.2024.
- Start Maya.
- Open Windows -> Settings/Preferences -> Plug-in Manager.
- Find SMDMaya.mll in the list.
- Tick Loaded to load it for this session. Tick Auto load if you want it to load every time Maya starts.
If the plug-in loaded correctly you will see [SMDMaya] loaded. in Maya's script editor output.
Something to note is your import options should be set to "Override to Match Source" in File -> Import for Framerate Import and Animation Range. Make sure to double check your scene is at 30FPS.
- Go to File -> Import...
- In the Files of type dropdown, choose Valve SMD or Valve DMX.
- Select your
.smdor.dmxfile and click Import.
Or.. just drag it into your scene.
- In the viewport or Outliner, select the objects you want to export.
- Go to File -> Export Selection...
- In the Files of type dropdown, choose Valve SMD or Valve DMX.
- In the export options on the right side of the dialog:
- Leave Export Animation unticked to export the selected model geometry.
- Tick Export Animation to export the skeleton animation instead.
- Choose a filename and click Export Selection.
Builds are published for Maya 2019, 2020, 2022, 2023, 2024, 2025, 2026, and 2027. Make sure you download the zip that matches the version of Maya you are running. A plug-in built for one Maya version will not load in another.
- The plug-in does not appear in the Plug-in Manager. Double-check that
SMDMaya.mllis in one of the plug-in folders listed above, then click Refresh in the Plug-in Manager. - Maya says the plug-in failed to load. You are most likely using a build for a different Maya version. Download the zip that matches your Maya version.
- My format is not in the Export dropdown. The plug-in is not loaded. Open the Plug-in Manager and tick Loaded next to
SMDMaya.mll. - Animation keyframes are being planted weirdly Check your framerate matches your imported animations framerate (likely 30FPS).
- My problem isn't listed here! Create an issue on the issues page and I will get around to it.
If you want to build the plug-in yourself instead of using a release:
- Install Visual Studio 2022 with the Desktop development with C++ workload.
- Download the Autodesk Maya devkit for your Maya version and extract it somewhere on disk.
- Open
SMDMaya.slnin Visual Studio. - Set the
MAYA_ROOTMSBuild property to the path of the extracted devkit (the folder that containsinclude\andlib\). - Build the Release / x64 configuration. The output is
bin\Release\SMDMaya.mll.
The repository also includes a GitHub Actions workflow (.github/workflows/buildandpublish.yml) that builds the plug-in for every supported Maya version and publishes the results as a GitHub Release.
See repository for license information.
Thanks to the guys who make BlenderSourceTools which I used for reference.