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

Need ability to determine which SdfFileFormat plugins support reading, writing, editing #2147

Closed
spiffmon opened this issue Jan 6, 2023 · 2 comments

Comments

@spiffmon
Copy link
Member

spiffmon commented Jan 6, 2023

Description of Issue

When integrating USD into any DCC that wants to provide Import, Export, and/or Save functionality, it would be quite helpful for building format selector GUI to be able to determine, of the potentially many FF plugins known to USD, which ones support reading, which writing (by which we mean all-at-once-export), and which support interactive editing. Otherwise, a user might, for example, select .mtlx for export, and have the operation fail mysteriously.

For vendors interested in this, do you have a strong opinion about whether asking the question should load all FF plugins (allowing the query to be answerable by the plugin code itself as part of the SdfFileFormat API), or whether it should be answerable without requiring any plugins to be loaded, requiring the plugin author to add the information to the plugin's plugInfo.json file?

Steps to Reproduce

System Information (OS, Hardware)

Package Versions

Build Flags

@guidoq
Copy link

guidoq commented Jan 6, 2023

I prefer having a way to specify this in the pluginInfo.json since that's where the extensions are registered. Also, this will allow UI widgets to be populated without loading all the plugins. Some of those plugins, if using 3rd party import/export libraries like TechSoft HOOPS, can be pretty big.

@spiffmon spiffmon changed the title Need ability to determine which SdfFileFOrmat plugins support reading, writing, editing Need ability to determine which SdfFileFormat plugins support reading, writing, editing Jan 6, 2023
@sunyab
Copy link
Contributor

sunyab commented Jan 9, 2023

Filed as internal issue #USD-7850

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

3 participants