How to save changes in a custom window?(python Maya)

How to save changes in a custom window?(python Maya)

Hans_Redman
Advocate Advocate
3,383 Views
20 Replies
Message 1 of 21

How to save changes in a custom window?(python Maya)

Hans_Redman
Advocate
Advocate

How to save changes in a custom window?

I have a custom window that allows people to change the texture on the mesh. The problem is when I close the window and reopen it again, it won't save the changes (it will back to the default options). It can be confused sometimes. Does anyone know how to fix that by use python?
Many thanks

0 Likes
Accepted solutions (2)
3,384 Views
20 Replies
Replies (20)
Message 21 of 21

malcolm_341
Collaborator
Collaborator

Yeah that's mel, it creates a window with two radio buttons. At the top is two procedures one for each button. The state of the radio button is saved until you close Maya.

0 Likes