-
Notifications
You must be signed in to change notification settings - Fork 2
getRelatedAssetId
Peter Shinners edited this page Apr 18, 2021
·
4 revisions
void getRelatedAssetId(
const std::string& assetId,
const std::string& relation,
std::string& ret
)Find a related assetId from an arbitrarily defined relationship.
This allows Katana to find related assets from an existing assetId.
The relation argument is an arbitrary string. The only value Katana will
provide is "argsxml" to help discover parameter information for procedurals that
come from assetIds.
If the relationship is unknown, set ret to an empty string.
Katana will fall back on its default behavior for "argxml" when ret is empty.
This means Katana will search for the files it needs relative to the file path
for the shared library. When this plugin does provide a value in ret, Katana
will resolve the results and never fallback on relative file searches.
Resolve
containsAssetIdgetAssetVersionsisAssetIdresolveAssetresolveAllAssetsresolvePathresolveAssetVersion
Publish
Attributes
buildAssetIdgetRelatedAssetIdgetAssetAttributesgetAssetFieldsgetAssetIdForScopesetAssetAttributes
Nodegraph