How do you get a layer reference in another layer?
Posted: Mon Jul 31, 2006 6:57 am
I'm trying to get my bone master thingy into one darn script...
I am not that good at this stuff... and I tend to... not do it for a while and forget my knowledge (Need space for Sea Quest reruns).
Anyway... I have a layer script for the master bone layer. I need to check the whole document for other bone layers with an extension... like
I am looking at 7feet's SwitchSlave script for inspiration (closest example I have) but it uses LayerAsSwitch... and there doesn't seem to be one of "those" for a bone layer... so... I don't have an example for how to apply my bone master "stuff" to the layers that are found.
I think I've got a handle on looping through the list and finding those layers and such... I just need to know what to assign to a variable when it finds those other matching layers. This should be an array as well since there could be a bunch of layers controlled by one master.
-vern
I am not that good at this stuff... and I tend to... not do it for a while and forget my knowledge (Need space for Sea Quest reruns).
Anyway... I have a layer script for the master bone layer. I need to check the whole document for other bone layers with an extension... like
Code: Select all
controlled.ctrb
I think I've got a handle on looping through the list and finding those layers and such... I just need to know what to assign to a variable when it finds those other matching layers. This should be an array as well since there could be a bunch of layers controlled by one master.
-vern