AutoKey - Animation Converter(Dev)
Hi, i'm trying to remake AutoKey script, it's currently able to copy from one object to another - exact same XYZ position key's.
But problem is that i have a rigged skeleton with animation and it has about 30+ bones and script can't work with more then 2 objects( 1 without anim and 2 with anim)
This is what i was able to do
on alignSource pressed do ( ( sticks = #() append sticks $ ) for i = 1 to sticks.count do (global object1 = sticks[i] objNames = for obj in selection collect obj.name objNames = makeUniqueArray objNames uniObjs = objNames as string AlignSource.text = uniObjs ) ) on alignDest pressed do ( ( vecs = #() append vecs $ ) for i = 1 to vecs.count do (global object2 = vecs[i] objNames = for obj in selection collect obj.name objNames = makeUniqueArray objNames uniObjs = objNames as string alignDest.text = uniObjs ) ) )
The result is same(working with 1 selecetion on each menu) only change is that http://i.shotnes.com/a/09/zw1rkbus.ko3_522e5062a76e4.png
object's that where seleceted are displaying in text box.
But if there is more then 2 objects selected i get this error.
If you can help with it please, i waisted a lot of time on this issue and ruined a project because of time it taked.