TimeToolTimeIntervalGroup#
- class ansys.stk.core.analysis_workbench.TimeToolTimeIntervalGroup#
Access or create VGT event intervals associated with an object.
Overview#
Remove an element by name. |
|
Search for a an element with a given name. Returns false if the specified element does not exist. |
|
Return an element by name or at a specified position. |
|
Retrieve an event interval from the collection by index. |
|
Retrieve an event interval from the collection by name. |
Import detail#
from ansys.stk.core.analysis_workbench import TimeToolTimeIntervalGroup
Property detail#
- property TimeToolTimeIntervalGroup.context: IAnalysisWorkbenchComponentContext#
Return a context object. The context can be used to find out which central body or STK object this instance is associated with.
- property TimeToolTimeIntervalGroup.factory: TimeToolTimeIntervalFactory#
Return a Factory object used to create custom event intervals.
- property TimeToolTimeIntervalGroup._new_enum: EnumeratorProxy#
Return a COM enumerator.
Method detail#
- TimeToolTimeIntervalGroup.contains(self, name: str) bool #
Search for a an element with a given name. Returns false if the specified element does not exist.
- TimeToolTimeIntervalGroup.item(self, index_or_name: Any) ITimeToolTimeInterval #
Return an element by name or at a specified position.
- Parameters:
index_or_name :
Any
- Returns:
ITimeToolTimeInterval
- TimeToolTimeIntervalGroup.get_item_by_index(self, index: int) ITimeToolTimeInterval #
Retrieve an event interval from the collection by index.
- Parameters:
index :
int
- Returns:
ITimeToolTimeInterval
- TimeToolTimeIntervalGroup.get_item_by_name(self, name: str) ITimeToolTimeInterval #
Retrieve an event interval from the collection by name.
- Parameters:
name :
str
- Returns:
ITimeToolTimeInterval