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 On Wed, Apr 24, 2019 at 11:50 AM <pety2001p...@gmail.com> wrote: > 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?? > > -- > 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_maya+unsubscr...@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 -- 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_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAKjYKQ%3DX1D2veBhuU%2BBLP1pvo3S7YO%3DSJNeo-44pR%3DOYKo4Ukw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.