bounds#

view.bounds(p0: str) int#

Toggles on or off the global bounds display

Bounds display will be visible in a viewport if this toggle is ON and the “viewport_bounds: visible ON” is also set.
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
#
# turn on bounds display but turn the bounds off for viewport 1
#
ensight.view.bounds("ON")
ensight.viewport.select_begin(1)
ensight.viewport_bounds.visible("OFF")
Returns:

zero on success, non-zero on error