hidden_surface#

viewport.hidden_surface(p0: str) int#

Toggle whether hidden surfaces are to be removed from parts in active viewport(s).

A part will be displayed with shading if:
(a) view: hidden-surface ON
(b) viewport: hidden_surface ON
(c) part: hidden_surface ON
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.viewport.select_begin(0)
ensight.viewport.hidden_surface("OFF")
ensight.viewport.select_begin(1)
ensight.viewport.hidden_surface("ON")
Returns:

zero on success, non-zero on error