threshold_max#

shock.threshold_max(p0: float) int#

Specify the maximum/minimum threshold limit under which to filter the threshold value of the selected shock part(s).

Max must be greater than the min value, and be a valid threshold variable value.
Args:
p0:

‘threshold_value’ maximum/minimum threshold variable range limit below/above which to threshold the shock part

Examples:
ensight.part.select_begin(8)
ensight.part.modify_begin()
ensight.shock.threshold_min(0.1)
ensight.shock.threshold_max(10.0)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error