Hello,
It's probably just me fumbling around and not finding it in max script help file, but does anyone know how to get deleted all the "object parameters" on the selected object that we find in the key filter?
If anyone can find something in the help file, please write what I should look for: o)
Sincerely,
Raymond H. Ingebretsen
By
Comments (6)
Comment policy
Awesome. Thank you Anubis :)
Aha, now your question is clear
Well, as you need custom recursive function to get all nested properties, doing this with getPropNames() w'd be the hard way, better is to loop through subAnims.
But as the deleteKeys() do this for you, the most easy way w'd be to call it on desired subAnim ;)
Cheers!
I know these methods:for i
I know these methods:
But i cant find any easy way to do this with obj. parameters.
To make things more sensible and show what I'm trying to do:
Anubis: in your example it deletes alle keys on selectet object. In my case i just want to remove the animated object parameters and not the scale, move and rotate on the object. Thank you anyway :)
deleteKeys is mapped function and apply recursively to all the nested controllers. Shortly...
Is there a better way to do this?