min_steps#
- ptrace.min_steps(p0: float) int #
Sets the minimum number of integration steps to perform in each element
A higher number increases the accuracy of the integration, but is more compute intensive and produces more segments to display.- Args:
- p0:
‘num’ desired minimum number of integration steps per element (range is 2 to 20)
- Examples:
# # Selecting the trace(s) # ensight.part.select_begin(7,8) # # Modifying attributes for the two selected trace parts # (min_steps being modified in here) # ensight.part.modify_begin() ensight.ptrace.min_steps(3) ensight.ptrace.min_angle(3.0000e+00) ensight.ptrace.max_angle(2.0000e+01) ensight.ptrace.rot_angle(3.2000e+01) # # Updates the traces with the modified attributes # ensight.part.modify_end()
- Returns:
zero on success, non-zero on error