CalculationToolScalarGroup#
- class ansys.stk.core.analysis_workbench.CalculationToolScalarGroup#
Access or create VGT calculation scalars associated with an object or a central body.
Overview#
Remove a specified element. |
|
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 element from the collection by index. |
|
Retrieve an element from the collection by name. |
Import detail#
from ansys.stk.core.analysis_workbench import CalculationToolScalarGroup
Property detail#
- property CalculationToolScalarGroup.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 CalculationToolScalarGroup.factory: CalculationToolScalarFactory#
Return a factory object used to create calc scalar components.
- property CalculationToolScalarGroup._new_enum: EnumeratorProxy#
Return a COM enumerator.
Method detail#
- CalculationToolScalarGroup.contains(self, name: str) bool #
Search for a an element with a given name. Returns false if the specified element does not exist.
- CalculationToolScalarGroup.item(self, index_or_name: Any) ICalculationToolScalar #
Return an element by name or at a specified position.
- Parameters:
index_or_name :
Any
- Returns:
ICalculationToolScalar
- CalculationToolScalarGroup.get_item_by_index(self, index: int) ICalculationToolScalar #
Retrieve an element from the collection by index.
- Parameters:
index :
int
- Returns:
ICalculationToolScalar
- CalculationToolScalarGroup.get_item_by_name(self, name: str) ICalculationToolScalar #
Retrieve an element from the collection by name.
- Parameters:
name :
str
- Returns:
ICalculationToolScalar