Community
W = c.Weight
W.Animatable = True
W.Key ()
print dir (W)
WanimNodes = W.GetAnimationNode ().Nodes
for WNodes in WanimNodes:
WCurves = WNodes.FCurve
for i in WCurves.Keys:
i.Interpolation = FBInterpolation.kFBInterpolationConstant
i.TangentConstantMode = FBTangentConstantMode.kFBTangentConstantModeNext
Can't find what you're looking for? Ask the community or share your knowledge.