axis_rgb#

viewport_bounds.axis_rgb(p0: float, p1: float, p2: float) int#

Set the color for the bounds axis

Args:
p0:

‘red_val’ red, green, blue color components (must be between 0.0 and 1.0)

p1:

‘grn_val’ red, green, blue color components (must be between 0.0 and 1.0)

p2:

‘blu_val’ red, green, blue color components (must be between 0.0 and 1.0)

Examples:
ensight.view.bounds("ON")
ensight.viewport.select_begin(0)
ensight.viewport_bounds.visible("ON")
ensight.viewport_bounds.axis_linewidth(1)
ensight.viewport_bounds.axis_rgb(1.0000e+00,0.0000e+00,1.0000e+00)
Returns:

zero on success, non-zero on error