Asset API (Python)

Asset Plugins

AssetAPI.GetAssetPlugin()

Takes the name of an asset plugin as a string and returns the chosen asset plugin.

AssetAPI.GetAssetPluginNames()

Lists the names of all the currently registered asset plugins.

AssetAPI.GetDefaultAssetPlugin()

Returns the default asset plugin

AssetAPI.GetDefaultAssetPluginName()

Returns the name of the default asset plugin, as a string.

AssetAPI.SetDefaultAssetPluginName()

Sets the default asset plugin. Takes the name of the asset plugin as a string.

File Sequence Plugins

AssetAPI.GetFileSequencePlugin()

Takes the name of a file sequence plugin as a string and returns the chosen file sequence plugin.

AssetAPI.GetFileSequencePluginNames()

Lists the names of all the currently registered file sequence plugins.

AssetAPI.GetDefaultFileSequencePlugin()

Returns the default file sequence plugin.

AssetAPI.GetDefaultFileSequencePluginName()

Returns the name of the default file sequence plugin. As a string.

AssetAPI.SetDefaultFileSequencePluginName()

Sets the default file sequence plugin. Takes the name of the file sequence plugin as a string as the first argument.

Miscellaneous

AssetAPI.ResetAllAssetAPIPlugins()

Calls the reset() function on all currently loaded Asset API plugins.