I need a script that when I click on a button it shows me all the translational and rotational key frames of a selected object in a text file.
Is this hard to do?
Thanks for your help..
Forum topic · Scripts Wanted
Show Keyframe numbers in a text file?
By cuatcside · 2013-11-04
Description
Comments (1)
.
miauu · 2013-11-04
May be not the best solution, but...
(
curObj = selection[1]
keys = curObj.position.controller.keys
objNumKeys = numKeys curObj.position.controller
keysArr = #()
for i = 1 to objNumKeys do
(
frame = (keys[i].time as string)
intFrame = (subString frame 1 (frame.count - 1 )) as integer
append keysArr intFrame
)
format "keysArr: % \n" keysArr
)