ENS_PALETTE#
- class ansys.api.pyensight.ens_palette.ENS_PALETTE(*args, **kwargs)#
This class acts as a proxy for the EnSight Python class ensight.objs.ENS_PALETTE
- Args:
- *args:
Superclass (ENSOBJ) arguments
- **kwargs:
Superclass (ENSOBJ) keyword arguments
Methods
ENS_PALETTE.add_knot
(*args, **kwargs)Add a knot
ENS_PALETTE.add_marker_at_value
(*args, **kwargs)Add a marker at a value
ENS_PALETTE.add_markers_at_levels
(*args, ...)Add markers at levels
ENS_PALETTE.add_nuniform_markers
(*args, **kwargs)Add n uniform markers
ENS_PALETTE.attrgroupinfo
(*args, **kwargs)Get information about GUI groups for object attributes
ENS_PALETTE.attrinfo
([attrid])For a given attribute id, return type information
ENS_PALETTE.attrissensitive
(attrid)Check to see if a given attribute is 'sensitive'
ENS_PALETTE.attrtree
([all, filter, exclude, ...])Get detailed GUI information for attributes of this object.
ENS_PALETTE.clear_all_markers
(*args, **kwargs)Clear all markers
ENS_PALETTE.clear_last_marker
(*args, **kwargs)Clear the last added marker
ENS_PALETTE.cmd_record
(*args, **kwargs)Record a command
ENS_PALETTE.delete_knot
(*args, **kwargs)Delete a knot
Destroy the EnSight object associated with this proxy object
ENS_PALETTE.get_end_point_colors
(*args, **kwargs)Get colors of the end points
ENS_PALETTE.get_histogram
(*args, **kwargs)Get a histogram
ENS_PALETTE.get_natural_texture_size
(*args, ...)Get the natural texture size
ENS_PALETTE.get_point
(*args, **kwargs)Get a point's position and value for a single channel
ENS_PALETTE.get_predefined_palettes
(*args, ...)Get the names of the stored palettes
ENS_PALETTE.get_time_step_range
(*args, **kwargs)Get the beginning and ending time steps
ENS_PALETTE.getattr
(attrid)Query the value of the specified attribute
ENS_PALETTE.getattrs
([attrid, text])Query the value of a collection of attributes
Get the value of a tag in the METADATA attribute
Check to see if a tag exists in the METADATA attribute
ENS_PALETTE.invert_colors
(*args, **kwargs)Invert the colors from min to max
ENS_PALETTE.make_texture
(*args, **kwargs)Make a texture
Apply the current reset range on time change setting to all palettes
ENS_PALETTE.restore_palette_named
(*args, ...)Restore a named palette
ENS_PALETTE.reverse_levels
(*args, **kwargs)Reverse the levels
ENS_PALETTE.save_palette_named
(*args, **kwargs)Save a named palette
ENS_PALETTE.set_minmax
(*args, **kwargs)Set the min & max levels with option to record
ENS_PALETTE.set_point
(*args, **kwargs)Set a point's position and value for a single channel
Set the palette range to the min/max over time Function requires 2 arguments given: start timestep (int), and end timestep (int) over which to determine the palette min/max values.
ENS_PALETTE.set_range_to_part_minmax
(*args, ...)Set the palette range to the min/max of the selected parts
Set the palette range to the min/max of the parts in the current viewport
ENS_PALETTE.setattr
(attrid, value)Set the value of the specified attribute
Signal bulk attribute update begin
Signal bulk attribute update end
ENS_PALETTE.setattrs
(values[, all_errors])Set the values of a collection of attributes
ENS_PALETTE.setmetatag
(tag, value)Change a value in the METADATA attribute
ENS_PALETTE.undo_restored_palette
(*args, ...)Undo the previously restored palette
ENS_PALETTE.use_continuous_all
(*args, **kwargs)Apply the current use continuous palette for element vars setting to all palettes
Attributes
ALPHA_VOLUME_SCALE property
C1_POINTS property
C2_POINTS property
C3_POINTS property
C4_POINTS property
COLORS_PER_LEVEL property
COLOR_SPACE property
DEGREE property
DESCRIPTION property
EDIT_TARGET property
Control the display and use of EnSight click and go handles for an object
HANDLE_UNDEFINED_VALUE property
HISTO_SCALE property
INTERP property
LEVELS_AND_COLORS property
LEVELS_LOCK property
LIMIT_FRINGES property
MARKER_COLOR property
MARKER_WIDTH property
MAX_MARKERS property
METADATA property
MINMAX property
NLEVELS property
NODE_LOCK property
PALMISC property
PROJECT_MASK property
RESET_RANGE_ON_TIME_CHANGE property
SCALE_METHOD property
TIME_RANGE property
UNDEFINED_COLOR property
USE_CONTINUOUS property
UUID property
VARIABLE property
Return the EnSight object proxy ID (__OBJID__).