label_rgb#
- query_interact.label_rgb(p0: float, p1: float, p2: float) int #
Specifies the RGB color value of the label written next to the query marker in the graphics window.
- Args:
- p0:
‘red_val’ red, green, blue contributions of the color within range of 0.0 to 1.0
- p1:
‘grn_val’ red, green, blue contributions of the color within range of 0.0 to 1.0
- p2:
‘blu_val’ red, green, blue contributions of the color within range of 0.0 to 1.0
- Examples:
#WARNING: the following line failed to translate because the function could not be found in the ensight python module # Actual error: module 'ensight' has no attribute 'variable' ensight.sendmesg(r"variable: activate pressure") ensight.query_interact.select_varname_begin("pressure") ensight.query_interact.query("cursor") ensight.query_interact.label_rgb(0,1,1) ensight.query_interact.create(12.0,15.1,10.3)
- Returns:
zero on success, non-zero on error