mayaToGda

As of August 5th, 2025, Golaem will no longer provide direct support.

All support for Autodesk Golaem will now be handled exclusively through Autodesk support channels and this website will be deactivated soon.

Please bookmark the Autodesk Golaem Support section for any future support needs related to Autodesk Golaem packages.

The mayaToGda command is a Python command that allows to export the Golaem simulation from a Maya scene to a GDA file. The GDA file can be run using the Golaem Engine.

mayaToGda(gdaExportParams: GDAExportParams)

The GDAExportParams structure contains the following parameters which control the GDA export:

  • _useRelativePaths: use relative paths in the GDA file (defaults to True)
  • _copyResources: copy all the files needed to run the GDA file into the export directory (defaults to True)
  • _fileDir: the directory where to export the GDA file. The resulting GDA file will be exported to [_fileDir]/[sceneName]/[sceneName].gda

Example

import glm.gda.mayaToGda as gda

gdaExportParams = gda.GDAExportParams()
gdaExportParams._fileDir = "D:/tests/GDA/MayaExports"
gda.mayaToGda(gdaExportParams)