Modifying a Machine Type—Preferring One Class of Machines Over Another
If you want machine selection for a particular process to prefer on-site machines to machines located at a remote facility, for example, you can define a string-valued machine attribute called, for example, isOnSite, to support such a selection requirement. The process’s machine selection module can then access this attribute in order to distinguish between on-site and off-site machines (see Preferring One Class of Machines Over Another).
For the sample, custom process AbreasiveJet Cut, follow these steps to add such an attribute to the machine type:
1 Double click the AbrasiveJet Cut process in the navigation pane, and click the Machine Type tab in the editing pane.
In this example, the process is new, and so is editable without an explicit override. For inherited modules, you must select Override Object from the Edit menu, or click the override icon, green_dude.png, in the toolbar.
2 Click in the empty Field Name column of the last line of the table.
3 Enter the following information in the following columns:
o Field Name: isOnSite
o Default Value Text: false
o Property Type Name: string
4 Select Save from the File menu, or click save_icon.png in the toolbar, to save your changes.
5 To incorporate your changes into the cost model, select Publish Cost Model and VPE from the File menu, or click publish_icon.png in the toolbar.
See Preferring One Class of Machines Over Another for an example of using this attribute in a CSL machine selection module.