Workbench property values are exposed through Automation API wrappers in the namespace
Ansys.ACT.WorkBench.Automation.Workflows
. These wrappers
support simple property interactions:
task = ExtAPI.DataModel.Tasks[0] p1 = task.Properties[“PropertyOne”] value = p1.Value newValue = value * 2 p0.Value = newValue
The following table lists property APIs.
Class | Member | Description |
---|---|---|
IWBProperty | Name | The property name. |
Value | The property value. | |
Property | Name | The property name. |
Value | The property value. |