element_rgb#

annot_entlbl.element_rgb(p0: float, p1: float, p2: float) int#

Sets the color of element id labels.

This is a normal rgb color triple. The effect of this command is global - namely, all element labels are affected.
Args:
p0:

‘red_val’ red, green, blue component of the color (0.0 to 1.0)

p1:

‘grn_val’ red, green, blue component of the color (0.0 to 1.0)

p2:

‘blu_val’ red, green, blue component of the color (0.0 to 1.0)

Examples:
ensight.annot_entlbl.element_rgb(1.000000,0.400000,0.800000)
Returns:

zero on success, non-zero on error