You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(creating placeholder issue for work I'm already doing and will submit PR for)
Description of Issue
Single-apply schemas provide a Get(prim) method and multiple-apply schemas provide a Get(prim, name) method, but if you want to iterate over all the applications on a prim and don't know the list of names, there's no concise solution.
UsdCollectionAPI has a bespoke GetAllCollections(prim) method, so I propose a generic GetAll(prim) method provided as part of the codegenTemplates
The text was updated successfully, but these errors were encountered:
(creating placeholder issue for work I'm already doing and will submit PR for)
Description of Issue
Single-apply schemas provide a
Get(prim)
method and multiple-apply schemas provide aGet(prim, name)
method, but if you want to iterate over all the applications on a prim and don't know the list of names, there's no concise solution.UsdCollectionAPI
has a bespokeGetAllCollections(prim)
method, so I propose a genericGetAll(prim)
method provided as part of thecodegenTemplates
The text was updated successfully, but these errors were encountered: