AccessConstraintAnalysisWorkbenchCollection#
- class ansys.stk.core.stkobjects.AccessConstraintAnalysisWorkbenchCollection#
Bases:
IAccessConstraint
Collection of Analysis Workbench constraints.
Overview#
Remove an item given an index. |
|
Remove all items from the collection. |
|
Remove a Analysis Workbench using Reference/Component. |
|
Add a constraint to the AWB Constraint Collection. |
|
Return an array of available References. |
|
Get an AccessConstraintAnalysisWorkbench interface using an index. |
Import detail#
from ansys.stk.core.stkobjects import AccessConstraintAnalysisWorkbenchCollection
Property detail#
- property AccessConstraintAnalysisWorkbenchCollection._new_enum: EnumeratorProxy#
Enumerate the AccessConstraintAnalysisWorkbench interfaces.
Method detail#
- AccessConstraintAnalysisWorkbenchCollection.remove_index(self, index: int) None #
Remove an item given an index.
- AccessConstraintAnalysisWorkbenchCollection.remove_all(self) None #
Remove all items from the collection.
- Returns:
- AccessConstraintAnalysisWorkbenchCollection.remove_constraint(self, type: AnalysisWorkbenchAccessConstraintType, reference: str) None #
Remove a Analysis Workbench using Reference/Component.
- AccessConstraintAnalysisWorkbenchCollection.add_constraint(self, constraint: AnalysisWorkbenchAccessConstraintType, reference: str) IAccessConstraint #
Add a constraint to the AWB Constraint Collection.
- Parameters:
constraint :
AnalysisWorkbenchAccessConstraintType
reference :
str
- Returns:
IAccessConstraint
- AccessConstraintAnalysisWorkbenchCollection.get_available_references(self, type: AnalysisWorkbenchAccessConstraintType) list #
Return an array of available References.
- Parameters:
type :
AnalysisWorkbenchAccessConstraintType
- Returns:
- AccessConstraintAnalysisWorkbenchCollection.item(self, index: int) AccessConstraintAnalysisWorkbench #
Get an AccessConstraintAnalysisWorkbench interface using an index.
- Parameters:
index :
int
- Returns:
AccessConstraintAnalysisWorkbench