ScriptSpot

Forum topic · General Scripting

Copy and past controller

By Any · 2013-01-26

Description

In scene present two box
The $box01 is animation(position,rotation, scale)
The $box02 is static.
How I can copy controller from $box01 and past it on $box02 7

Comments (3)

Barigazy, Thank you

Any · 2013-01-26

Barigazy, can you take me reference in MaXScript Help where explain
that string " b2[3][i].track "

like this

barigazy · 2013-01-26


b1 = $Box001
b2 = $Box002
--instance controllers
for i = 1 to 3 do b2[3][i].track = b1[3][i].track
--copy controllers
for i = 1 to 3 do b2[3][i].track = copy b1[3][i].track