default_palette#

prefs.default_palette(p0: str) int#

Preference to override the default EnSight color palette with a user predefined palette.

When EnSight starts, it looks for user defined function color palettes located under $CEI_HOME/ensight92/site_preferences/palettes and in the ./palettes directory found in the user’s home directory. These files must be named palette_name.cpal, where the palette_name will be the name of the color palette in the Simple Interface area of the function dialog.
Args:
p0:

‘predefined_palette_name’ palette name

Examples:
ensight.prefs.default_palette("FASTDefaultPalette")
Returns:

zero on success, non-zero on error