Notifications
Clear all
[Closed] paste instanced controller
May 27, 2009 10:22 am
hello
I am trying to write a script that copy a controller and paste it (with the instance option) to an second selected node
a = selection[1]
b = selection[2]
i = a[3][2].controller (for an euler rotation controller)[b]
j = b[3][2].controller
[/b]But i can’t find the instance copy controller maxscript command like
“copy i to j”
how can i do that ?
Arno
arno3d.blogspot.com
2 Replies
1 Reply
To instance a controller, you just make a direct reference:
b[3][2].controller = a[3][2].controller
For a copy, you’d use:
b[3][2].controller = copy a[3][2].controller
May 27, 2009 10:22 am
So simply like that ! incredible
It is much more faster than I did before : copying/paste the controllers in the trackview.
thank you
Arno
arno3d.blogspot.com