AntennaContourLevelCollection#
- class ansys.stk.core.stkobjects.AntennaContourLevelCollection#
Class defining a collection of antenna contour levels.
Overview#
Given an index, returns the element in the collection. |
|
Check whether the collection contains an object with the given value. |
|
Remove the level with the corresponding value. |
|
Remove the level with the supplied index. |
|
Add and returns a new level with the corresponding value. |
|
Clear all contour levels from the collection. |
|
Get the level with the specified value. |
Import detail#
from ansys.stk.core.stkobjects import AntennaContourLevelCollection
Property detail#
- property AntennaContourLevelCollection._new_enum: EnumeratorProxy#
Return an enumerator for the collection.
Method detail#
- AntennaContourLevelCollection.item(self, index: int) AntennaContourLevel #
Given an index, returns the element in the collection.
- Parameters:
index :
int
- Returns:
AntennaContourLevel
- AntennaContourLevelCollection.contains(self, value: float) bool #
Check whether the collection contains an object with the given value.
- AntennaContourLevelCollection.remove(self, value: float) None #
Remove the level with the corresponding value.
- AntennaContourLevelCollection.remove_at(self, index: int) None #
Remove the level with the supplied index.
- AntennaContourLevelCollection.add(self, value: float) AntennaContourLevel #
Add and returns a new level with the corresponding value.
- Parameters:
value :
float
- Returns:
AntennaContourLevel
- AntennaContourLevelCollection.clear(self) None #
Clear all contour levels from the collection.
- Returns:
- AntennaContourLevelCollection.get_level(self, value: float) AntennaContourLevel #
Get the level with the specified value.
- Parameters:
value :
float
- Returns:
AntennaContourLevel