-
Notifications
You must be signed in to change notification settings - Fork 202
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
EMSUSD-1571 Manipulate prim schemas #4000
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pierrebai-adsk
added
adsk
Related to Autodesk plugin
ufe
Related to UFE component in Maya
ufe-usd
Related to UFE-USD plugin in Maya-Usd
labels
Nov 14, 2024
pierrebai-adsk
force-pushed
the
bailp/EMSUSD-1571/add-schemas-to-prims
branch
from
November 14, 2024 21:46
dde3c83
to
6227db4
Compare
pierrebai-adsk
force-pushed
the
bailp/EMSUSD-1571/add-schemas-to-prims
branch
from
November 14, 2024 23:01
6227db4
to
9e4d221
Compare
pierrebai-adsk
force-pushed
the
bailp/EMSUSD-1571/add-schemas-to-prims
branch
from
November 15, 2024 14:26
9e4d221
to
1262b13
Compare
pierrebai-adsk
force-pushed
the
bailp/EMSUSD-1571/add-schemas-to-prims
branch
from
November 15, 2024 15:49
1262b13
to
468ef4a
Compare
pierrebai-adsk
force-pushed
the
bailp/EMSUSD-1571/add-schemas-to-prims
branch
from
November 15, 2024 15:57
468ef4a
to
a95008b
Compare
pierrebai-adsk
force-pushed
the
bailp/EMSUSD-1571/add-schemas-to-prims
branch
from
November 15, 2024 17:46
a95008b
to
4f65861
Compare
pierrebai-adsk
force-pushed
the
bailp/EMSUSD-1571/add-schemas-to-prims
branch
from
November 15, 2024 18:43
4f65861
to
247b885
Compare
pierrebai-adsk
force-pushed
the
bailp/EMSUSD-1571/add-schemas-to-prims
branch
from
November 15, 2024 19:41
247b885
to
148ddef
Compare
pierrebai-adsk
force-pushed
the
bailp/EMSUSD-1571/add-schemas-to-prims
branch
from
November 15, 2024 20:41
148ddef
to
2bd4a44
Compare
Add new UFE helper functions: - Add the getKnownSchemas helper function to retrieve all known schemas. - Schemas are categorized by single and multi apply. - Schemas are described by their plugin name and schema type name. - Add the applySchemaToPrim and applyMultiSchemaToPrim helper functions. - Add a getPrimAppliedSchemas helper function to retrieve the applied schemas of a prim. - Add a getPrimsAppliedSchemas helper function to get all schemas of a set of prims. - Add a findSchemasByTypeName helper function to find a schema. - Expose the helper functions to Python. Add unit tests: - Add a unit test to verify the schemas helper function. - Add unit tests for the schema application. Add a command to manipulate prim schemas: - Add a mayaUsdSchema command. - Add undo/redo support to the schema command. - Document the mayaUsdSchema command and its flags in the Readme.md. - The -ufe flag to specify the prim UFE paths. - The -app (-appliedSchemas) flag to retrieve the already applied schemas. - The -sch (-schema) flag to specify which schema to add to the prims. - The -in (-instanceName) flag to specify the instance name of a multi-apply schema. - The -sas (-singleApplicationSchemas) flag to retrieve the list of known single-apply schemas. - The -mas (-multiApplicationSchemas) flag tto retrieve the list of known multi-apply schemas. - Add unit tests for the schema command. - Work around the bug in Maya 2022 Linux regarding parsing multi-use flags in commands executed from Python. Add schemas menu: - Add a "Add Schema" menu item in the AE "Attributes" menu. - Create sub-item for each schema, organized by plugin. - Cleanup and prettify the plugin and schema names. - Sort plugin and schema names to have consistent menu item order. - Ask the user for the multi-apply schema instance name. - Adjust callback metadata to have a nice undo entry name.
pierrebai-adsk
force-pushed
the
bailp/EMSUSD-1571/add-schemas-to-prims
branch
from
November 15, 2024 21:40
2bd4a44
to
98018a9
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add new UFE helper functions:
Add unit tests:
Add a command to manipulate prim schemas:
Add schemas menu: