Parts#
- class ansys.pyensight.core.utils.parts.Parts(ensight: ensight_api.ensight | ensight)#
Controls the parts in the current EnSight
Session
instance.Methods
Add a line emitter to an existing particle trace.
Add a list of part emitters to an existing particle trace.
Add a plane emitter to an existing particle trace.
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.
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.
Select parts currently not selected, deselecting the previously selected parts.
Attributes