2011-11-02 74 views

回答

3

我想到了代碼! :)

import bpy 
ob=bpy.context.object 
ob.data.shape_keys.key_blocks["eye"].keyframe_insert("value",frame=1) 
for shape in ob.data.shape_keys.key_blocks: 
    if (shape.name=='eye'): 
    shape.value=1.0 
    ob.data.shape_keys.key_blocks["eye"].keyframe_insert("value",frame=10)