massed_use_ballistic#

ptrace.massed_use_ballistic(p0: str) int#

If using massed particle restitution this sets a termination criteria. Only num_hits number of rebounds will be allowed at which time the particle trace will be terminated

Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.part.select_begin(2)
ensight.part.modify_begin()
ensight.ptrace.massed_buoyancy("OFF")
ensight.ptrace.massed_use_ballistic("ON")
ensight.ptrace.massed_ballistic_coef(0.01)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error