Notifications
Clear all

[Closed] LoadSaveAnimation Core Interface

I am trying to understand the LoadSaveAnimation Core Interface and found the reference is a bit unclear ,so I have some questions(better explain the whole page if possible:)):

What is this for :LoadSaveAnimation.saveAnimationNodeAnim ? what does <&Interface array>nodeAnims mean ?

What does LoadSaveAnimation.setUpAnimsForSavemean, why prepare the node and how?
also includePB2s:<boolean>stripLayers:<boolean> ???

Why it is so hard ?or learning dot net harder as I can’t write my custom tool …for now?

Thank you

1 Reply

I have found from the listener a macro script function that save animation for a specific controller.
(by the way one is supposed to find the direct commands in the listener instead of searching for macro scripts that store functions in another script or whatever)

it uses this function:
[left]
[/left]

[left]<filename>LoadSaveAnimation.saveAnimationDlgFromAnims <&maxObject array>anims <&maxObject  array>clients <&integer array>subNums
[/left]
 [left]anims  is In and Out parameter
[/left]
 [left]clients  is In and Out parameter
[/left]
 [left]subNums  is In and Out parameter
[/left]

[left]
[/left]
Of course it uses methods related to the track view but I’m not so I tried to use other methods
for saving the animation of the x position:

anims =is the controller it self :$.position.controller[1].controller
clients=the parent of the controller=$.position.controller
subNums=1

this I can do, I think
But that:

for saving the animation of the radius(I aim for custom attributes):
anims =is the controller it self :$.baseobject[1].controller
clients=the parent of the controller=ReferenceTarget:ParamBlock
subNums=1

I got to the point that I do not know what i am asking.