# 创建动画曲线并加帧
import pymel.core as pm
import maya.api.OpenMayaAnim as oma2
anim_cv = oma2.MFnAnimCurve()
anim_cv.create(7)
anim_cv.addKey(0, 0)
anim_cv.addKey(10, 10)
anim_cv = pm.PyNode(anim_cv.name())
上一篇
mayaUI与pyside的结合
2024-05-10
下一篇
mayaAPI
2024-05-10