axis_y_numgrid#

viewport_bounds.axis_y_numgrid(p0: float) int#

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

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

‘num’ the number of grid marks to be used

Examples:
ensight.view.bounds("ON")
ensight.viewport.select_begin(0)
ensight.viewport_bounds.axis_linewidth(1)
ensight.viewport_bounds.axis_rgb(1.0000e+00,0.0000e+00,1.0000e+00)
ensight.viewport_bounds.length("as_specified")
ensight.viewport_bounds.axis_x_numgrid(5)
ensight.viewport_bounds.axis_y_numgrid(3)
ensight.viewport_bounds.axis_z_numgrid(7)
Returns:

zero on success, non-zero on error