LevelAttribute#

class ansys.stk.core.stkobjects.LevelAttribute#

Properties defining display of contour levels.

Overview#

level

Contour level.

color

Color in which contours at the given level are displayed.

line_style

The style of the line representing contours at the given level. A member of the LineStyle enumeration.

line_width

The width of the line representing contours at the given level.

show_label

Display a label identifying the given contour level.

show_user_text_visible

Whether the user-specified text is displayed.

label_angle

The angle from the contour at which the label is displayed. Dimensionless.

user_text

User-specified text that can be displayed with the contour.

Import detail#

from ansys.stk.core.stkobjects import LevelAttribute

Property detail#

property LevelAttribute.level: Any#

Contour level.

property LevelAttribute.color: Color#

Color in which contours at the given level are displayed.

property LevelAttribute.line_style: LineStyle#

The style of the line representing contours at the given level. A member of the LineStyle enumeration.

property LevelAttribute.line_width: LineWidth#

The width of the line representing contours at the given level.

property LevelAttribute.show_label: bool#

Display a label identifying the given contour level.

property LevelAttribute.show_user_text_visible: bool#

Whether the user-specified text is displayed.

property LevelAttribute.label_angle: float#

The angle from the contour at which the label is displayed. Dimensionless.

property LevelAttribute.user_text: str#

User-specified text that can be displayed with the contour.