Notifications
Clear all

[Closed] custattributes+ floater rollout

which is exactly what’s in that other thread (except that it’s just a button instead of a toggle-state).

If you want the rollout to not display at all, I think you would have to either…

A. make two rollouts
One rollout contains the button to open the other rollout
The other rollout you remove (removeRollout) as soon as it opens (on <rollout> open do ( ) ). I don’t think you can prevent it from -at all-, so removing it as soon as it opens would be your best bet. You can define the rollout as being rolledUp initially to minimize UI flickering.

B. move UI elements around
You only have 1 rollout with a given size to match just the button and all other UI elements moved out of the client area (say, negative coordinates [-1024,-1024] (not sure how that ends up displaying in e.d. the command panel). When you press the button, remove that rollout, create it as a new dialog with the proper size to fit all UI elements, and move all UI elements to where they are supposed to be.

i think i should post this before , here s within attachments that what i want to achieve
the way that worked fine is hidding spinners and sliders but:
the floater controllers dont work except the object holding the attributes is selected
i wish that the image will declare wat desired , thank you everybody for support and follow up!

ah… well in that case, just don’t select the object / go to the modifier panel, and instead open the rollout directly yourself.


-- using PEN's example above, use this:
createDialog b.modifiers[1].paramsR

-- and ignore this:
-- max modify mode
-- select b

no no thats not the problem the floater opens and i coulsd wire watever the controllers the effect of the spinner in the floaters poped up takes place only when the attributes holder object is selected and this makes difference between the real spinner no and the real one

 PEN

I don’t follow what you are after then?

look pen, i made for example :fk/ik blend spinner on ordinary controller for hand for example
i wanted to make this floater to be the place wher the whloe characters controllers are within for rapid acceess for animator so as not to go for hand controller to find tha spinner that blends fk ik instead he has the option to go throgh this via the poped up floater
the problem is to make the floater spinner to control the actual ik fk spinner that only takes place only when the object holding the custattributes is selected , that may annoy the animator i believe , sorry for being vague!

 PEN

What I have there will work. Wire to the parameter in the param block, float the UI and the spinner in the floater will still control the parameter. I do this all the time.

ok, but in my case i wire soinner to control another spinner that already controls ik fk issue !
i make the wire is two ways i.e mutual so one spinner changes the other does changes this thng exactly doesnt happen unless u r choosing the object holding the attribtes of the floater
anyway i think i wil give up and make the parameters controlled from one place rather than many ones unless u know something better!

 PEN

I still don’t completely follow what you are trying to do. How about a diagram.

i really appreciate ur interest to help i will 4 sure send a detailed pics asap coz i m logging via my cell phone as i am moving around nowadays
But u can read topic by viro instance ca floater i think that he has same trouble
Thanks pen!

Page 2 / 3