In Ansys EnSightâ„¢ simulation data visualization software, how to output the RGB values of each of the levels of a palette assigned to a variable?
By using the following python script, one can print out the RGB values of each of the levels of a palette hat is assigned to a specific variable
There will be a list that is output which contains 5 numbers for each of the levels. These numbers indicate the Level Value, Red Value, Green Value, Blue Value, Alpha Value respectively of each of the levels.