Message 1 of 2
The LoadSaveAnimation Interface

Not applicable
10-11-2007
01:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello guys,
I can't seem to understand the proper way to pass attributes to the LoadSaveAnimation Interface,
Specifically the the saveAnimation method, it works fine when I operate it with it's default attributes,
But what I don't know how to do is to save animation with the 'Animated Tracks' attribute as false (unchecked), and the 'Keyable tracks' attribute as true (checked).
I tried:
LoadSaveAnimation.saveAnimation ThePath TheNodeArray #() #() animatedTracks:false keyableTracks:true
(Where 'ThePath' is the URL string and 'TheNodeArray' is the array of nodes)
It performs the method but when there is a node with no animation it prompts "No Tracks To save!"
Something that shouldn't happen if the 'Animated Tracks' attribute is false and the 'Keyable tracks' attribute is true.
I also tried to create string arrays with the names of the attributes and the values but just don't get how it should be written.
Thanks for any reply,
Oded
I can't seem to understand the proper way to pass attributes to the LoadSaveAnimation Interface,
Specifically the the saveAnimation method, it works fine when I operate it with it's default attributes,
But what I don't know how to do is to save animation with the 'Animated Tracks' attribute as false (unchecked), and the 'Keyable tracks' attribute as true (checked).
I tried:
LoadSaveAnimation.saveAnimation ThePath TheNodeArray #() #() animatedTracks:false keyableTracks:true
(Where 'ThePath' is the URL string and 'TheNodeArray' is the array of nodes)
It performs the method but when there is a node with no animation it prompts "No Tracks To save!"
Something that shouldn't happen if the 'Animated Tracks' attribute is false and the 'Keyable tracks' attribute is true.
I also tried to create string arrays with the names of the attributes and the values but just don't get how it should be written.
Thanks for any reply,
Oded