Python API

Directory python_utilities now contains samples and scripts, more control over custom actions in contextual menus, directories as arguments, changes to flame.batch.create_group(), and now functions and attributes.

Indicates a feature suggested and voted up by users on the Flame Feedback portal.

Renamed Python Directories

The new directory /opt/Autodesk/<version>/python_utilities replaces the old /opt/Autodesk/<version>/python_examples directory. It contains a scripts directory for useful custom actions, and an examples directory for examples of python API uses.

Custom Layout in the Contextual Menu

You now have more control over the placement of custom actions in contextual menus.

Important: Set the minimumVersion attribute to 2023.2.0.0 on your actions so the new structure only applies to this version and not previous releases.

/opt/Autodesk/<version>/python_utilities/examples contains an example of the new custom actions menu structure.

Directory as arg

You can now pass a directory as an argument to flame.import_clips().

Changes to flame.batch.create_group()

You no longer have to set the duration argument for the flame.batch.create_group() function.

New Attributes and Functions

The following are new attributes and functions available in Flame Family 2023.2:

For more information, see Flame Family Python API.