Setting Up Rules-based Costing To set up rules-based Costing: Open a machined part and click Tools > SOLIDWORKS Applications > Costing . Under Method, select Machining. In the Costing Task Pane, under Costing Templates, click Launch Template Editor. In the Costing Template Editor, click Rules. Under Name, type a Rule name and under Category select IF/THEN. Under Structure, select IF a material is chosen, THEN add a custom operation. Under Definition, click <Select a material>. In the Rule Input dialog box, under Select a Material, set options for Select Class and Select Material. Click OK. Under Definition, click <Select a custom operation>. In the Rule Input dialog box, set an option for Select a custom operation. Click Save As and enter a name.The template is saved in the defined location. You can only copy and paste material-based rules with their defined parameters to another row. You can define the remaining rules only once. Parent topicRules-based Costing Common Rules for Sheet Metal and Machining Parts Unique Rules for Machining Templates Unique Rules for Sheet Metal Templates