User guide

210
kAssetContextLiveGroup.
kAssetContextImage.
kAssetContextLookFile.
kAssetContextLookFileMgrSettings.
kAssetContextAlembic.
kAssetContextScenegraphXml.
kAssetContextCastingSheet.
kAssetContextAttributeFile.
kAssetContextFCurveFile.
kAssetContextGafferRig.
kAssetContextScenegraphBookmarks.
kAssetContextShader.
kAssetContextCatalog.
kAssetContextFarm.
A constant to hold the relationship between assets has been added. This constant is used when the
getRelatedAssetId() function is called:
kAssetRelationArgsFile.
Accessing an Asset
The resolveAsset() method must be implemented in order for Katana to gain access to the asset itself.
It takes an Asset ID as its first argument and returns a string containing a file path to the asset. This handle is a path
to a file which can be read from and written to.
NOTE: An Asset plug-in must not attempt to use any NodegraphAPI, user interface, or callback
modules when resolving an Asset ID. This is because Asset ID resolution occurs at render time, when these
modules are not available. Reading from the Scene Graph while writing to it will result in undefined
behavior.
Additional Methods
In addition to the core methods that need to be implemented by an Asset plug-in there are additional methods,
many of which are variants.
27 ASSET MANAGEMENT SYSTEM PLUG-IN API | ACCESSING AN ASSET