User guide

212
createTransaction()
It allows Katana to create assets in bulk. If createTransaction is implemented to return a custom transaction object,
then the object must have commit and cancel methods that take no arguments. The commit method should
submit the operations accumulated in the transaction to the Asset Repository. The cancel method should rollback
the publish operations accumulated in the transaction.
The transaction is passed by Katana to createAssetAndPath() and to postCreateAsset(). An example of this is in
the Render node.
NOTE: This method must be implemented but it can return None.
containsAssetId()
Reports if a string contains an Asset ID.
The string parameter uses this method prior to expanding the Asset IDs it may contain, when
getFileSequenceValue() is called.
getAssetDisplayName()
Is used to produce a short name for an asset. For example, a name that can be used in the UI.
This is used by the Alembic Importomatic plug-in and the LookFileManager.
getAssetVersions()
Lists the versions that are available for an asset as a sequence of strings.
This is used by the Importomatic, to allow users to choose an asset version in the Importomatic versions column and
by the CastingSheet plug-in.
getUniqueScenegraphLocationFromAssetId()
Provides a Scene Graph path for an asset, as a string, so that it can be placed easily in the Scene Graph, and is
currently used by the LookFileManager.
27 ASSET MANAGEMENT SYSTEM PLUG-IN API | ADDITIONAL METHODS