method#

shock.method(p0: str) int#

Specify the algorithm to use for the computation of the shock part.

The Surface method requires the specification of a shock threshold variable. The Region method does not require the specification of a shock threshold variable.
Args:
p0:

‘algorithm’

  • region

  • surface

Examples:
ensight.part.select_begin(8)
ensight.part.modify_begin()
ensight.shock.method("region")
ensight.part.modify_end()
Returns:

zero on success, non-zero on error