axis_z_sgridtype#

viewport_bounds.axis_z_sgridtype(p0: str) int#

Set the line type for the x/y/z subgrid bounds

If “grid”, the line type is specified via the viewport_bounds: subgrid_linetype command
Args:
p0:

‘grid_type’

  • Can be any of the following:

  • none

  • grid

  • tick

Examples:
ensight.view.bounds("ON")
ensight.viewport.select_begin(0)
ensight.viewport_bounds.axis_x_sgridtype("solid")
ensight.viewport_bounds.axis_y_sgridtype("none")
ensight.viewport_bounds.axis_z_sgridtype("tick")
ensight.viewport_bounds.subgrid_linetype("solid")
Returns:

zero on success, non-zero on error