Exercise 6: Working with Rate Item Formulas

In this exercise, you will build a mathematical formula that applies a rate item to a corridor at a specified interval.

In the example used in this exercise, the rate item formula adds recessed pavement markers at 10-foot intervals along the corridor. Similar applications of this formula include lane striping and quantity of posts along a guardrail or fence.

Formulas can also be used to convert rate item quantities from one unit of measure to another. For example, you could create a formula that converts square yards of a given rate item to tonnage.

Rate item formulas, label expressions, and design checks are created in a similar manner. However, unlike label expressions and design checks, rate item formulas are not saved in the current drawing. You will learn how to save and manage rate item formula files in this exercise.

This exercise continues from Exercise 5: Working with Quantity Reports.

Create a rate item formula

  1. Open Quantities-6.dwg, which is located in the tutorials drawings folder.

    This drawing contains a commercial site, which consists of a building footprint, a parking lot, and access roads.

  2. In the drawing, select the side road corridor. Click Corridor tab Modify panel Corridor Properties drop-down Corridor Properties Find.
  3. In the Corridor Properties dialog box, on the Feature Lines tab, in the Crown row, click .
  4. In the Rate Item List dialog box, expand the Favorites category.
  5. In the Favorites category, select Rate Item ID63407-0000.
  6. In the Rate Item ID number 63407-0000 row, click the Formula cell.

    You are notified that rate item formulas must be written to an external file. After the formula file has been saved, it remains associated with the current drawing. Other formulas that you write in the current drawing will be saved to the same formula file.

  7. Click OK.
  8. In the Specify A Quantity Takeoff Formula File dialog box, navigate to the My Civil 3D Tutorial Data folder.
    Best Practice:

    Save the rate item formula file in the same location as either the drawing with which it is used, or the master rate item list. If you send the drawing to another user, you must also send the formula file.

  9. For File Name, enter Tutorial_QTO_Pay-Item-Formulas.for. Click Save.
  10. In the Rate Item Formula dialog box, click . Click TRUNC.
  11. Click . Click Item Length.
  12. Using either your keyboard or the buttons on the QTO Rate Item Formula dialog box, enter /10)+1 in the Expression field.

    When you are finished, the formula in the Expression field should look like this:

    TRUNC({Item Length}/10)+1

    This formula truncates the feature line length to an integer value, and then divides it by ten. The resulting value is used as the rate item count for the recessed pavement marker. If there is a remainder from dividing the feature line length by ten, then one recessed pavement marker is added to the sum.

  13. Click OK.

    In the Rate Item List dialog box, in the Rate Item ID number 63407-0000 row, a is displayed in the Formula cell. This indicates that a formula has been added to this rate item.

  14. Click OK twice.

Generate a detailed quantity takeoff report

  1. Click Analyze tab QTO panel QTO Manager Find.
  2. In the QTO Manager vista, in the Favorites category, select the Rate Item ID63407-0000 row.
  3. Click Analyze tab QTO panel Takeoff.
  4. In the Compute Quantity Takeoff dialog box, specify the following parameters:
    • Report Type: Detailed
    • Report Extents: Drawing
    • Limit Extents to Alignment Chainage Range: Selected
    • Alignment: Side Road
    • Report Selected Rate Items Only: Selected
    • Report Chainage And Offset Relative To: Side Road
  5. Click Compute.
  6. In the Quantity Takeoff Report dialog box, in the drop-down menu, select Detailed Count (HTML).xsl

    Scroll through the report and examine the Recessed Pavement Marker rate items. The alignment is 1090 feet long. The formula you created divided the alignment length by ten, which resulted in the quantity of 110.

  7. Click Close twice.

Load a different formula file

  1. Click Analyze tab QTO panel QTO Manager Find.
  2. In the QTO Manager vista, click OpenFormula File.

    Use the Open dialog box to navigate to an existing rate item formula file. You can have several formula files available, and switch between them as needed.

  3. Click Cancel.

To continue this tutorial, go to Exercise 7: Creating a Rate Item List.