VehicleGraphics2DElevationsCollection ===================================== .. py:class:: ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection Collection for elevation contours. Used by vehicles. .. py:currentmodule:: VehicleGraphics2DElevationsCollection Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection.item` - Given an index, returns an element in the collection. * - :py:attr:`~ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection.remove_at` - Remove an element from the collection using specified index. * - :py:attr:`~ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection.remove_all` - Remove all elements from the collection. * - :py:attr:`~ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection.add_level` - Add a new element to the collection. * - :py:attr:`~ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection.add_level_range` - Add a range of new levels to the collection. .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection.count` - Return the number of elements in a collection. * - :py:attr:`~ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection._new_enum` - Return an enumerator that can iterate through the collection. Import detail ------------- .. code-block:: python from ansys.stk.core.stkobjects import VehicleGraphics2DElevationsCollection Property detail --------------- .. py:property:: count :canonical: ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection.count :type: int Return the number of elements in a collection. .. py:property:: _new_enum :canonical: ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection._new_enum :type: EnumeratorProxy Return an enumerator that can iterate through the collection. Method detail ------------- .. py:method:: item(self, index: int) -> VehicleGraphics2DElevationsElement :canonical: ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection.item Given an index, returns an element in the collection. :Parameters: **index** : :obj:`~int` :Returns: :obj:`~VehicleGraphics2DElevationsElement` .. py:method:: remove_at(self, index: int) -> None :canonical: ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection.remove_at Remove an element from the collection using specified index. :Parameters: **index** : :obj:`~int` :Returns: :obj:`~None` .. py:method:: remove_all(self) -> None :canonical: ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection.remove_all Remove all elements from the collection. :Returns: :obj:`~None` .. py:method:: add_level(self, elevation: float) -> VehicleGraphics2DElevationsElement :canonical: ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection.add_level Add a new element to the collection. :Parameters: **elevation** : :obj:`~float` :Returns: :obj:`~VehicleGraphics2DElevationsElement` .. py:method:: add_level_range(self, start: typing.Any, stop: typing.Any, step: typing.Any) -> None :canonical: ansys.stk.core.stkobjects.VehicleGraphics2DElevationsCollection.add_level_range Add a range of new levels to the collection. :Parameters: **start** : :obj:`~typing.Any` **stop** : :obj:`~typing.Any` **step** : :obj:`~typing.Any` :Returns: :obj:`~None`