Asset Types and Contexts

The following asset types are available to the AssetAPI module:

Katana project

kAssetTypeKatanaScene

Macro

kAssetTypeMacro

Live Group

kAssetTypeLiveGroup

Image

kAssetTypeImage

Look File

kAssetTypeLookFile

Look File Manager Settings

kAssetTypeLookFileMgrSettings

Alembic Files

kAssetTypeAlembic

ScenegraphXML Files

kAssetTypeScenegraphXml

Casting Sheets

kAssetTypeCastingSheet

Attribute Files

kAssetTypeAttributeFile

F Curves

kAssetTypeFCurveFile

Gaffer Light Rig

kAssetTypeGafferRig

Scene Graph Bookmarks

kAssetTypeScenegraphBookmarks

Shaders

kAssetTypeShader

In addition, the following list of contexts is available inside the AssetAPI module, and passed as hints to the asset browser whenever it is invoked:

kAssetContextKatanaScene.

kAssetContextMacro.

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.