axis_global#

annotation.axis_global(p0: str) int#

Turns the global axis triad on or off.

The global axis’ origin is located at the centroid of the visible geometry. Its location is recomputed when the viewport is re initialized. The global axis will have ‘G’ at its origin to distinguish it from other axes.
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.annotation.axis_global("ON")
Returns:

zero on success, non-zero on error