VehicleGraphics2DElevationsCollection#
- class ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection#
Collection for elevation contours. Used by vehicles.
Overview#
Add a new element to the collection. |
|
Add a range of new levels to the collection. |
|
Given an index, returns an element in the collection. |
|
Remove all elements from the collection. |
|
Remove an element from the collection using specified index. |
Import detail#
from ansys.stk.core.stkobjects import VehicleGraphics2DElevationsCollection
Property detail#
- property VehicleGraphics2DElevationsCollection._new_enum: EnumeratorProxy#
Return an enumerator that can iterate through the collection.
Method detail#
- VehicleGraphics2DElevationsCollection.add_level(self, elevation: float) VehicleGraphics2DElevationsElement #
Add a new element to the collection.
- Parameters:
elevation :
float
- Returns:
VehicleGraphics2DElevationsElement
- VehicleGraphics2DElevationsCollection.add_level_range(self, start: Any, stop: Any, step: Any) None #
Add a range of new levels to the collection.
- VehicleGraphics2DElevationsCollection.item(self, index: int) VehicleGraphics2DElevationsElement #
Given an index, returns an element in the collection.
- Parameters:
index :
int
- Returns:
VehicleGraphics2DElevationsElement