Working with Cost Model Logic
You customize cost model logic by working with templates and CSL modules. This type of customization is covered in the chapter Working with Cost Model Logic. The chapter covers the following topics:
CSL language and debugger: provides an introduction and overview for the CSL language, including module types, formulas, rules, values, and expressions. This section also covers the CSL debugger. See CSL Language Overview. This guide also includes a Cost Scripting Language Reference.
CSL modules: covers viewing and editing CSL modules, as well as creating and deleting CSL modules. See Viewing and Editing CSL Modules.
Nodes: describes creating, copying and deleting processes, operations, and branch nodes. See Creating and Deleting Processes, Operations, and Branch Nodes.
Module types: describes each module type’s purpose, behavior, and context of evaluation. These sections also provide sample code from each module type, together with an explanation of the various CSL constructs employed. The module types are covered in the following sections:
Templates: covers the purpose of templates and the different kinds of template nodes. This section also describes the graphical and textual syntax and semantics of templates, as well as how to view and edit templates. See Working with Templates.
Each section in this chapter includes one or more examples. Additional examples of working with cost model logic can be found in the chapter Common Task Examples.
This guide also includes a chapter, Cost Engine Details, which describes the high-level logic shared by all cost models. It details how templates together with a part’s GCD hierarchy determine the flow of evaluation of the various types of CSL modules.