Palettes: ENS_PALETTE

Object API ››
Parent Previous Next

Palettes: ENS_PALETTE

In EnSight each data set variable has four palettes (ENS_PALETTE).  For scalar variables only the first palette is used.  For vector variables the four palettes correspond to: magnitude, x component, y component, and z component.  Other data set variables do not use palettes since parts cannot be directly colored by those variable types (e.g. tensor).

Given a Python handle to a variable (core.VARIABLES[0]), the palettes are accessed by the PALETTE member: core.VARIABLES[0].PALETTE[0].

At this time the ENS_PALETTE Python API exists mainly to support the EnSight Color Editor and Palette Editor dialogs.  The API is not a full API to the underlying C API.

Methods:

Attributes: