As of ANSYS 18.0, Workbench parameter objects are exposed at the user level
through Automation API wrappers in the
namespace Ansys.ACT.WorkBench.Automation.Workflows. Simple
parameter interactions are now fully supported through these wrappers:
task = ExtAPI.DataModel.Tasks[0] p0 = task.Parameters[0] value = p0.Value newValue = value * 2 p0.Value = newValue
The following table lists the APIs that are available.
| Class | Member | Description |
|---|---|---|
|
|
|
The parameter name. |
|
|
The parameter display text. | |
|
|
The parameter value for the current design point. | |
|
|
The parameter usage. | |
|
|
|
The parameter name. |
|
|
The parameter display text. | |
|
|
The parameter value for the current design point. | |
|
|
The parameter usage. | |
|
|
The Workbench parameter data reference. | |
|
|
|
A parameter whose value is to be used by the data model. |
|
|
A parameter whose value is either based on an expression or provided directly by the data model. | |
|
|
The parameter usage could not be determined. |