objs#

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

Class wrapper for EnSight objs module

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

Attributes:
ANIMOBJ_FLG_ALLFRAMES (int):

Instance specific constant

ANIMOBJ_FLG_FRACFRAMES (int):

Instance specific constant

ANIMOBJ_FLG_ONESHOT (int):

Instance specific constant

ANIMOBJ_PLAY_FWD (int):

Instance specific constant

ANIMOBJ_PLAY_REV (int):

Instance specific constant

ANIMOBJ_PLAY_STEP_FWD (int):

Instance specific constant

ANIMOBJ_PLAY_STEP_REV (int):

Instance specific constant

ANIMOBJ_PLAY_STOP (int):

Instance specific constant

ANIMOBJ_STATE_PLAYOFF (int):

Instance specific constant

ANIMOBJ_STATE_PLAYON (int):

Instance specific constant

EMIT_CURSOR (int):

Instance specific constant

EMIT_FILE (int):

Instance specific constant

EMIT_LINE (int):

Instance specific constant

EMIT_PART (int):

Instance specific constant

EMIT_PLANE (int):

Instance specific constant

ENS_ANNOT (ENS_ANNOT):

EnSight ENS_ANNOT proxy class

ENS_ANNOT_TEXT (ENS_ANNOT_TEXT):

EnSight ENS_ANNOT_TEXT proxy class

ENS_ANNOT_LINE (ENS_ANNOT_LINE):

EnSight ENS_ANNOT_LINE proxy class

ENS_ANNOT_LOGO (ENS_ANNOT_LOGO):

EnSight ENS_ANNOT_LOGO proxy class

ENS_ANNOT_LGND (ENS_ANNOT_LGND):

EnSight ENS_ANNOT_LGND proxy class

ENS_ANNOT_MARKER (ENS_ANNOT_MARKER):

EnSight ENS_ANNOT_MARKER proxy class

ENS_ANNOT_ARROW (ENS_ANNOT_ARROW):

EnSight ENS_ANNOT_ARROW proxy class

ENS_ANNOT_DIAL (ENS_ANNOT_DIAL):

EnSight ENS_ANNOT_DIAL proxy class

ENS_ANNOT_GAUGE (ENS_ANNOT_GAUGE):

EnSight ENS_ANNOT_GAUGE proxy class

ENS_ANNOT_SHAPE (ENS_ANNOT_SHAPE):

EnSight ENS_ANNOT_SHAPE proxy class

ENS_CAMERA (ENS_CAMERA):

EnSight ENS_CAMERA proxy class

ENS_CASE (ENS_CASE):

EnSight ENS_CASE proxy class

ENS_FLIPBOOK (ENS_FLIPBOOK):

EnSight ENS_FLIPBOOK proxy class

ENS_FRAME (ENS_FRAME):

EnSight ENS_FRAME proxy class

ENS_GEOM (ENS_GEOM):

EnSight ENS_GEOM proxy class

ENS_GLOBALS (ENS_GLOBALS):

EnSight ENS_GLOBALS proxy class

ENS_GROUP (ENS_GROUP):

EnSight ENS_GROUP proxy class

ENS_LIGHTSOURCE (ENS_LIGHTSOURCE):

EnSight ENS_LIGHTSOURCE proxy class

ENS_LPART (ENS_LPART):

EnSight ENS_LPART proxy class

ENS_MAT (ENS_MAT):

EnSight ENS_MAT proxy class

ENS_PALETTE (ENS_PALETTE):

EnSight ENS_PALETTE proxy class

ENS_PART (ENS_PART):

EnSight ENS_PART proxy class

ENS_PART_MODEL (ENS_PART_MODEL):

EnSight ENS_PART_MODEL proxy class

ENS_PART_CLIP (ENS_PART_CLIP):

EnSight ENS_PART_CLIP proxy class

ENS_PART_CONTOUR (ENS_PART_CONTOUR):

EnSight ENS_PART_CONTOUR proxy class

ENS_PART_DISCRETE_PARTICLE (ENS_PART_DISCRETE_PARTICLE):

EnSight ENS_PART_DISCRETE_PARTICLE proxy class

ENS_PART_FRAME (ENS_PART_FRAME):

EnSight ENS_PART_FRAME proxy class

ENS_PART_ISOSURFACE (ENS_PART_ISOSURFACE):

EnSight ENS_PART_ISOSURFACE proxy class

ENS_PART_PARTICLE_TRACE (ENS_PART_PARTICLE_TRACE):

EnSight ENS_PART_PARTICLE_TRACE proxy class

ENS_PART_PROFILE (ENS_PART_PROFILE):

EnSight ENS_PART_PROFILE proxy class

ENS_PART_VECTOR_ARROW (ENS_PART_VECTOR_ARROW):

EnSight ENS_PART_VECTOR_ARROW proxy class

ENS_PART_ELEVATED_SURFACE (ENS_PART_ELEVATED_SURFACE):

EnSight ENS_PART_ELEVATED_SURFACE proxy class

ENS_PART_DEVELOPED_SURFACE (ENS_PART_DEVELOPED_SURFACE):

EnSight ENS_PART_DEVELOPED_SURFACE proxy class

ENS_PART_BUILT_UP (ENS_PART_BUILT_UP):

EnSight ENS_PART_BUILT_UP proxy class

ENS_PART_TENSOR_GLYPH (ENS_PART_TENSOR_GLYPH):

EnSight ENS_PART_TENSOR_GLYPH proxy class

ENS_PART_FX_VORTEX_CORE (ENS_PART_FX_VORTEX_CORE):

EnSight ENS_PART_FX_VORTEX_CORE proxy class

ENS_PART_FX_SHOCK (ENS_PART_FX_SHOCK):

EnSight ENS_PART_FX_SHOCK proxy class

ENS_PART_FX_SEP_ATT (ENS_PART_FX_SEP_ATT):

EnSight ENS_PART_FX_SEP_ATT proxy class

ENS_PART_MAT_INTERFACE (ENS_PART_MAT_INTERFACE):

EnSight ENS_PART_MAT_INTERFACE proxy class

ENS_PART_POINT (ENS_PART_POINT):

EnSight ENS_PART_POINT proxy class

ENS_PART_AXISYMMETRIC (ENS_PART_AXISYMMETRIC):

EnSight ENS_PART_AXISYMMETRIC proxy class

ENS_PART_VOF (ENS_PART_VOF):

EnSight ENS_PART_VOF proxy class

ENS_PART_AUX_GEOM (ENS_PART_AUX_GEOM):

EnSight ENS_PART_AUX_GEOM proxy class

ENS_PART_FILTER (ENS_PART_FILTER):

EnSight ENS_PART_FILTER proxy class

ENS_PLOTTER (ENS_PLOTTER):

EnSight ENS_PLOTTER proxy class

ENS_POLYLINE (ENS_POLYLINE):

EnSight ENS_POLYLINE proxy class

ENS_PROBE (ENS_PROBE):

EnSight ENS_PROBE proxy class

ENS_QUERY (ENS_QUERY):

EnSight ENS_QUERY proxy class

ENS_SCENE (ENS_SCENE):

EnSight ENS_SCENE proxy class

ENS_SOURCE (ENS_SOURCE):

EnSight ENS_SOURCE proxy class

ENS_SPEC (ENS_SPEC):

EnSight ENS_SPEC proxy class

ENS_STATE (ENS_STATE):

EnSight ENS_STATE proxy class

ENS_TEXTURE (ENS_TEXTURE):

EnSight ENS_TEXTURE proxy class

ENS_TOOL (ENS_TOOL):

EnSight ENS_TOOL proxy class

ENS_TOOL_CURSOR (ENS_TOOL_CURSOR):

EnSight ENS_TOOL_CURSOR proxy class

ENS_TOOL_LINE (ENS_TOOL_LINE):

EnSight ENS_TOOL_LINE proxy class

ENS_TOOL_PLANE (ENS_TOOL_PLANE):

EnSight ENS_TOOL_PLANE proxy class

ENS_TOOL_BOX (ENS_TOOL_BOX):

EnSight ENS_TOOL_BOX proxy class

ENS_TOOL_CYLINDER (ENS_TOOL_CYLINDER):

EnSight ENS_TOOL_CYLINDER proxy class

ENS_TOOL_CONE (ENS_TOOL_CONE):

EnSight ENS_TOOL_CONE proxy class

ENS_TOOL_SPHERE (ENS_TOOL_SPHERE):

EnSight ENS_TOOL_SPHERE proxy class

ENS_TOOL_REVOLUTION (ENS_TOOL_REVOLUTION):

EnSight ENS_TOOL_REVOLUTION proxy class

ENS_VAR (ENS_VAR):

EnSight ENS_VAR proxy class

ENS_VPORT (ENS_VPORT):

EnSight ENS_VPORT proxy class

EVENTMAP_FLAG_COMP_GLOBAL (int):

Instance specific constant

EVENTMAP_FLAG_COMP_LOCAL (int):

Instance specific constant

EVENTMAP_FLAG_IMMEDIATE (int):

Instance specific constant

SHOW_ANNOTS (int):

Instance specific constant

SHOW_ANY (int):

Instance specific constant

SHOW_CALCTOOLS (int):

Instance specific constant

SHOW_CASES (int):

Instance specific constant

SHOW_FRAMES (int):

Instance specific constant

SHOW_NONE (int):

Instance specific constant

SHOW_PLOTTERS (int):

Instance specific constant

SHOW_QUERIES (int):

Instance specific constant

SHOW_STATES (int):

Instance specific constant

SHOW_TRACK_SELECTION (int):

Instance specific constant

SHOW_TYPE_MASK (int):

Instance specific constant

SHOW_VARS (int):

Instance specific constant

SHOW_VIEWPORTS (int):

Instance specific constant

core (ENS_GLOBALS):

Instance specific constant

ens_animobj (ens_animobj):

EnSight ens_animobj proxy class

ens_emitterobj (ens_emitterobj):

EnSight ens_emitterobj proxy class

enums:

EnSight module instance class

Methods

objs.addcallback(target, obj, method[, ...])

Set up a Python callback that will be executed when the selected conditions are met.

objs.allocextattr(*args, **kwargs)

Allocate a class specific attribute

objs.classify_file(*args, **kwargs)

Classifies a file by its extension

objs.ensxml_context_list_writer(*args, **kwargs)

Output context node to the xml file

objs.ensxml_restore_element(*args, **kwargs)

Restore a node from the xml file

objs.ensxml_restore_file(*args, **kwargs)

Restore a session to an xml file

objs.ensxml_save_file(*args, **kwargs)

Save a session to an xml file

objs.enum_to_name(attrid)

Convert an attribute id into the associated string name

objs.events_queued(*args, **kwargs)

Return a list of events pending dispatch

objs.events_resume(*args, **kwargs)

Resume event dispatch

objs.events_suspend(*args, **kwargs)

Suspend event dispatch

objs.next_id()

Return the object id of the next object EnSight will allocate

objs.release_id(*args, **kwargs)

Release ID owned by external session

objs.removecallback(id)

Remove a callback that was registered using ensight.objs.addcallback()

objs.valid_id(id)

Check to see if a given id corresponds to an existing EnSight object

objs.version(*args, **kwargs)

EnSight Python API version

objs.wrap_id(id)

Return the Python proxy object for a specific EnSight object id