Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple-apply schemas don't have a concise way to access all occurrences on a prim #1772

Open
robpieke opened this issue Feb 15, 2022 · 1 comment

Comments

@robpieke
Copy link
Contributor

(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

@jilliene
Copy link

Filed as internal issue #USD-7220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants