I am trying to call
bpy.ops.object.paths_calculate()
from an addon I am writing. It works except that the frame range that is calculated is always the same (1 to 250). I would like to be able to set this range before or during the call to paths_calculate. When I press the button on the UI that calls this operator a popup dialog appears that lets the user set the frame range. I looked at the sourcecode and this popup happens in the invoke function for this operator. Is there any way that I can call bpy.ops.object.paths_calculate() in a way that triggers its invoke?
Is there some other solution for intializing the operator properties before its execute is called?