colorby_selected_var#

part.colorby_selected_var() int#

Colors a part by the palette tied to the variable selected in the main variable list.

Used with the HUM to tie parts selected to variables selected.
Examples:
ensight.variables.get_mainvarlist_select()
ensight.part.get_mainpartlist_select()
ensight.part.modify_begin()
ensight.part.colorby_selected_var()
ensight.part.modify_end()
Returns:

zero on success, non-zero on error