active#

part.active(p0: str) int#

Activates or deactivates the currently selected part(s).

When a part is deactivated, the data for that part will not be updated from the server on any future timestep changes, until the part is activated again
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.part.select_begin(1)
ensight.part.modify_begin()
ensight.part.active("OFF")
ensight.part.modify_end()
Returns:

zero on success, non-zero on error