Piping > Setting Up Piping Library > Piping Specification Database > Update Model > To Change and Update Material Codes
  
To Change and Update Material Codes
You can change pipe and fitting material codes in a specification or line stock and update the current model with the changes.
1. Modify the Piping Material Master Catalog (MCAT) file. Open the Piping Material file using a text editor and modify the material code for the selected pipe or fitting MCAT file. Save all changes.
2. Modify the specification. Click Spec DB. The Define Piping Specification dialog box opens.
3. Click . The Open File dialog box opens. The current directory is based on the directory path in the piping_project_data_dir configuration option.
4. Double-click the Auto-Selection file that is associated with the specification that you want to modify. The Open File dialog box closes. In the Define Piping Specification dialog box, the file name appears in the border next to Auto-Selection File.
5. Under Select Record, select the specification record that you want to modify.
6. Select the Pipe or Fitting tabbed pages for the material code type. Spec-Driven Piping displays the updated material code in the Material Code box under Define Record.
7. Click to insert a new record that contains the changes. Spec-Driven Piping adds the record and displays the changes under Select Record. Note that you must delete the existing record before Spec-Driven Piping can insert the record with the new material code.
8. Click to save changes to the file. The current directory is based on the directory path in the piping_project_data_dir configuration option.
9. Click File > Exit. The Define Piping Specification dialog box closes.
10. Update the model. Click Setup > Update Model. The Update Model dialog box opens.
11. Under Select > Assembly, click and select the assembly to which you want to apply the changes.
12. Under Model Information, select the Material Data check box.
13. Click OK. The Confirm Cancel dialog box opens. Click Yes to confirm the update. The dialog boxes close and Spec-Driven Piping updates the active assembly information. Spec-Driven Piping confirms the update in the Message Area.
14. Regenerate () to apply the changes to the piping model displayed in the graphics window.
15. Verify the changes. Click Piping Info. In the Report Pipeline dialog box, select Type > Segment.
16. Click and select a pipe segment in the graphics window. Note that the segment must be from the updated assembly. Spec-Driven Piping displays the pipeline information in the Information Window.