rgb#

line.rgb(p0: float, p1: float, p2: float) int#

Specifies the RGB color value of the selected line(s) .

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.line.select_begin(1)
ensight.line.rgb(1,0,0)
Returns:

zero on success, non-zero on error