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).
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.blank_elts
(p0, p1, p2, p3)This command has not yet been documented.
Specifies the type of fast-display representation used to for the currently selected part(s).
This command has not yet been documented.
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.
Colors a part by the palette tied to the variable selected in the main variable list.
part.colorby_subpalette
(args)Part: colorby_subpalette
Creates a copy of the currently selected part(s).
Part: copy_noframecreate
Creates a new viewport and assigns the currently selected part(s) to it.
Creates a new viewport for each of the currently selected part(s) and assigns one part to each viewport.
Part: cull_elements
Part: cut_remove
Part: cut_split
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).
Specifies the displacement factor to be applied to the source variable to calculate displacement for the currently selected part(s).
Part: double_sided
Specifies whether element blanking is allowed for the part.
Specifies the logical operation to use for element failure.
Specifies the relational operation to use for element failure.
Specifies the values for the operations for element failure.
Specifies the relational operation to use for element failure.
Specifies the values for the operations for element failure.
Specifies the variable to use for element failure.
Specifies the angle to be used in feature angle element representation for the currently selected part(s).
Allow option to load the given element representation as points + normals.
Specifies the type of element representation used for the currently selected part(s).
Specifies a scaling factor (fraction) by which to shrink every element toward its centroid.
part.end
()Part: end
Turns element labeling on or off for the currently selected part(s).
Turns node labeling on or off for the currently selected part(s).
Part: entity_label_part
Creates an extract of the currently selected part(s).
Specifies a fill pattern of variable transparency to be used on the surfaces of the currently selected part(s).
Causes the parts highlighted in the main part list to become the currently selected parts.
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.
Causes the currently selected part(s) to be drawn with shaded surfaces.
part.ijk_axis
(p0)Part: ijk_axis
Part: ijk_axis_scale
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
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
part.light_shin
(p0)Specifies the "shinyness" value used in shading the surfaces of the currently selected part(s).
Part: light_specular_intensity
Part: light_specular_reflection
Part: light_specular_shine
Part: light_specular_tint
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
Merges the currently selected parts into a single part.
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
These commands are used to demarcate part attribute changing commands.
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
Part: node_orientation_axis
part.node_scale
(p0)Sets the scale factor used to determine node size for the currently selected part(s).
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).
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
Part: query_eltid_atwindowxy
part.query_eltid_atxyz
(args)Part: query_eltid_atxyz
Part: query_nodeid_atwindowxy
part.query_nodeid_atxyz
(args)Part: query_nodeid_atxyz
Part: query_object_atwindowxy
part.query_objects
(args)Part: query_objects
Part: query_selected_objects
Part: recompute_cancel
Part: recompute_pending
Part: record_selected
Part: record_selected_ifchanged
Reduce the number of polygons for display.
Set the polygon reduction factor.
part.ref_frame
(p0)Assigns the currently selected part(s) to the specified reference frame.
Part: rendering_reflection_id
Restores the selected parts from a previous seleciton using the store_selected command.
Part: reverse_normal
Selects all parts as the target for future part: commands.
Selects all parts in the current case as the target for future part: commands.
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.
Selects parts using an expression.
part.select_byname_begin
(*args, **kwargs)Selects parts by name.
Selects parts by name.
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
Causes all parts invisible parts to be highlighted.
Selects all of the parts created in the last part-creating operation.
Selects the last single part from the last part-creating operation.
Causes all parts in the main part list to be highlighted.
Part: select_partexpr_begin
Part: select_partexpr_end
Part: select_partname_begin
Part: select_partname_end
Causes all parts showing parts to be highlighted.
Causes all parts visible parts to be highlighted.
part.shading
(p0)Specifies the type of surface shading used on the currently selected part(s).
Updates the Part List GUI menu to reflect the currently selected part(s).
part.show_sft
(p0)Part: show_sft
Part: specify_symmetry_origin
Stores the selected parts to be used later using the restore_selected command.
Part: surface_fill_pattern
Part: surface_hidden_surface
Part: surface_type
Specifies the rotational symmetry angle.
Specifies the rotational symmetry axis.
part.symmetry_delta
(p0, p1, p2)Part: symmetry_delta
Set the flag for visual symmetry mirror images of currently selected parts in the x / y / z / xy / yz / xz / xyz directions.
Set the flag for visual symmetry mirror images of currently selected parts in the x / y / z / xy / yz / xz / xyz directions.
Set the flag for visual symmetry mirror images of currently selected parts in the x / y / z / xy / yz / xz / xyz directions.
Set the flag for visual symmetry mirror images of currently selected parts in the x / y / z / xy / yz / xz / xyz directions.
Set the flag for visual symmetry mirror images of currently selected parts in the x / y / z / xy / yz / xz / xyz directions.
Set the flag for visual symmetry mirror images of currently selected parts in the x / y / z / xy / yz / xz / xyz directions.
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
Specifies the rotational instances.
Turn on symmetry display.
Sets the texture mapping to use a projection or to use two variables describing the s and t vector values.
Sets the texture interpolation mode to use the nearest texture pixel or interpolate.
Set the texture mode to be used for the part coloring.
Color the selected part by a texture.
part.texture_origin
(p0, p1, p2)Sets the texture origin offset in model space.
Sets the texture origin offset relative to this node id.
Sets how the texture origin and orientation will be defined.
Indicates that a texture repeats outside of the defined target area or uses the border color.
Sets the s and t vector orientation according to the node ids described
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.
Sets the s and t vector orientation according to the node ids described
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
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).
Turns element visibility on or off for the currently selected part(s).
Turns line visibility on or off for the currently selected part(s).
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