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

contour.begin()

Delimit the modifications for contour attributes.

contour.component(p0)

If contouring by a vector specifies component or magnitude.

contour.create()

Create a contour part with the currently defined attributes using the currently selected parts as parent parts.

contour.delete_all_custom_labels()

Contour: delete_all_custom_labels

contour.delete_custom_label(p0, p1, p2)

Contour: delete_custom_label

contour.display_offset(p0)

Translate the contour geometry in the surface normal direction by <offset> units.

contour.distribution(p0)

Specifies the minimum and maximum contour levels when contours are not tied to the variable palette.

contour.end()

Delimit the modifications for contour attributes.

contour.label_auto_visible(p0)

Contour: label_auto_visible

contour.label_custom_visible(p0)

Contour: label_custom_visible

contour.label_decimal_places(p0)

Specify the number of decimal places to use for contour labels.

contour.label_format(p0)

Specify the format for contour labels.

contour.label_orientation(p0)

Contour: label_orientation

contour.label_rgb(p0, p1, p2)

Set the color for contour labels.

contour.label_size(p0)

Contour: label_size

contour.label_spacing(p0)

Control the spacing of contour labels

contour.label_visible(p0)

Turn labels on or off for contour parts.

contour.levels(p0)

Specifies how many contour levels are created between the min and max values.

contour.levels_visible(p0)

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.

contour.select_default()

Sets the target to the default settings for subsequent attribute modifications.

contour.subcontours(p0)

Contour: subcontours

contour.sublevels(p0)

Add a specified number of contours distributed between the main contour levels.

contour.sublevels_visible(p0)

Specifies the visibility of the contour sub-levels created between the min and max values.

contour.sync_to_palette(p0)

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.