Hope that the title is clear...well...lets start...

Since the ICE solution is not working for me ( because of the non
possibility to set kine.local that I'm not able to solve ) I'm building a
rig that will be shared among different models.
I have two models:
- ModelA will have all the animations
- ModelB is linked to the nulls inside ModelA via expressions, so I can
modulate ( using kine.local multiplied by a custom parameter value ) in
order to modulate its animation, so if the null in ModuleA moves by 10
units I can modulate the null in ModelB by multiplying it by the custom
parameter value, so I can move it up to 20 units

Now I need to constraint those nulls to my custom rig, and it requires
multiple steps in order to get it done properly, as follow:
- Get one of the null from ModelB, lets call it "Mover1"
- Match all the transforms on a null on my custom rig called "animated1" (
Transforms>Match all transforms )
- Constrain>position of "Animated1" to "Mover1"
- With the "Mover1" selected, under constrain pick the "Parent" button and
pick another null

Since I have to repeat it for 30 nulls I would like to automate all those
operations:
I can clearly see that on the bottom left of the screen all the things that
I'm doing are "transformed" into VBScripts lines, so basically I have the
operation that I just did in script form

Now, I was thinking to do the constraint operations for all the nulls once,
then get all the script informations from the VBScript editor, and
"package" it so next time I need to work on another model ( with the same
names and scene structures ) I can simply run that script and have all the
constraint done with a single button

I can imagine that is not just "copy&paste" whatever is into the VBScript
editor, so do you have some suggestions on how can I transform all those
operations that I ipotetically did into a working script?

Thanks

Reply via email to