axis_y_numsubgrid#

viewport_bounds.axis_y_numsubgrid(p0: float) int#

Set the number of subgrid marks along the x/y/z axis

If the length attribute is set to rounded the resulting number of subgrid marks will be modified from the specified value.
Args:
p0:

‘num’ the number of subgrid marks to be used

Examples:
ensight.view.bounds("ON")
ensight.viewport.select_begin(0)
ensight.viewport_bounds.length("as_specified")
ensight.viewport_bounds.axis_x_numsubgrid(2)
ensight.viewport_bounds.axis_y_numsubgrid(2)
ensight.viewport_bounds.axis_z_numsubgrid(3)
Returns:

zero on success, non-zero on error