restore_selected#

part.restore_selected() int#

Restores the selected parts from a previous seleciton using the store_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