Working with Process Setup Options
Each process, operation, and branch node can have one or more associated setup options, which allow the end user to input data that is specific to the current part. A CSL module can access setup option data with the CSL standard input setup, which has one field for each setup option of the module’s associated node.
The following example accesses nominalWallThickness, which is a setup option for the Injection Molding process in the Plastic Molding process group:
 
nominalWallThickness = { _
setup.nominalWallThickness if setup.nominalWallThickness != null _
3 otherwise _
}
 
A setup option can have multiple input modes—see the description of mode tables in About Process Setup Options. The CSL standard input setup also has a field that allows determination of the currently active mode. The field name consists of Mode appended to the setup option name. Here is an example that accesses the mode for numberOfDrops (number of hot drops), which is another setup option for the Injection Molding process in the Plastic Molding process group:
 
costPerHotDrop = { _
plant.costPerStandardHotDrop if setup.numberOfDropsMode == 'userStandard' _
plant.costPerSVGHotDrop if setup.numberOfDropsMode == 'userSVG' _
0 otherwise
}
numHotDrops = setup.numberOfDrops * numCavities
numHotDropsPerCavity = setup.numberOfDrops
 
See CSL Language Overviewfor more information on CSL.
This section covers the following topics: