part#

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

Class wrapper for EnSight part module

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

Methods

part.active(p0)

Activates or deactivates the currently selected part(s).

part.allow_default_editing()

Allow or disallow editing of part defaults.

part.alpha_by(p0)

Part: alpha_by

part.alpha_by_palette(args)

Part: alpha_by_palette

part.alpha_by_subpalette(args)

Part: alpha_by_subpalette

part.begin()

Part: begin

part.blank_elts(p0, p1, p2, p3)

This command has not yet been documented.

part.bounding_rep(p0)

Specifies the type of fast-display representation used to for the currently selected part(s).

part.clear_blanked_elts()

This command has not yet been documented.

part.clearall_blanked_elts()

This command has not yet been documented.

part.clip(p0)

Turns auxiliary clipping on or off for the currently selected part(s).

part.clone(p0, p1)

Part: clone

part.clone_byname(p0, p1)

Part: clone_byname

part.collect(p0)

Part: collect

part.colorby_palette(args)

Colors the currently selected part(s) based on the value of the specified variable at each node or element (depending on whether data is node or element based)

part.colorby_rgb(p0, p1, p2)

Colors the currently selected part(s) using the specified rgb value.

part.colorby_selected_var()

Colors a part by the palette tied to the variable selected in the main variable list.

part.colorby_subpalette(args)

Part: colorby_subpalette

part.copy()

Creates a copy of the currently selected part(s).

part.copy_noframecreate()

Part: copy_noframecreate

part.create_assign_viewport()

Creates a new viewport and assigns the currently selected part(s) to it.

part.create_assign_viewports()

Creates a new viewport for each of the currently selected part(s) and assigns one part to each viewport.

part.cull_elements(p0)

Part: cull_elements

part.cut_remove()

Part: cut_remove

part.cut_split()

Part: cut_split

part.delete()

Deletes the currently selected part(s).

part.description(p0)

Specifies a description string for the currently selected part.

part.displace_by(p0)

Specifies the variable to be used to displace the nodes and elements of the currently selected part(s).

part.displace_factor(p0)

Specifies the displacement factor to be applied to the source variable to calculate displacement for the currently selected part(s).

part.double_sided(p0)

Part: double_sided

part.elt_blanking(p0)

Specifies whether element blanking is allowed for the part.

part.elt_failure_logicalop(p0)

Specifies the logical operation to use for element failure.

part.elt_failure_op1(p0)

Specifies the relational operation to use for element failure.

part.elt_failure_op1value(p0)

Specifies the values for the operations for element failure.

part.elt_failure_op2(p0)

Specifies the relational operation to use for element failure.

part.elt_failure_op2value(p0)

Specifies the values for the operations for element failure.

part.elt_failure_variable(p0)

Specifies the variable to use for element failure.

part.elt_feature_angle(p0)

Specifies the angle to be used in feature angle element representation for the currently selected part(s).

part.elt_rep_pointsnormals(p0)

Allow option to load the given element representation as points + normals.

part.elt_representation(p0)

Specifies the type of element representation used for the currently selected part(s).

part.elt_shrink_factor(p0)

Specifies a scaling factor (fraction) by which to shrink every element toward its centroid.

part.end()

Part: end

part.entity_label_elt(p0)

Turns element labeling on or off for the currently selected part(s).

part.entity_label_node(p0)

Turns node labeling on or off for the currently selected part(s).

part.entity_label_part(p0)

Part: entity_label_part

part.extract()

Creates an extract of the currently selected part(s).

part.fill_pattern(p0)

Specifies a fill pattern of variable transparency to be used on the surfaces of the currently selected part(s).

part.get_mainpartlist_select()

Causes the parts highlighted in the main part list to become the currently selected parts.

part.get_mouseclick_select()

Part: get_mouseclick_select

part.group(p0)

Groups the currently selected parts into a group with the specified name.

part.hidden_line(p0)

Causes lines which are behind any portion of the currently selected part(s) to not be drawn.

part.hidden_surface(p0)

Causes the currently selected part(s) to be drawn with shaded surfaces.

part.ijk_axis(p0)

Part: ijk_axis

part.ijk_axis_scale(p0)

Part: ijk_axis_scale

part.light_ambient(p0)

Part: light_ambient

part.light_diff(p0)

Specifies the lighting diffusion value used in shading the surfaces of the currently selected part(s).

part.light_diffuse(p0)

Part: light_diffuse

part.light_emissive(p0)

Part: light_emissive

part.light_h_int(p0)

Specifies the highlight intensity value used in shading the surfaces of the currently selected part(s).

part.light_refraction(p0)

Part: light_refraction

part.light_shin(p0)

Specifies the "shinyness" value used in shading the surfaces of the currently selected part(s).

part.light_specular_intensity(p0)

Part: light_specular_intensity

part.light_specular_reflection(p0)

Part: light_specular_reflection

part.light_specular_shine(p0)

Part: light_specular_shine

part.light_specular_tint(p0)

Part: light_specular_tint

part.line_hidden_line(p0)

Part: line_hidden_line

part.line_style(p0)

Specifies the line style used to draw the currently selected part(s).

part.line_width(p0)

Specifies the line width in pixels used to draw the currently selected part(s).

part.material_base_type(p0)

Part: material_base_type

part.merge()

Merges the currently selected parts into a single part.

part.mirror_original(p0)

Turns visibility of the non-mirrored currently selected parts on or off.

part.mirror_x(p0)

Part: mirror_x

part.mirror_xy(p0)

Part: mirror_xy

part.mirror_xyz(p0)

Part: mirror_xyz

part.mirror_xz(p0)

Part: mirror_xz

part.mirror_y(p0)

Part: mirror_y

part.mirror_yz(p0)

Part: mirror_yz

part.mirror_z(p0)

Part: mirror_z

part.modify_begin()

These commands are used to demarcate part attribute changing commands.

part.modify_end()

These commands are used to demarcate part attribute changing commands.

part.node_detail(p0)

Sets the detail level for drawing spherical nodes in the currently selected part(s).

part.node_orientation_angle(p0)

Part: node_orientation_angle

part.node_orientation_axis(p0)

Part: node_orientation_axis

part.node_scale(p0)

Sets the scale factor used to determine node size for the currently selected part(s).

part.node_size_by(p0)

Selects the source for calculating node size in the currently selected part(s).

part.node_type(p0)

Selects the node representation mode for the currently selected part(s).

part.node_variable(p0)

Specifies the variable to be used in calculating the size of spherical nodes in the currently selected part(s).

part.opacity(p0)

Part: opacity

part.opaqueness(p0)

Specifies the opaqueness of the currently selected part(s).

part.periodic_sections(args)

Part: periodic_sections

part.predefined_material(args)

Part: predefined_material

part.query_display_attributes(args)

Part: query_display_attributes

part.query_eltid_atwindowxy(args)

Part: query_eltid_atwindowxy

part.query_eltid_atxyz(args)

Part: query_eltid_atxyz

part.query_nodeid_atwindowxy(args)

Part: query_nodeid_atwindowxy

part.query_nodeid_atxyz(args)

Part: query_nodeid_atxyz

part.query_object_atwindowxy(args)

Part: query_object_atwindowxy

part.query_objects(args)

Part: query_objects

part.query_selected_objects(args)

Part: query_selected_objects

part.recompute_cancel(p0)

Part: recompute_cancel

part.recompute_pending(p0)

Part: recompute_pending

part.record_selected()

Part: record_selected

part.record_selected_ifchanged()

Part: record_selected_ifchanged

part.reduce_polygons(p0)

Reduce the number of polygons for display.

part.reduce_polygons_factor(p0)

Set the polygon reduction factor.

part.ref_frame(p0)

Assigns the currently selected part(s) to the specified reference frame.

part.rendering_reflection_id(p0)

Part: rendering_reflection_id

part.restore_selected()

Restores the selected parts from a previous seleciton using the store_selected command.

part.reverse_normal(p0)

Part: reverse_normal

part.select_all()

Selects all parts as the target for future part: commands.

part.select_all_case()

Selects all parts in the current case as the target for future part: commands.

part.select_all_default()

Causes any following part editing commands to affect the default settings for all parts of any type.

part.select_begin(*args, **kwargs)

Selects one or more parts as the target for future part: commands

part.select_byexpr_begin(args)

Selects parts using an expression.

part.select_byexpr_end()

Selects parts using an expression.

part.select_byname_begin(*args, **kwargs)

Selects parts by name.

part.select_byname_end()

Selects parts by name.

part.select_default()

Causes any following part editing commands to affect the default settings for all parts belonging to the part type of the next edit command.

part.select_invert()

Part: select_invert

part.select_invisible()

Causes all parts invisible parts to be highlighted.

part.select_lastcreatedpart()

Selects all of the parts created in the last part-creating operation.

part.select_lastonecreated()

Selects the last single part from the last part-creating operation.

part.select_mainpartlist_all()

Causes all parts in the main part list to be highlighted.

part.select_partexpr_begin(args)

Part: select_partexpr_begin

part.select_partexpr_end()

Part: select_partexpr_end

part.select_partname_begin(args)

Part: select_partname_begin

part.select_partname_end()

Part: select_partname_end

part.select_showing()

Causes all parts showing parts to be highlighted.

part.select_visible()

Causes all parts visible parts to be highlighted.

part.shading(p0)

Specifies the type of surface shading used on the currently selected part(s).

part.show_selection_inmainlist()

Updates the Part List GUI menu to reflect the currently selected part(s).

part.show_sft(p0)

Part: show_sft

part.specify_symmetry_origin(p0)

Part: specify_symmetry_origin

part.store_selected()

Stores the selected parts to be used later using the restore_selected command.

part.surface_fill_pattern(p0)

Part: surface_fill_pattern

part.surface_hidden_surface(p0)

Part: surface_hidden_surface

part.surface_type(p0)

Part: surface_type

part.symmetry_angle(p0)

Specifies the rotational symmetry angle.

part.symmetry_axis(p0)

Specifies the rotational symmetry axis.

part.symmetry_delta(p0, p1, p2)

Part: symmetry_delta

part.symmetry_mirror_x(p0)

Set the flag for visual symmetry mirror images of currently selected parts in the x / y / z / xy / yz / xz / xyz directions.

part.symmetry_mirror_xy(p0)

Set the flag for visual symmetry mirror images of currently selected parts in the x / y / z / xy / yz / xz / xyz directions.

part.symmetry_mirror_xyz(p0)

Set the flag for visual symmetry mirror images of currently selected parts in the x / y / z / xy / yz / xz / xyz directions.

part.symmetry_mirror_xz(p0)

Set the flag for visual symmetry mirror images of currently selected parts in the x / y / z / xy / yz / xz / xyz directions.

part.symmetry_mirror_y(p0)

Set the flag for visual symmetry mirror images of currently selected parts in the x / y / z / xy / yz / xz / xyz directions.

part.symmetry_mirror_yz(p0)

Set the flag for visual symmetry mirror images of currently selected parts in the x / y / z / xy / yz / xz / xyz directions.

part.symmetry_mirror_z(p0)

Set the flag for visual symmetry mirror images of currently selected parts in the x / y / z / xy / yz / xz / xyz directions.

part.symmetry_origin(p0, p1, p2)

Part: symmetry_origin

part.symmetry_rinstances(p0)

Specifies the rotational instances.

part.symmetry_type(p0)

Turn on symmetry display.

part.texture_coord_type(p0)

Sets the texture mapping to use a projection or to use two variables describing the s and t vector values.

part.texture_interpolation(p0)

Sets the texture interpolation mode to use the nearest texture pixel or interpolate.

part.texture_mode(p0)

Set the texture mode to be used for the part coloring.

part.texture_object(p0)

Color the selected part by a texture.

part.texture_origin(p0, p1, p2)

Sets the texture origin offset in model space.

part.texture_origin_nodeid(p0)

Sets the texture origin offset relative to this node id.

part.texture_origin_use(p0)

Sets how the texture origin and orientation will be defined.

part.texture_repeat_mode(p0)

Indicates that a texture repeats outside of the defined target area or uses the border color.

part.texture_sorigin_nodeid(p0)

Sets the s and t vector orientation according to the node ids described

part.texture_svariable(p0)

For texture_coord_type set to variable these describe the variables to use for the s/t texture color

part.texture_svector(p0, p1, p2)

Sets the texture s-vector orientation and size.

part.texture_torigin_nodeid(p0)

Sets the s and t vector orientation according to the node ids described

part.texture_tvariable(p0)

For texture_coord_type set to variable these describe the variables to use for the s/t texture color

part.texture_tvector(p0, p1, p2)

Sets the texture t-vector orientation and size.

part.transparency(p0)

Part: transparency

part.ungroup()

Ungroups the currently selected (grouped) parts.

part.updtparts(p0)

Updates the parent part for the currently selected part(s)

part.viewport_vis(*args, **kwargs)

Controls visibility of the currently selected part(s) in the specified viewport(s).

part.visibility_elt(p0)

Turns element visibility on or off for the currently selected part(s).

part.visibility_line(p0)

Turns line visibility on or off for the currently selected part(s).

part.visibility_node(p0)

Turns node visibility on or off for the currently selected part(s).

part.visible(p0)

Controls the visibility of the currently selected part(s).

part.volume_quality(p0)

Part: volume_quality