threshold_value#

shock.threshold_value(p0: float) int#

Specify the threshold value by which to filter the elements from the selected shock part(s).

This value is automatically set to a value that should approximate the valid region in which the shock part should exist. Although for some models, further refinement and adjustment of the threshold min/max values is required.
This value must lie within the threshold variable interval [threshold_min, threshold_max].
Args:
p0:

‘threshold_value’ variable value by which to apply the threshold filter to the shock elements

Examples:
ensight.part.select_begin(8)
ensight.part.modify_begin()
ensight.shock.threshold_value(5.0000e-01)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error