Workaround for warning of Maya 2027 USD Variant Manager

If you are using Maya 2027’s latest feature – USD Variant Manager, sometime you may encounter a warning looks like

‘get_variant_editor_component_description’ is not defined

This may cause USD Variant Manager failed to update when a USD proxy node is removed.

You can fix it manually by updating maya_component_manager.py in the warning message from.

from usd_component_creator_plugin import (
    update_variant_editor_window,   
) 

to

from usd_component_creator_plugin import (
    update_variant_editor_window,
    get_variant_editor_component_description,
    find_maya_usd_proxy_shapes_for_filename
) 

Now, the USD Variant Manager should be updating properly when a USD proxy node is removed. Enjoy it!


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading