Adding or Modifying a Machine Field for Multiple Processes
To add or modify a machine field for multiple processes at once, follow these steps (you can also perform these steps from the VPE Manager, and a cost model need not be open):
1 Select Add/Update Machine Field from the Tools menu.
The Add/Update Machine Field dialog appears:
2 Fill in the following dialog fields:
VPE name: VPE that contains the processes whose machine types you want to modify. Setting this field populates the dropdown list of choices for the Process Group field.
Process Group: process group that contains the processes whose machine types you want to modify. Setting this field populates the dropdown list of choices for the Source machine table field.
Source machine table: processes whose machine types you want to modify. Click to select the first process; control click to select each subsequent process. Shift click to mark the end of a range to be selected. Use Ctrl-A to select all processes. Selected processes that do not define any machine type (such as User-Defined Process) will be unaffected by the addition or modification of the field; such processes will continue to lack any associated machine type.
Field Name: name of the machine field that you want to add or modify.
Display Name: optional name of the field as displayed to the end user. If you don’t supply one, the display name is the result of converting the Field Name to space-separated, initial-cap words.
Description: optional description of the field you want to add or modify.
Property Type Name: CSL data type (such as double, int, or string) used for the field value.
Default Value Text: optional default value of the field you want to add or modify.
Unit Type Name: optional unit type (such as Mass, Length, or Time) used for the field value. This name must be a case-sensitive, exact match for an aPriori-supported unit type.
Notes: optional annotation.
Parent Group: Optional column group for the new or modified machine field. See Working with Column Groups and Column Properties. If you don’t supply a group, the new machine field’s column group is Other.
3 Click OK to override the machine types and make the specified changes. A notification dialog appears:
4 Click OK in the notification dialog. aPriori opens the modified cost model in the CMWB, if it’s not already open.
Note: your changes are not saved to your private workspace until you publish the changes to the public cost model (see step 6, below). That is, unless you publish the changes, they will not persist across invocations of aPriori.
5 Use the VPE Manager to add or modify values for the new or modified machine fields.
6 To save your changes to your private workspace and incorporate the changes into the public cost model, select Publish Cost Model and VPE from the File menu, or click publish_icon.png in the toolbar.