viewport_vis#

part.viewport_vis(*args, **kwargs) Any#

Controls visibility of the currently selected part(s) in the specified viewport(s).

Args:
p0:

‘toggle’

  • ON

  • OFF

p1:

‘vportN’

  • viewport numbers in which to modify part visibility

Examples:
ensight.part.select_begin(1,2,5)
ensight.part.modify_begin()
ensight.part.viewport_vis("OFF",1,3)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error