thinkcooper opened this issue on Apr 10, 2012 ยท 94 posts
stewer posted Wed, 18 April 2012 at 11:11 AM
Quote - Do PLUS/MINUS/MULT/DIVIDE also use SetDelta() to specify the operand value? I see SetDelta() in the list and InsertKey(). Also, is there any sample on how to create a python function for the value curve? kValueOpTypeCodePYTHONCALLBACK .. this looks interesting.
kValueOpTypeCodePYTHONCALLBACK is just the constant for Python controlled parms that have been there since Pro Pack, I think. You can see an example of such a callback in BendArmsByFrame.
All the other ones behave pretty much just like ERC/Dependent Parms in a PZ3 file. PLUS/MINUS/MULT/DIVIDE use a second parm as operand, DELTAADD uses SetDelta(). I'll have to do some digging to see if I still have some testing scripts around. to give a sample for InsertKey().
-Stefan