User guide

211
reset()
Triggered when the user requests that Katana flush its caches. This is used to clear local Asset ID caches to allow
retrieval of the latest version of an asset.
resolveAllAssets()
Used for expanding Asset IDs in a string containing a mix of Asset IDs and arbitrary tokens, such as a command. It
takes a single string parameter which may contain one or more Asset IDs and replaces them with resolved file paths.
resolveAllAssets() is used by:
Python expressions, which have access to a function called assetResolve() which resolves a string of Asset IDs
split by white space.
String parameters, which has a method called getFileSequenceValue() that returns the value of the string with
automatic expansion of Asset IDs into file paths.
ImageWrite node postScripts. An ImageWrite node can execute post scripts commands. The Asset IDs in these
commands are automatically expanded.
resolvePath()
This resolves an Asset ID and frame number pair, where time is a factor in determining the asset resolution (such as a
sequence of images). resolvePath() is called in place of resolveAsset() whenever time is a significant factor in asset
resolution.
resolvePath() is used extensively for resolving procedural arguments in render plug-ins. It is used by the Material
and RiProcedural resolvers, and the Look File Manager. It can be accessed in Attribute Scripts via the AssetResolve()
function in an Attribute Script Util module.
resolveAssetVersion()
This accepts an Asset ID that references a tag or meta version such as latest or lighting and returns the version
number that it corresponds to. It also accepts an Asset ID that contains no version information and an optional
versionTag parameter, and produces the version number that corresponds to the versionTag argument.
This is used by the LookFile resolver, Katana in batch mode, the Casting Sheet plug-in, and the Importomatic user
interface.
27 ASSET MANAGEMENT SYSTEM PLUG-IN API | ADDITIONAL METHODS