Step 4: Import the CAD2.RUL rules into CADONLYREF_ID.RTP

In this step, you will import rules contained in the .RUL file into your new report template, CADONLYREF_ID.RTP. The .RUL file contains the set of rules used by the CAD portion of the TextAndCAD report, and it uses REFERENCE_ID.LBL to display the dimension. You will modify rules that uses REFERENCE_ID.LBL to use new rules and the new label template, REFERENCE_ID_COLOR.LBL.

  1. Select File | Reporting | Edit | Report Template, and open CADONLYREF_ID.RTP.

  2. Display the Properties dialog box.

  3. Select the CadReportObject1 object from the list of objects.

  4. In the Properties dialog box, expand the Standard list and click Rules next to the Rule Tree property. The Rule Tree Editor opens.

  5. Click the Import button, select CAD2.RUL, and then click Open. Your report template now includes the same rules that are used in the CAD portion of the TextAndCAD report template.

  6. In the Rule Tree Editor, click on Dimension Location, and select the rule that says Use Template "Reference_ID.lbl".

  7. Click Edit. The Edit Rule dialog box appears.

  8. Change the Label Name from "Reference_ID.lbl" to "Reference_ID_Color.lbl". You can do this by typing or by clicking the ... button and navigating to this file.

Goto Previous Tutorial StepGoto Next Tutorial Step