clipping#

view.clipping(p0: str) int#

Toggles on or off the auxiliary clipping plane

When auxiliary clipping is on, objects on the negative side of the plane tool are not drawn. By toggling on or off parts individual auxiliary clipping attribute (part: clip), some parts can be clipped while others are not.
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.tools.plane("ON")
ensight.view.clipping("ON")
# WARNING: following line includes OBSOLETE call (ensight.part.select_partname_begin).
ensight.part.select_partname_begin("(CASE:Case 1)ami-x hypersonic body")
ensight.part.modify_begin()
ensight.part.clip("OFF")
ensight.part.modify_end()
ensight.view_transf.function("plane")
ensight.view_transf.rotate(106.516396,0.000000,0.000000)
ensight.view_transf.function("global")
Returns:

zero on success, non-zero on error