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