CalculationObjectCollection#
- class ansys.stk.core.stkobjects.astrogator.CalculationObjectCollection#
The Calculation Object component folder.
Overview#
Add a calc object to the collection. |
|
Return a calc object. |
|
Remove a calc object from the collection. |
|
Copy a calc object to the clipboard and removes the calc object from the list. |
|
Pastes a calc object from the clipboard into the list. |
|
Copy a calc object and inserts the copy into the list. |
|
Retrieve a calc object found by the index. |
|
Retrieve a calc object found by the name. |
Import detail#
from ansys.stk.core.stkobjects.astrogator import CalculationObjectCollection
Property detail#
- property CalculationObjectCollection._new_enum: EnumeratorProxy#
Allow you to enumerate through the collection.
Method detail#
- CalculationObjectCollection.add(self, name: str) IComponentInfo #
Add a calc object to the collection.
- Parameters:
name :
str
- Returns:
IComponentInfo
- CalculationObjectCollection.item(self, index_or_name: Any) IComponentInfo #
Return a calc object.
- Parameters:
index_or_name :
Any
- Returns:
IComponentInfo
- CalculationObjectCollection.remove(self, index_or_name: Any) None #
Remove a calc object from the collection.
- CalculationObjectCollection.cut(self, index_or_name: Any) None #
Copy a calc object to the clipboard and removes the calc object from the list.
- CalculationObjectCollection.paste(self) IComponentInfo #
Pastes a calc object from the clipboard into the list.
- Returns:
IComponentInfo
- CalculationObjectCollection.insert_copy(self, calc_obj: IComponentInfo) IComponentInfo #
Copy a calc object and inserts the copy into the list.
- Parameters:
calc_obj :
IComponentInfo
- Returns:
IComponentInfo
- CalculationObjectCollection.get_item_by_index(self, index: int) IComponentInfo #
Retrieve a calc object found by the index.
- Parameters:
index :
int
- Returns:
IComponentInfo
- CalculationObjectCollection.get_item_by_name(self, name: str) IComponentInfo #
Retrieve a calc object found by the name.
- Parameters:
name :
str
- Returns:
IComponentInfo