store_selected#

part.store_selected() int#

Stores the selected parts to be used later using the restore_selected command. Note that this does NOT cause the parts to be selected as the target for future part: commands.

To make the highlighted parts the currently selected parts, use part: get_mainpartlist_select or part: select_all.
Examples:
ensight.part.store_selected()
#
# EnSight commands here...
#
ensight.part.restore_selected()
ensight.part.get_mainpartlist_select()
ensight.part.modify_begin()
ensight.part.colorby_rgb(1,0,0)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error