delete#
- viewport.delete() int #
Delete all selected viewports.
After selected viewports have been deleted, the main viewport (0) will be selected.The main viewport (0) cannot be deleted.- Examples:
ensight.viewport.select_begin(2,5) ensight.viewport.delete() ensight.viewport.select_begin(0)
- Returns:
zero on success, non-zero on error