StoppingConditionCollection#
- class ansys.stk.core.stkobjects.astrogator.StoppingConditionCollection#
Bases:
IRuntimeTypeInfoProvider
The stopping conditions collection.
Overview#
Allow you to iterate through the collection. |
|
Add a stopping condition. |
|
Remove a stopping condition. |
|
Copy the stopping condition into the clipboard and removes the stopping condition from the list. |
|
Pastes the stopping condition from the clipboard and inserts into the list. |
|
Copy the stopping condition and inserts the copy into the list. |
|
Retrieve a stopping condition in the collection by index. |
|
Retrieve a stopping condition in the collection by name. |
Import detail#
from ansys.stk.core.stkobjects.astrogator import StoppingConditionCollection
Property detail#
- property StoppingConditionCollection._new_enum: EnumeratorProxy#
Allow you to enumerate through the collection.
Method detail#
- StoppingConditionCollection.item(self, index_or_name: Any) StoppingConditionElement #
Allow you to iterate through the collection.
- Parameters:
index_or_name :
Any
- Returns:
StoppingConditionElement
- StoppingConditionCollection.add(self, condition_name: str) StoppingConditionElement #
Add a stopping condition.
- Parameters:
condition_name :
str
- Returns:
StoppingConditionElement
- StoppingConditionCollection.cut(self, index_or_name: Any) None #
Copy the stopping condition into the clipboard and removes the stopping condition from the list.
- StoppingConditionCollection.paste(self) StoppingConditionElement #
Pastes the stopping condition from the clipboard and inserts into the list.
- Returns:
StoppingConditionElement
- StoppingConditionCollection.insert_copy(self, stop_cond: StoppingConditionElement) StoppingConditionElement #
Copy the stopping condition and inserts the copy into the list.
- Parameters:
stop_cond :
StoppingConditionElement
- Returns:
StoppingConditionElement
- StoppingConditionCollection.get_item_by_index(self, index: int) StoppingConditionElement #
Retrieve a stopping condition in the collection by index.
- Parameters:
index :
int
- Returns:
StoppingConditionElement
- StoppingConditionCollection.get_item_by_name(self, name: str) StoppingConditionElement #
Retrieve a stopping condition in the collection by name.
- Parameters:
name :
str
- Returns:
StoppingConditionElement