f3derico
01-07-2008, 08:58 AM
hi, I'm new to maxscript and i've this problem:
I've an object with position constraint and some target, so when i press a button I need to addkey to every weight. I found in the reference the "AddNewKey" but when I use it in this way:
addnewkey $.pos.controller.weight[1] currenttime
it returns undefined. where's the mistake? it's not a controller? for example if I wire weight to another track I can use addnewkey.
I've an object with position constraint and some target, so when i press a button I need to addkey to every weight. I found in the reference the "AddNewKey" but when I use it in this way:
addnewkey $.pos.controller.weight[1] currenttime
it returns undefined. where's the mistake? it's not a controller? for example if I wire weight to another track I can use addnewkey.
