step_by#

savegeom.step_by(p0: int) int#

Specify the increment step by which to stride the time steps in exporting the selected part(s) and active variable(s).

Args:
p0:

‘increment’ increment to stride the time steps in the range of the beginning and ending time steps

Examples:
ensight.part.select_all()
ensight.savegeom.format("case")
ensight.savegeom.binary("ON")
ensight.savegeom.single_file("OFF")
ensight.savegeom.begin_step(0)
ensight.savegeom.end_step(16)
ensight.savegeom.step_by(1)
ensight.savegeom.save_geometric_entities("/tmp/file_prefix")
Returns:

zero on success, non-zero on error