As of ANSYS 18.0, Workbench property values are exposed at the user level through
Automation API wrappers in the namespace
Ansys.ACT.WorkBench.Automation.Workflows. Simple property
interactions are now fully supported through these wrappers:
task = ExtAPI.DataModel.Tasks[0] p1 = task.Properties[“PropertyOne”] value = p1.Value newValue = value * 2 p0.Value = newValue
The following table lists the APIs that are available.
| Class | Member | Description |
|---|---|---|
|
|
|
The property name. |
|
|
The property value. | |
|
|
|
The property name. |
|
|
The property value. |