Delete Object parameters in the key filter
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
Comments
Awesome. Thank you Anubis :)
Awesome. Thank you Anubis :)
/ Raymond
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!
my recent MAXScripts RSS (archive here)
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:
/ Raymond
Anubis: in your example it
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 :)
/ Raymond
deleteKeys is mapped function
deleteKeys is mapped function and apply recursively to all the nested controllers. Shortly...
for i in selection do deleteKeys i
my recent MAXScripts RSS (archive here)
Is there a better way to do
Is there a better way to do this?
/ Raymond