axis_x_labelaxisloc#

viewport_bounds.axis_x_labelaxisloc(p0: str) int#

Specifies the location for the x/y/z axis labels for bounds display

When label_location is “all”, the number of labels is controlled by the viewport_bounds: axis_x/y/z_numgrid command
Args:
p0:

‘label_location’

  • Can be any of the following:

  • none

  • all

  • beg_end

Examples:
ensight.view.bounds("ON")
ensight.viewport.select_begin(0)
ensight.viewport_bounds.length("as_specified")
ensight.viewport_bounds.axis_x_min(0.)
ensight.viewport_bounds.axis_x_max(1.)
ensight.viewport_bounds.axis_x_numgrid(5)
ensight.viewport_bounds.axis_x_labelaxisloc("beg_end")
Returns:

zero on success, non-zero on error