Custom adaptor not triggering when exporting a skeleton with a self-generated API #2621
Unanswered
BeardedPlatypus
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I have a question regarding exporting skeletons with a self-generated API, which I hope someone can help me with. I am completely new to Maya and USD scripting so I hope this is just a matter of me not having a complete understanding of the concepts involved.
Basically, I have the following (simplified) set up:
I will paste all the code at the bottom of this post
HelloWorldAPIschemaHelloWorldAPISchemaApiAdaptorregistered to trigger on the combination of ajointmaya object and theHelloWorldAPISchemaApiAdaptorregistered to trigger on the combination of ajointmaya object and theHelloWorldAPINow I would expect that when I run the import statement, the importer adaptor would get triggered, and when I run the export statement on the data that was imported, the exporter adaptor would get triggered.
When running the code however, only the importer gets triggered, and the exporter is always ignored. I am curious what I am doing wrong, or how this could be solved.
For reference, I am using the 0.19 release with Maya 2022.
Edit: When trying to export the same
HelloWorldAPIon a mesh, I don't have any problems, and the exporter would get properly called. So far I only have encountered this behaviour when dealing with skeletons/joints.I hope this clearly explains my question, if any additional information is required, I'd gladly provide it!
Python script
USD file with a skeleton with
HelloWorldAPIskel.zip
Schema definition of the
HelloWorldAPIschema.zip
All reactions