I'm trying to automate some processes. How do I "Reset" a "Stretch To" constraint in Blender, using python scripting. I copied the code that appeared in the "Info" window after executing the action manually. but when I used
bpy.ops.constraint.stretchto_reset(constraint="Stretch To", owner='BONE')
it does not work. Is there specific code references I need to import? (I.E.: import bpy, import mathutls , etc.) Or is there some qualifiers I need to add? Maybe about the specific bone? If so Where?