View Full Version : how to hide/unhide objects via CA Slider?

04 April 2008, 06:21 PM
hi guys, here's a rookie question,

i have a ca slider that blend between fk and ik and i like to blend out(hide) all my fk controls objects when the slider is set to ik and vice versa

i tryed:

on slider changed val do
print val

well, i expected the actual value of the slider in the variable 'val' in listener window but nothing happens. pls help a hopelessly script noob

04 April 2008, 07:34 PM

i don't use hide/unhide command for this
put a XForm modifier on your controller, and wire Gizmo's XForm Scale controller to your IKFK variable

hope i can help you


04 April 2008, 06:39 AM
Hi sidvici,

the slider works fine for me.

rollout rol_test "Test"
slider testSlider "Test" type:#float range:[0,1,1]

on testSlider changed val do
$.visibility.controller.value = val
createDialog rol_test

04 April 2008, 10:04 AM

interesting idea, but i dont like to see the gizmo all the time when the object is selected.


thats what i am looking for, thank u very much!

CGTalk Moderation
04 April 2008, 10:04 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.