refresh attribute editor

23 views
Skip to first unread message

pety20...@gmail.com

unread,
Apr 24, 2019, 2:50:37 PM4/24/19
to Python Programming for Autodesk Maya
hi.
I designed my Node interface(in AEmyNodeNameTemplate.mel file)
I want to refresh the my node attribute editor when user change the special Enum attribute(Some Layout will be hidden)
How can i do this??

Alon Zaslavsky

unread,
Apr 29, 2019, 6:22:44 PM4/29/19
to python_in...@googlegroups.com
Not sure I understand your question.
Change a GUI when enum is changed or change another attribute when enum is changed?

If it's GUI you can do it with PyQt by having different layouts turned on based on an attribute change event.
If it's attribute do it with a direct connection would be easiest.

Hope this helps

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/35acbe20-bd40-40f2-a46a-8eca93f856f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Alon Zaslavsky
Puppet TD
Reply all
Reply to author
Forward
0 new messages