VehicleGraphics2DElevationContours#
- class ansys.stk.core.stkobjects.VehicleGraphics2DElevationContours#
General settings regarding display of elevation contours.
Overview#
Opt whether to display elevation contours. |
|
Opt whether to display a fill over the area within the contours. |
|
Get or set the type of fill to display. |
|
Number of decimal digits. Dimensionless. |
|
Collection of Levels. |
|
Specify the fill translucency percentage of the area within the contours. Translucency ranges from 0 to 100 percent, where 100 percent is invisible. |
Examples#
Set 2D/3D Elevation Contours
# Satellite satellite: Satellite object
# Set the contours in the 2D properties
contours = satellite.graphics.elevation_contours
contours.show_graphics = True
contours.number_of_decimal_digits = 0
contours.elevations.add_level_range(0, 90, 10) # Min, Max, Step
# Turn the contours on in the 3D properties
satellite.graphics_3d.elevation_contours.show_graphics = True
Import detail#
from ansys.stk.core.stkobjects import VehicleGraphics2DElevationContours
Property detail#
- property VehicleGraphics2DElevationContours.show_graphics: bool#
Opt whether to display elevation contours.
- property VehicleGraphics2DElevationContours.show_filled_contours: bool#
Opt whether to display a fill over the area within the contours.
- property VehicleGraphics2DElevationContours.fill_style: FillStyle#
Get or set the type of fill to display.
- property VehicleGraphics2DElevationContours.number_of_decimal_digits: int#
Number of decimal digits. Dimensionless.
- property VehicleGraphics2DElevationContours.elevations: VehicleGraphics2DElevationsCollection#
Collection of Levels.