Tguyus opened this issue on May 06, 2008 ยท 8 posts
markschum posted Wed, 07 May 2008 at 2:04 PM
for frame in range(scene.NumFrames()):
.........scene.SetFrame(0)
.........while 1:
I dont follow this bit , you seem to be looping through the frames with the while statement , and breaking out of it rather than arranging a clean end of the while , but then what is the frame in range loop doing ?
You seem to have only 1 name in copyparms 1 and 2 but thats ok, allows for expansion .
you can do stuff like
leftthighTo.Parameter(parmName).SetValue(leftthighFrom.Parameter("Bend").Value() * -0.01)
if you want .
getting the paramater allows you to test its existance before trying to set its value , but you arent doing that .