subgrid_rgb#
- viewport_bounds.subgrid_rgb(p0: float, p1: float, p2: float) int #
Set the color for the bounds subgrid lines
- 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.subgrid_linewidth(2) ensight.viewport_bounds.subgrid_rgb(0.5,0.5,0.5)
- Returns:
zero on success, non-zero on error