Parts#

class ansys.pyensight.core.utils.parts.Parts(ensight: ensight_api.ensight | ensight)#

Controls the parts in the current EnSight Session instance.

Methods

Parts.add_emitter_line_to_particle_trace_part(...)

Add a line emitter to an existing particle trace.

Parts.add_emitter_parts_to_particle_trace_part(...)

Add a list of part emitters to an existing particle trace.

Parts.add_emitter_plane_to_particle_trace_part(...)

Add a plane emitter to an existing particle trace.

Parts.add_emitter_points_to_particle_trace_part(...)

Add point emitters to an existing particle trace.

Parts.create_particle_trace_from_line(name, ...)

Create a particle trace part from a line.

Parts.create_particle_trace_from_parts(name, ...)

Create a particle trace part from a list of seed parts.

Parts.create_particle_trace_from_plane(name, ...)

Create a particle trace part from a plane.

Parts.create_particle_trace_from_points(...)

Create a particle trace part from a list o points.

Parts.get_part_id_obj_name([plist, ret_flag])

Input a part or a list of parts and return an id, object, or name or a list of ids, objects, or names.

Parts.select_parts([p_list, rec_flag])

Select the parts string, or int, or ensight.objs.ENS_PART, or list and record the selection (by default) honoring the EnSight preference to record command language by part id or by name.

Parts.select_parts_by_dimension(dimension)

Select parts by the input dimension and return the parts found.

Parts.select_parts_by_tag([tag, value, tagdict])

Select parts by the input dimension and return the parts found.

Parts.select_parts_invert()

Select parts currently not selected, deselecting the previously selected parts.

Attributes