collections and prim path patterns.

   509   1   0
User Avatar
Member
22 posts
Joined: 12月 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
スタッフ
4447 posts
Joined: 7月 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