### 2.1.21. Parameters

The Parameter feature connects Inputs and Outputs to the Parameter Interface in the Workbench project.

Figure : Connection of ACP and Workbench Parameter Interface

A Parameter is created by selecting Create Parameter in the context menu of the Parameters object in the tree view. The Parameter connection is then defined in the Parameter Properties dialog:

Figure : Parameter Properties

- Category:

  - Input: Input parameter taken from the Workbench Parameter interface

  - Output: Output parameter given to the Workbench Parameter interface

  - Expression Output : Output parameter that can contain a regular ACP script

- Object: The object on which the parameter acts.

- Property: The property of the object to be parameterized.

- Type: The parameter format. Determined automatically if there is only one possible option. Units are not transferred from ACP to Workbench. Parameters appear as dimensionless numbers in the Workbench interface.

  - Bool: Boolean (true or false).

  - Float: Real number.

  - Int: Integer.

  - None: Default selection if multiple options are available.

  - String: Text string from a list of strings. The values in the string list can be called up via an index number in the Workbench interface. The first entry in the string list has the index value 1. The rest follows sequentially.

- Value: The current value of the parameter. This option can be modified depending on if a parameter is an Input or an Output.

Caution: ACP does not perform automatic conversion of units for parameters in the parameter manager. You should make sure that the units of any ACP-related parameters in the parameter manager are consistent with the chosen unit system in ACP.

Release 18.2 - © ANSYS, Inc. All rights reserved.