hidden_surface#

view.hidden_surface(p0: str) int#

Toggles display of shaded surfaces.

Each part has an attribute that determines whether it will be drawn in shaded or in line mode (part: hidden_surface).
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.view.hidden_surface("ON")
# WARNING: following line includes OBSOLETE call (ensight.part.select_partname_begin).
ensight.part.select_partname_begin("(CASE:Case 1)ami-x hypersonic body")
ensight.part.modify_begin()
ensight.part.hidden_surface("OFF")
ensight.part.modify_end()
Returns:

zero on success, non-zero on error