collections and prim path patterns.

   373   1   0
User Avatar
Member
20 posts
Joined: Dec. 2016
Offline
Hello,

trying to understand how to i can use prim patterns to do deeper searches for collections with out resorting to python.

All of our assets have a collections node pathed at `{assetname}/collections` , all of our assets are component kind.

For example, we have a street light asset, the light globe, is in the collection called lights.


When in a shot context, is there way that i can get all the `%kind:component`, and the `lights` collection that some of the assets may have?


Cheers

Kym
User Avatar
Staff
4399 posts
Joined: July 2005
Offline
`%*/collections/lights` should work, though it won't take advantage of the fact that the `collections` prim will only appear as a child of a component kind, so the search may take a while. If you're using this result often, you might want to make a meta-collection at `/collections.lights`...
  • Quick Links