hi
i have 3 questions:
i create an animation in object mode
and want the interpolation between the keyframes as ‘constant’ so i add
bpy.ops.graph.select_all_toggle()
bpy.ops.graph.interpolation_type(type='CONSTANT')
but after these lines i get the following error
Operator bpy.ops.graph.select_all_toggle.poll() failed, context is incorrect
how can i prevent this ?
is there an alternative for
bpy.ops.transform.translate(value=(x, y, z))
?
instead of translating i would like to move the object to the ‘exact’ coordinate
is there a method for assigning immediately the new coordinates ?
how can i get the current coordinates of an object ?
thanks for your help
regardsc3*2