ensight#

class ansys.api.pyensight.ensight_api.ensight(session: Session)#

Class wrapper for EnSight ensight module

This class acts as a proxy for the EnSight Python module ensight

Attributes:
ANNOT_ARROW (int):

Instance specific constant

ANNOT_DIAL (int):

Instance specific constant

ANNOT_GAUGE (int):

Instance specific constant

ANNOT_LEGEND (int):

Instance specific constant

ANNOT_LINE (int):

Instance specific constant

ANNOT_LOGO (int):

Instance specific constant

ANNOT_SHAPE (int):

Instance specific constant

ANNOT_TEXT (int):

Instance specific constant

ARROW_COUNT (str):

Instance specific constant

ARROW_DISPLAY_ATTRIBUTES (str):

Instance specific constant

ARROW_LABEL_TEXT (str):

Instance specific constant

ARROW_SELECTED_OBJECTS (str):

Instance specific constant

BUILDINFO (str):

Instance specific constant

CMDLANG_VERSION (str):

Instance specific constant

CMDLANG_VERSION_FLT (str):

Instance specific constant

CORE_TS_XML (str):

Instance specific constant

CVF_2D_STAGE (int):

Instance specific constant

CVF_3D_ARROW (int):

Instance specific constant

CVF_3D_STAGE (int):

Instance specific constant

CVF_ANNOT (int):

Instance specific constant

CVF_AXIS_TRIAD (int):

Instance specific constant

CVF_BOX_TOOL (int):

Instance specific constant

CVF_CAMERA_TOOL (int):

Instance specific constant

CVF_CONE_TOOL (int):

Instance specific constant

CVF_CURSOR_TOOL (int):

Instance specific constant

CVF_CYLINDER_TOOL (int):

Instance specific constant

CVF_DIAL_ANNOT (int):

Instance specific constant

CVF_ELEMENT_BLANK (int):

Instance specific constant

CVF_EVENT_LOCAT_END1 (int):

Instance specific constant

CVF_EVENT_LOCAT_END2 (int):

Instance specific constant

CVF_EVENT_LOCAT_LOWER_LEFT (int):

Instance specific constant

CVF_EVENT_LOCAT_LOWER_RIGHT (int):

Instance specific constant

CVF_EVENT_LOCAT_MID (int):

Instance specific constant

CVF_EVENT_LOCAT_RADIUS (int):

Instance specific constant

CVF_EVENT_LOCAT_UPPER_LEFT (int):

Instance specific constant

CVF_EVENT_LOCAT_UPPER_RIGHT (int):

Instance specific constant

CVF_EVENT_LOCAT_XAXIS (int):

Instance specific constant

CVF_EVENT_LOCAT_YAXIS (int):

Instance specific constant

CVF_EVENT_LOCAT_ZAXIS (int):

Instance specific constant

CVF_FRAME (int):

Instance specific constant

CVF_GAUGE_ANNOT (int):

Instance specific constant

CVF_HUM (int):

Instance specific constant

CVF_IQ_QUERY_PROBE (int):

Instance specific constant

CVF_LEGEND (int):

Instance specific constant

CVF_LINE_ANNOT (int):

Instance specific constant

CVF_LINE_TOOL (int):

Instance specific constant

CVF_LOGO_ANNOT (int):

Instance specific constant

CVF_PALETTE_BANDS (int):

Instance specific constant

CVF_PART (int):

Instance specific constant

CVF_PART_CONTOUR_LABEL (int):

Instance specific constant

CVF_PICK_UNKNOWN (int):

Instance specific constant

CVF_PLANE_TOOL (int):

Instance specific constant

CVF_PLOTTER (int):

Instance specific constant

CVF_POLYLINE (int):

Instance specific constant

CVF_QUERY (int):

Instance specific constant

CVF_QUERY_MARKER (int):

Instance specific constant

CVF_REALTIME_TRACES (int):

Instance specific constant

CVF_REVO_TOOL (int):

Instance specific constant

CVF_SELECTION_TOOL (int):

Instance specific constant

CVF_SHAPE_ANNOT (int):

Instance specific constant

CVF_SPHERE_TOOL (int):

Instance specific constant

CVF_TEXT_ANNOT (int):

Instance specific constant

CVF_TRANSFORM (int):

Instance specific constant

CVF_TRANSFORM_LOCAL (int):

Instance specific constant

CVF_TRANSFORM_MODE (int):

Instance specific constant

CVF_TRANSFORM_PICK (int):

Instance specific constant

CVF_USERDEF_TOOL (int):

Instance specific constant

CVF_VARIABLE (int):

Instance specific constant

CVF_VIEWPORT (int):

Instance specific constant

DATARATES (str):

Instance specific constant

DATASET (str):

Instance specific constant

DIALOG_INFO_ANIMSAVE (str):

Instance specific constant

DIALOG_INFO_IMAGESAVE (str):

Instance specific constant

DIAL_COUNT (str):

Instance specific constant

DIAL_DISPLAY_ATTRIBUTES (str):

Instance specific constant

DIAL_SELECTED_OBJECTS (str):

Instance specific constant

DISPLAY_MATERIALS_INFO (str):

Instance specific constant

DR_FRAME_STATS (str):

Instance specific constant

DR_INFO (str):

Instance specific constant

ENS_BUTTON_LEFT (int):

Instance specific constant

ENS_BUTTON_MIDDLE (int):

Instance specific constant

ENS_BUTTON_RIGHT (int):

Instance specific constant

ENS_BUTTON_WHEEL (int):

Instance specific constant

ENS_EVENT_6D_BUTTON_DOWN (int):

Instance specific constant

ENS_EVENT_6D_BUTTON_UP (int):

Instance specific constant

ENS_EVENT_6D_MOTION (int):

Instance specific constant

ENS_EVENT_6D_VALUATOR (int):

Instance specific constant

ENS_EVENT_ALL (int):

Instance specific constant

ENS_EVENT_CASE (int):

Instance specific constant

ENS_EVENT_CTOR (int):

Instance specific constant

ENS_EVENT_CURRENT (int):

Instance specific constant

ENS_EVENT_DRAWABLE_ENTER (int):

Instance specific constant

ENS_EVENT_DRAWABLE_EXPOSE (int):

Instance specific constant

ENS_EVENT_DRAWABLE_FOCUSIN (int):

Instance specific constant

ENS_EVENT_DRAWABLE_FOCUSOUT (int):

Instance specific constant

ENS_EVENT_DRAWABLE_HIDE (int):

Instance specific constant

ENS_EVENT_DRAWABLE_LEAVE (int):

Instance specific constant

ENS_EVENT_DRAWABLE_RESIZE (int):

Instance specific constant

ENS_EVENT_DRAWABLE_RESTORE (int):

Instance specific constant

ENS_EVENT_DRAWABLE_SAVE (int):

Instance specific constant

ENS_EVENT_DRAWABLE_SHOW (int):

Instance specific constant

ENS_EVENT_DTOR (int):

Instance specific constant

ENS_EVENT_HIDE (int):

Instance specific constant

ENS_EVENT_KEY_DOWN (int):

Instance specific constant

ENS_EVENT_KEY_UP (int):

Instance specific constant

ENS_EVENT_MOUSE_BUTTON_DOWN (int):

Instance specific constant

ENS_EVENT_MOUSE_BUTTON_UP (int):

Instance specific constant

ENS_EVENT_MOUSE_DOUBLE_CLICK (int):

Instance specific constant

ENS_EVENT_MOUSE_MOTION (int):

Instance specific constant

ENS_EVENT_NEW_TIME (int):

Instance specific constant

ENS_EVENT_PART (int):

Instance specific constant

ENS_EVENT_PARTSELECT (int):

Instance specific constant

ENS_EVENT_POSTCOMMAND (int):

Instance specific constant

ENS_EVENT_POSTRENDER (int):

Instance specific constant

ENS_EVENT_PRECOMMAND (int):

Instance specific constant

ENS_EVENT_PRERENDER (int):

Instance specific constant

ENS_EVENT_PYTHON (int):

Instance specific constant

ENS_EVENT_QUERY (int):

Instance specific constant

ENS_EVENT_QUERY_DATA (int):

Instance specific constant

ENS_EVENT_QUERY_PROBE (int):

Instance specific constant

ENS_EVENT_QUERY_SCALARS (int):

Instance specific constant

ENS_EVENT_QUIT (int):

Instance specific constant

ENS_EVENT_RENAME (int):

Instance specific constant

ENS_EVENT_SHOW (int):

Instance specific constant

ENS_EVENT_SOLUTION_TIME (int):

Instance specific constant

ENS_EVENT_TIMEOUT (int):

Instance specific constant

ENS_EVENT_VARIABLE (int):

Instance specific constant

ENS_EVENT_WHEEL_MOTION (int):

Instance specific constant

ENS_EVENT_WINDOW (int):

Instance specific constant

ENS_EVENT_WINDOW_PLOTTER (int):

Instance specific constant

ENS_MODIFIER_ALT (int):

Instance specific constant

ENS_MODIFIER_CTRL (int):

Instance specific constant

ENS_MODIFIER_SHIFT (int):

Instance specific constant

FEEDBACK_CURSOR (int):

Instance specific constant

FEEDBACK_MESSAGE (int):

Instance specific constant

FLIPBOOK_ATTRIBUTES (str):

Instance specific constant

FLIPBOOK_INFORMATION (str):

Instance specific constant

FLIPBOOK_LOADED (str):

Instance specific constant

FLIPBOOK_RUNNING (str):

Instance specific constant

FRAME_COUNT (str):

Instance specific constant

FRAME_LOCATION (str):

Instance specific constant

FSI_TRACE_LIMIT (str):

Instance specific constant

FULLSCREEN (str):

Instance specific constant

GAUGE_COUNT (str):

Instance specific constant

GAUGE_DISPLAY_ATTRIBUTES (str):

Instance specific constant

GAUGE_SELECTED_OBJECTS (str):

Instance specific constant

GLCONFIG (str):

Instance specific constant

LEGEND_COUNT (str):

Instance specific constant

LEGEND_DISPLAY_ATTRIBUTES (str):

Instance specific constant

LEGEND_SELECTED_OBJECTS (str):

Instance specific constant

LINE_COUNT (str):

Instance specific constant

LINE_DISPLAY_ATTRIBUTES (str):

Instance specific constant

LINE_SELECTED_OBJECTS (str):

Instance specific constant

LOGO_COUNT (str):

Instance specific constant

LOGO_DISPLAY_ATTRIBUTES (str):

Instance specific constant

LOGO_SELECTED_OBJECTS (str):

Instance specific constant

MESSAGES (str):

Instance specific constant

MOUSE_ACTION_NONE (int):

Instance specific constant

MOUSE_BTN_ALL (int):

Instance specific constant

MOUSE_BTN_LEFT (int):

Instance specific constant

MOUSE_BTN_LEFT_MIDDLE (int):

Instance specific constant

MOUSE_BTN_LEFT_RIGHT (int):

Instance specific constant

MOUSE_BTN_MIDDLE (int):

Instance specific constant

MOUSE_BTN_RIGHT (int):

Instance specific constant

MOUSE_BTN_RIGHT_MIDDLE (int):

Instance specific constant

MOUSE_NORMAL_ACTION (int):

Instance specific constant

MOUSE_PICK_ACTION (int):

Instance specific constant

MOUSE_PICK_BLANK_ELEMENTS (int):

Instance specific constant

MOUSE_PICK_CURSOR (int):

Instance specific constant

MOUSE_PICK_PART (int):

Instance specific constant

MOUSE_PICK_PART_OPTIONS (int):

Instance specific constant

MOUSE_PICK_TRANSFORM_CENTER (int):

Instance specific constant

MOUSE_ROTATE (int):

Instance specific constant

MOUSE_SELECT_TOOL (int):

Instance specific constant

MOUSE_TRANSLATE (int):

Instance specific constant

MOUSE_USER_DEFINED (int):

Instance specific constant

MOUSE_ZOOM (int):

Instance specific constant

MOUSE_ZOOMBAND (int):

Instance specific constant

PARTS_WITH_SCALARVALUE (str):

Instance specific constant

PART_AUX_GEOM (int):

Instance specific constant

PART_AXI_SYMMETRIC (int):

Instance specific constant

PART_BUILT_UP (int):

Instance specific constant

PART_CLIP_PLANE (int):

Instance specific constant

PART_CONTOUR (int):

Instance specific constant

PART_DEVELOPED_SURFACE (int):

Instance specific constant

PART_DISCRETE_PARTICLE (int):

Instance specific constant

PART_DISPLAY_ATTRIBUTES (str):

Instance specific constant

PART_ELEMENT_PICKEDBYWINXY (str):

Instance specific constant

PART_ELEMENT_PICKEDBYWORLDXYZ (str):

Instance specific constant

PART_ELEVATED_SURFACE (int):

Instance specific constant

PART_FILTER_PART (int):

Instance specific constant

PART_FRAME (int):

Instance specific constant

PART_FX_SEP_ATT (int):

Instance specific constant

PART_FX_SHOCK (int):

Instance specific constant

PART_FX_VORTEX_CORE (int):

Instance specific constant

PART_ISO_SURFACE (int):

Instance specific constant

PART_ISO_VOLUME (int):

Instance specific constant

PART_MATERIAL_INTERFACE (int):

Instance specific constant

PART_MODEL (int):

Instance specific constant

PART_MODEL_BOUNDARY (int):

Instance specific constant

PART_MODEL_CUT (int):

Instance specific constant

PART_MODEL_EXTRACT (int):

Instance specific constant

PART_MODEL_MERGE (int):

Instance specific constant

PART_MULT (int):

Instance specific constant

PART_NODE_PICKEDBYWINXY (str):

Instance specific constant

PART_NODE_PICKEDBYWORLDXYZ (str):

Instance specific constant

PART_OBJECTS (str):

Instance specific constant

PART_PARTICLE_TRACE (int):

Instance specific constant

PART_PICKED (str):

Instance specific constant

PART_POINT (int):

Instance specific constant

PART_PROFILE (int):

Instance specific constant

PART_SELECTED_OBJECTS (str):

Instance specific constant

PART_TENSOR_GLYPH (int):

Instance specific constant

PART_VECTOR_ARROW (int):

Instance specific constant

PART_VOF (int):

Instance specific constant

PICK_BLANK_ELEMENTS (int):

Instance specific constant

PICK_CAMERA_DIRECTION_NODE (int):

Instance specific constant

PICK_CAMERA_DIRECTION_XYZ (int):

Instance specific constant

PICK_CAMERA_LOCATION_NODE (int):

Instance specific constant

PICK_CAMERA_LOCATION_XYZ (int):

Instance specific constant

PICK_CENTER_VIEW (int):

Instance specific constant

PICK_CENTER_VIEW_PLUS_NORMAL (int):

Instance specific constant

PICK_CYLINDER (int):

Instance specific constant

PICK_ELEMENT_TYPE_ALL (int):

Instance specific constant

PICK_ELEMENT_TYPE_BAR (int):

Instance specific constant

PICK_ELEMENT_TYPE_PNT (int):

Instance specific constant

PICK_ELEMENT_TYPE_QUAD (int):

Instance specific constant

PICK_ELEMENT_TYPE_TRIA (int):

Instance specific constant

PICK_FRAME_ORIGIN (int):

Instance specific constant

PICK_LINE (int):

Instance specific constant

PICK_LINE_NODEIDS (int):

Instance specific constant

PICK_LINE_SURFACE_NORMAL (int):

Instance specific constant

PICK_LOOKAT (int):

Instance specific constant

PICK_PALETTE_BAND (int):

Instance specific constant

PICK_PART (int):

Instance specific constant

PICK_PLANE (int):

Instance specific constant

PICK_PLANE2PT (int):

Instance specific constant

PICK_PLANE_NODEIDS (int):

Instance specific constant

PICK_PLANE_NORMAL (int):

Instance specific constant

PICK_PLANE_ORIGIN (int):

Instance specific constant

PICK_PLANE_ORIGIN_AND_NORMAL (int):

Instance specific constant

PICK_POINT (int):

Instance specific constant

PICK_POLYLINE_POINT (int):

Instance specific constant

PICK_POLYLINE_POINT_PART_CENTER (int):

Instance specific constant

PICK_SIMULATE_MENU (int):

Instance specific constant

PICK_TRANSFORM_CENTER (int):

Instance specific constant

PLOT_COUNT (str):

Instance specific constant

PLOT_DISPLAY_ATTRIBUTES (str):

Instance specific constant

PLOT_PICKED (str):

Instance specific constant

POS_CLAMP_NONE (int):

Instance specific constant

POS_CLAMP_SCREEN (int):

Instance specific constant

POS_CLAMP_SCREEN_STRONG (int):

Instance specific constant

POS_TGT_CURSOR (int):

Instance specific constant

POS_TGT_CURSORSCN (int):

Instance specific constant

POS_TGT_MAINWIN (int):

Instance specific constant

POS_TGT_MAINWINSCN (int):

Instance specific constant

POS_TGT_NONE (int):

Instance specific constant

POS_TGT_PRIMARYSCN (int):

Instance specific constant

POS_TGT_WIDGET (int):

Instance specific constant

POS_TGT_WIDGETSCN (int):

Instance specific constant

PREFERENCESPATH (str):

Instance specific constant

QUERY_COUNT (str):

Instance specific constant

QUERY_CREATE_ATTRIBUTES (str):

Instance specific constant

QUERY_DATA (str):

Instance specific constant

QUERY_DISPLAY_ATTRIBUTES (str):

Instance specific constant

QUERY_PICKED (str):

Instance specific constant

QUERY_PROBE_ATTRIBUTES (str):

Instance specific constant

QUERY_PROBE_COUNT (str):

Instance specific constant

QUERY_PROBE_DATA (str):

Instance specific constant

QUERY_PROBE_OUTPUT (str):

Instance specific constant

SCALAR_VARIABLE_PICK (str):

Instance specific constant

SENDMESG_DISPLAY (str):

Instance specific constant

SENDMESG_FEEDBACK (str):

Instance specific constant

SENDMESG_NOEXEC (str):

Instance specific constant

SENDMESG_RAISE (str):

Instance specific constant

SENDMESG_RECORD (str):

Instance specific constant

SHAPE_COUNT (str):

Instance specific constant

SHAPE_DISPLAY_ATTRIBUTES (str):

Instance specific constant

SHAPE_SELECTED_OBJECTS (str):

Instance specific constant

SPLINE_COUNT (str):

Instance specific constant

SPLINE_DATA (str):

Instance specific constant

SYMBOLGLYPHTABLE (str):

Instance specific constant

SYSINFO (str):

Instance specific constant

TESTHOOK (str):

Instance specific constant

TEXTURE_BORDER_COLOR (str):

Instance specific constant

TEXTURE_COUNT (str):

Instance specific constant

TEXTURE_IMAGE (str):

Instance specific constant

TEXT_COUNT (str):

Instance specific constant

TEXT_DISPLAY_ATTRIBUTES (str):

Instance specific constant

TEXT_DISPLAY_TEXT (str):

Instance specific constant

TEXT_SELECTED_OBJECTS (str):

Instance specific constant

TIMEVALS (str):

Instance specific constant

TOOL_BOX (int):

Instance specific constant

TOOL_CONE (int):

Instance specific constant

TOOL_CURSOR (int):

Instance specific constant

TOOL_CYLINDER (int):

Instance specific constant

TOOL_LINE (int):

Instance specific constant

TOOL_PARAMS (str):

Instance specific constant

TOOL_PLANE (int):

Instance specific constant

TOOL_REVOLUTION (int):

Instance specific constant

TOOL_SPHERE (int):

Instance specific constant

TRANSFORMATION_CENTER_OF (str):

Instance specific constant

TRANSFORMATION_COMPOSITE_MATRIX (str):

Instance specific constant

TRANSFORMATION_LOOKAT_POSITION (str):

Instance specific constant

TRANSFORMATION_LOOKFROM_POSITION (str):

Instance specific constant

TRANSFORMATION_PERANG (str):

Instance specific constant

TRANSFORMATION_PROJ_MATRIX (str):

Instance specific constant

TRANSFORMATION_ROTATE_MATRIX (str):

Instance specific constant

TRANSFORMATION_SCALE_MATRIX (str):

Instance specific constant

TRANSFORMATION_TRANSLATE_MATRIX (str):

Instance specific constant

TRANSFORMATION_ZCLIP_LOCATIONS (str):

Instance specific constant

UNIQUE_ID (str):

Instance specific constant

Undefined (float):

Instance specific constant

VARIABLE_HISTOGRAM (str):

Instance specific constant

VARIABLE_INFORMATION (str):

Instance specific constant

VARIABLE_OBJECTS (str):

Instance specific constant

VARIABLE_PALETTE (str):

Instance specific constant

VIEWPORT_COUNT (str):

Instance specific constant

VIEWPORT_DISPLAY_ATTRIBUTES (str):

Instance specific constant

VIEWPORT_LOCATION (str):

Instance specific constant

VIEWPORT_PICKED (str):

Instance specific constant

VIEWPORT_SIZE (str):

Instance specific constant

VIEW_MODE (str):

Instance specific constant

WINDOW_DEPTH_VALUES (str):

Instance specific constant

WINDOW_MOUSECURRENT_INFO (str):

Instance specific constant

WINDOW_MOUSELASTPRESS_INFO (str):

Instance specific constant

WINDOW_RGBA_VALUES (str):

Instance specific constant

WINDOW_SIZE (str):

Instance specific constant

anim:

EnSight module instance class

anim_flipbook:

EnSight module instance class

anim_keyframe:

EnSight module instance class

anim_quick:

EnSight module instance class

anim_recorders:

EnSight module instance class

anim_screens:

EnSight module instance class

anim_traces:

EnSight module instance class

annot_backgr:

EnSight module instance class

annot_entlbl:

EnSight module instance class

annotation:

EnSight module instance class

argv (list):

Instance specific constant

arrow:

EnSight module instance class

auxgeom:

EnSight module instance class

boundarylayer:

EnSight module instance class

case:

EnSight module instance class

clip:

EnSight module instance class

collab:

EnSight module instance class

command:

EnSight module instance class

connect:

EnSight module instance class

context_restore:

EnSight module instance class

contour:

EnSight module instance class

curve:

EnSight module instance class

data:

EnSight module instance class

data_partbuild:

EnSight module instance class

define:

EnSight module instance class

devsrf:

EnSight module instance class

dial:

EnSight module instance class

dpart:

EnSight module instance class

elevsurf:

EnSight module instance class

extrude:

EnSight module instance class

file:

EnSight module instance class

filterpart:

EnSight module instance class

format:

EnSight module instance class

frame:

EnSight module instance class

function:

EnSight module instance class

gauge:

EnSight module instance class

help:

EnSight module instance class

isos:

EnSight module instance class

legend:

EnSight module instance class

lightsource:

EnSight module instance class

line:

EnSight module instance class

logo:

EnSight module instance class

material:

EnSight module instance class

message_window:

EnSight module instance class

model:

EnSight module instance class

nplot:

EnSight module instance class

nvc:

EnSight module instance class

objs:

EnSight module instance class

part:

EnSight module instance class

plot:

EnSight module instance class

pointpart:

EnSight module instance class

prefs:

EnSight module instance class

profile:

EnSight module instance class

ptrace:

EnSight module instance class

ptrace_emitr:

EnSight module instance class

query_ent_var:

EnSight module instance class

query_interact:

EnSight module instance class

savegeom:

EnSight module instance class

scene:

EnSight module instance class

sepattach:

EnSight module instance class

set_tdata:

EnSight module instance class

set_visenv:

EnSight module instance class

shape:

EnSight module instance class

shell:

EnSight module instance class

shock:

EnSight module instance class

show_info:

EnSight module instance class

solution_time:

EnSight module instance class

species:

EnSight module instance class

subset:

EnSight module instance class

tensor:

EnSight module instance class

text:

EnSight module instance class

texture:

EnSight module instance class

tools:

EnSight module instance class

user:

EnSight module instance class

varextcfd:

EnSight module instance class

variables:

EnSight module instance class

vctarrow:

EnSight module instance class

view:

EnSight module instance class

view_transf:

EnSight module instance class

viewport:

EnSight module instance class

viewport_axis:

EnSight module instance class

viewport_bounds:

EnSight module instance class

views:

EnSight module instance class

vof:

EnSight module instance class

vortexcore:

EnSight module instance class

Methods

ensight.addcallback(*args, **kwargs)

Add an event callback to EnSight

ensight.batch()

Detect if EnSight is running in batch mode

ensight.case_replace(*args, **kwargs)

Initiate case replace in the EnSight core

ensight.checkabort(*args, **kwargs)

Check to see if a Python abort has been requested

ensight.command_enshell(*args, **kwargs)

Send a command to the enshell network

ensight.connect_enshell(*args, **kwargs)

Connect to a enshell instance

ensight.disconnect_enshell(*args, **kwargs)

Kill the current connection to enshell

ensight.dsg_close_stream(*args, **kwargs)

Delete a DSG stream

ensight.dsg_new_stream(*args, **kwargs)

Create a new DSG stream ID

ensight.dsg_save_update(*args, **kwargs)

Perform a stream update and write a geometry file

ensight.ensvariable(varname)

This method will query EnSight command language variable values and return a tuple containing the value, its type and the scope it was found in (similar to the command language $ functionality), allowing access to variables defined directly in command language or computed constants.

ensight.exit()

Terminate the EnSight instance.

ensight.idle([yield_cpu])

Execute EnSight idle processing

ensight.modify(*args, **kwargs)

Modify the state of various EnSight objects

ensight.parts_showing(*args, **kwargs)

Return a list of parts showing in the viewport

ensight.pick_points(*args, **kwargs)

Pick nearest visible nodes or elements

ensight.play(*args, **kwargs)

Play a command or Python file

ensight.query(*args, **kwargs)

Query the state of various EnSight objects

ensight.query_cases(*args, **kwargs)

Query case information

ensight.query_elems(*args, **kwargs)

Query element values on the server

ensight.query_event(*args, **kwargs)

Query the currently dispatching events to see if more are coming.

ensight.query_nodes(*args, **kwargs)

Query node values on the server

ensight.query_parts(*args, **kwargs)

Query part information on the server

ensight.query_pixelbuffer(x, y[, x2, y2, ...])

Find the EnSight objects under a point or for all the points in a rectangle.

ensight.query_points(*args, **kwargs)

This function is a basic variable and mesh query mechanism.

ensight.query_trace_paths(*args, **kwargs)

Query particle trace paths

ensight.query_xy_create(title, xtitle, ...)

Create an ENS_QUERY instance

ensight.query_xy_update(id, data[, segments])

Update the data values in a query

ensight.refresh([force])

Refresh the EnSight rendering window

ensight.register_cmd(*args, **kwargs)

Internal EnSight function <should not be called by users>

ensight.remap_cmdlang_name(*args, **kwargs)

Remap a command language verb to a valid Python verb

ensight.removecallback(*args, **kwargs)

Remove an event callback from EnSight

ensight.render(*args, **kwargs)

Render image at arbitrary resolution

ensight.replace_case(*args, **kwargs)

Initiate case replace in the EnSight core

ensight.save_command_file(*args, **kwargs)

Save commands from the current session to the given filename

ensight.scalar_variable_pick_begin(*args, ...)

Begin scalar variable part selection mode

ensight.scalar_variable_pick_end(*args, **kwargs)

End scalar variable part selection mode

ensight.sendevent(*args, **kwargs)

Send a Python object as an event to other Python event listeners.

ensight.sendmesg(command[, record, display, ...])

Executes one or more command language commands

ensight.sendmesgoptions([record, display, ...])

Control the operation of EnSight native API and sendmesg() calls

ensight.update_userdefined_material(*args, ...)

Adds/removes/updates a user-defined material.

ensight.usageLog(*args, **kwargs)

Log feature usage

ensight.using_enshell(*args, **kwargs)

Returns non-zero if application is connected to a enshell

ensight.version([element])

EnSight version information