hidden_line#

viewport.hidden_line(p0: str) int#

Toggle whether hidden line meshes are to be overlaid onto parts in active viewport(s).

A part will be displayed with hidden lines if:
(a) view: hidden-line ON
(b) viewport: hidden_line ON
(c) part: hidden_line ON
Args:
p0:

‘toggle’

  • ON

  • OFF

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

zero on success, non-zero on error