lxdengar
07-03-2007, 07:09 PM
Hi All,
I tried looking through the forum for this, but since search is busted again (whee!), I thought I'd ask the question.
I have a mel script which can create 3 particle systems. The systems can be created in the dialog by hitting buttons at the top, which in turn creates the system, or if it already exists, calls a getAttr proceedure.
examples of the type of behavior are:
1.) User clicks on the "Particle 2" button, which creates the Particle 2 set, then clicks the "Particle 1" button. The UI updates with the Particle 1 System's attributes.
2.) The user accidently closes the dialog and calls it again, and it updates with the system attributes.
I'm just unsure about how I can get the values found by the GetAttr statements back into the various fields and sliders within my UI (without calling an edit to each and every control). Is there a way to globally update the UI?
Thanks for helping out a UI newb.
I tried looking through the forum for this, but since search is busted again (whee!), I thought I'd ask the question.
I have a mel script which can create 3 particle systems. The systems can be created in the dialog by hitting buttons at the top, which in turn creates the system, or if it already exists, calls a getAttr proceedure.
examples of the type of behavior are:
1.) User clicks on the "Particle 2" button, which creates the Particle 2 set, then clicks the "Particle 1" button. The UI updates with the Particle 1 System's attributes.
2.) The user accidently closes the dialog and calls it again, and it updates with the system attributes.
I'm just unsure about how I can get the values found by the GetAttr statements back into the various fields and sliders within my UI (without calling an edit to each and every control). Is there a way to globally update the UI?
Thanks for helping out a UI newb.
