|
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
|
|
|
|
yes i am having the same problem right now as well… anyone know if there’s any new news about this one?
Oded Erell 11 October 2007 12:22 PM
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
- Howard Hsu http://www.linkedin.com/in/howardab234
Now using:
Windows XP 64 Pro v2003 SP2 (yes XP64 is still around)
Core 2 Quad CPU Q6600 @ 2.4GHz
2GB RAM
NVidia GeForce 8800 GTX
Max 2008 x64
Maya 2008 64
MotionBuilder 7.5
|
|
|