In this exercise, you will add content to a sample pay item list, update the categorization file, and then examine the results.
You can use this workflow to create custom pay item lists and categorization files from existing data.
This exercise continues from Exercise 6: Working with Pay Item Formulas.
Create a new pay item list
This drawing contains a commercial site, which consists of a building footprint, a parking lot, and access roads.
The pay item list opens in Microsoft Excel. Notice that the Pay Item, Item Description, and Unit_E columns correspond to the Pay Item ID, Description, and Unit Type columns in the QTO Manager vista. You can use this structure to create a custom pay item list, and then save it as a CSV file.
Pay Item | Item Description | Unit |
---|---|---|
14101-0025 | SIGN, SPEED LIMIT, 25 | EACH |
14101-0030 | SIGN, SPEED LIMIT, 30 | EACH |
14102-0011 | SIGN, RIGHT TURN ONLY | EACH |
14102-0012 | SIGN, RIGHT TURN OR STRAIGHT | EACH |
14102-0020 | SIGN, LEFT TURN ONLY | EACH |
Update the pay item categorization file
You can use any XML editor to modify the pay item categorization file.
The categorization file opens in Notepad.
<category type="value" start="" end="" title="Division 150" description="Project Requirements"> <category type="value" start="" end="" title="Group 151" description="Mobilization"> <category type="value" start="15101" end="" title="Section 15101" description="Mobilization"/> </category>
Compare this content to the categories displayed in the QTO Manager vista. The Start values specify the pay items that are in each category. For example, pay items that start with 15101 are included in the Section 15101 category.
You will use this structure as a basis to create a new set of categories.
<category type="value" start="15101" end="" title="Section 15101" description="Mobilization"/>
Start | End | Title | Description |
---|---|---|---|
Division 140 | Traffic Control | ||
Group 141 | Signs | ||
14101 | Section 14101 | Speed Limit | |
14102 | Section 14102 | Traffic Direction |
When you are finished, the new code should look like this:
<category type="value" start="" end="" title="Division 140" description="Traffic Control"> <category type="value" start="" end="" title="Group 141" description="Signs"> <category type="value" start="14101" end="" title="Section 14101" description="Speed Limit"/> <category type="value" start="14102" end="" title="Section 14102" description="Traffic Direction"/> </category> </category>
Load the updated files into a drawing
The Pay Item File and Pay Item Categorization File are located in the My Civil 3D Tutorial Data folder.
Notice that the new pay items and categories are present.