As of ANSYS 18.0, Workbench task groups are exposed at the user level through
Automation API wrappers in the namespace
Ansys.ACT.WorkBench.Automation.Workflows. The Project
Data Model returns this wrapper type:
taskGroup = ExtAPI.DataModel.TaskGroups[0]
The task group wrapper does not store any local data. All data access and modification occur at member call time.
The following table lists the APIs that are available.
Note: When a task group is accessed from an ACT script, an instance of
UserTaskGroup is still used. A
UserTaskGroupTemplate is now accessible from the
property Template. All other task group functionality
remains intact.
| Class | Member | Description |
|---|---|---|
|
|
|
The internal task group name. |
|
|
The user-visible task group display text. | |
|
|
The tasks contained in the task group. | |
|
|
The task group’s internal object. | |
|
|
|
The internal Workbench system identifier. |
|
|
The Workbench UI-visible display text (system caption). | |
|
|
The Workbench system abbreviation. | |
|
|
The Workbench system. | |
|
|
The Workbench system analysis type. | |
|
|
The Workbench system directory name. | |
|
|
The list of Workbench system physics. | |
|
|
The list of Workbench system solvers. | |
|
|
The Workbench system notes. | |
|
|
The Workbench system block title. | |
|
|
Indicates whether the Workbench system operates solely on parameters (appears below the Parameter Set bar in the Workbench Project Schematic). | |
|
|
The list of tasks contained in this task group. | |
|
|
Gets the template from which the task group was created. | |
|
|
Gets the contained task by the supplied name. | |
|
|
Clears generated data on all tasks in the task group. | |
|
|
Creates a new task group containing a copy of all the data in the task group. | |
|
|
Deletes the task group and all contained data from the project. | |
|
|
Refreshes the input data for all tasks in the task group by reading changed data from upstream sources. No calculations or updates based on the new data are performed. | |
|
|
Updates all tasks in the task group by refreshing the input from all upstream sources and then performing local calculation based on the current data. | |
|
|
Recreates new versions of any tasks that have been deleted from the task group. |