hidden_line#
- view.hidden_line(*args, **kwargs) → Any#
Toggles global hidden line drawing.
Each part has a part attribute that determines whether or not it will be drawn with hidden lines if the global setting is on (See part: hidden_line).If the optional RGB values are specified, they must be values between 0.0 and 1.0. If none are specified, then 0.0, 0.0, 0.0 are used.- Args:
- p0:
‘toggle’
ON
OFF
- p1:
‘red_val’ optional red, green, blue color values (range 0.0 to 1.0) for the hidden lines when hidden surface (See view: hidden_surface) is also ON
- p2:
‘grn_val’ optional red, green, blue color values (range 0.0 to 1.0) for the hidden lines when hidden surface (See view: hidden_surface) is also ON
- p3:
‘blu_val’ optional red, green, blue color values (range 0.0 to 1.0) for the hidden lines when hidden surface (See view: hidden_surface) is also ON
- Examples:
ensight.sendmesgoptions(version="8.20 ") ensight.view.hidden_line("ON",1.0000e+00,0.0000e+00,0.0000e+00) ensight.part.modify_begin() ensight.part.hidden_line("OFF") ensight.part.modify_end()
- Returns:
zero on success, non-zero on error