contour#
- class ansys.api.pyensight.ensight_api.contour(session: Session)#
Class wrapper for EnSight contour module
This class acts as a proxy for the EnSight Python module ensight.contour
Methods
contour.add_custom_label
(p0, p1, p2)Contour: add_custom_label
Delimit the modifications for contour attributes.
If contouring by a vector specifies component or magnitude.
Create a contour part with the currently defined attributes using the currently selected parts as parent parts.
Contour: delete_all_custom_labels
contour.delete_custom_label
(p0, p1, p2)Contour: delete_custom_label
Translate the contour geometry in the surface normal direction by <offset> units.
Specifies the minimum and maximum contour levels when contours are not tied to the variable palette.
Delimit the modifications for contour attributes.
Contour: label_auto_visible
Contour: label_custom_visible
Specify the number of decimal places to use for contour labels.
Specify the format for contour labels.
Contour: label_orientation
contour.label_rgb
(p0, p1, p2)Set the color for contour labels.
Contour: label_size
Control the spacing of contour labels
Turn labels on or off for contour parts.
contour.levels
(p0)Specifies how many contour levels are created between the min and max values.
Specifies the visibility of the contour levels created between the min and max values.
contour.palette
(args)Contour: palette
contour.range
(p0, p1)Specifies the minimum and maximum contour levels when contours are not tied to the variable palette.
Sets the target to the default settings for subsequent attribute modifications.
Contour: subcontours
Add a specified number of contours distributed between the main contour levels.
Specifies the visibility of the contour sub-levels created between the min and max values.
Specifies contour part creation to be tied to the variable palette or by user input.
contour.var_type
(p0)Contour: var_type
contour.variable
(p0)Use this variable for creating a contour part.