create_assign_viewport#

part.create_assign_viewport() int#

Creates a new viewport and assigns the currently selected part(s) to it.

Examples:
ensight.part.select_begin(3,5)
ensight.part.create_assign_viewport()
Returns:

zero on success, non-zero on error