border_rgb#

viewport.border_rgb(p0: float, p1: float, p2: float) int#

Set the color for the viewport border.

By default the border color is white.
Used only if viewport: border_visible is ON.
Args:
p0:

‘red_val’ red, green, blue color component values given in I[0.,1.]

p1:

‘grn_val’ red, green, blue color component values given in I[0.,1.]

p2:

‘blu_val’ red, green, blue color component values given in I[0.,1.]

Examples:
ensight.viewport.select_begin(1)
ensight.viewport.border_rgb(1.,0.,1.)
Returns:

zero on success, non-zero on error