Attribute Holder controlling hide unhide commands!
I'm really in trouble about this rig I'm building. I need to make an on off button that hides and shows specific objects within an attribute holder of another object. I searched for 3 hours and couldn't come up with something.
it can be a name tag that can differ them from other objects. Like $hhh*
the closest I achieved was this and it didn't work.
ca=attributes EXPRESSIONCTRL ( parameters EXPRESSIONParameter rollout:EXPRESSIONrollout ( ) rollout EXPRESSIONrollout "Expressions I/O" ( button btn_I "On" align: #left across:3 button btn_O "OFF" align: #right across:3 ) on btn_I pressed do ( global unhide $hhh* ) on btn_O pressed do ( global hide $hhh* ) ) custAttributes.add $.modifiers ca
I'm on my babysteps however I need this to be done due to the deadline
I would appriciate if anyone could help.