Scripting: How to set keys on an Object deformed on a curve via .Setkeys? 2004-02-17 - By Sebastian Faber
Back I try to set keys on the "Translation on Curve" parameter of an Object which is DEFORMED by a curve. I need to do that in Object-Mode because of the performance.
I can do this with an object wich is path contstrained to a curve - the code is like this:
Dim myFcurveArray(3) set oObj = oCube... set oObjPathCns = oObj.Kinematics.Constraints("PathCns").perc.Source myFcurveArray=array(1,20,2,21) oObjPathCns.SetKeys(myFcurveArray)
but now I want to do this with an object which is DEFORMED by a curve the code should similar look like this... - but it doesn't work
Dim myFcurveArray(3) set oObjCurveDeformed = oObj.ActivePrimitive.crvdeform.poscurve oObjCurveDeformed.Setkeys(myFcurveArray)
Any help would be very very usefull!!
Sebastian
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|