Miscellaneous quantities sheets
Last updated: 2024-05-17
Total video time: 26:46
Example sheets: 030201-mq.pdf
Option 1: Using WisDOT Excel Add-In with data links and tables
Excel named ranges and Civil 3D data links and tables
Video: pln-prod-misc-qnty-01.mp4 3:37
Dataset: pln-prod-mq-opt-begin-data-c3d22.zip
The paste link method of pasting an Excel table into Civil 3D does not result searchable text within the PDF of the miscellaneous quantities sheets. The quantities tables end up being raster images in the final printed product. Also, at times, the paste link method can be unstable. The following workflow utilizes Excel named ranges, Civil 3D Data Links and a custom Civil 3D table style to stylize and place MQ tables in the Civil 3D plan sheet.
Excel spreadsheet storage location
Store Excel miscellaneous quantities files in the Civil 3D Project directory, under dsgn\qty\mq. The Data Link tool works best with a relative path so storing the miscellaneous quantities Excel files in the project directory is of priority.
Merge & Center
Cells that contain text that is too large to fit within that cell must be expanded. Use the Merge & Center command followed by the Left Align tool to merge multiple cells and allow the text to fit within a single cell.
Gridlines
If grid lines are visible in Excel, they will print from Civil 3D. In Excel, View Tab > Show Panel > Uncheck Gridlines
Create Excel named ranges
Video: pln-prod-misc-qnty-02.mp4 4:45
To create the miscellaneous quantities tables in Civil 3D, a named range is required for each quantities table in Excel. This allows a link to be created between the Excel file and Civil 3D drawing. The following workflow utilizes a custom WisDOT tool to create named ranges.
Requirement: The WisDOT Excel add-in must be installed to run the Data Link Named Range tool. For external partners, the WisDOT Excel add-in is available on the Wisconsin Department of Transportation Civil 3D file descriptions (wisconsindot.gov). Internal users should see Autodesk Civil 3D 20XX -Excel Add-In in Software Center.
Create named ranges for quantities tables
See complete tool documentation here: Excel - Data Link Named Range (wi.gov)
- In Excel, select the range of cells you wish to create a named range from.
- WisDOT Civil 3D Tab > Data Link Named Range
- A named range will be created using the Excel worksheet name.
- Naming Convention: DL_Worksheet_Name
- All spaces are replaced with underscores(_)
- Special characters are not allowed in the Excel named ranges. Only use letters, numbers, periods, and underscore characters in the sheet name.
- Repeat for other quantities tables and worksheets.
- If multiple tables exist on one Excel worksheet, a custom named range dialog box will appear. Enter a custom name for the table.
- Save the Excel File.
- Repeat for other quantities Excel workbooks.
Create data links to Excel file
Once the named ranges are established in the Excel Workbooks, they need to be linked to the Civil 3D miscellaneous quantities file. Civil 3D data links will be utilized to create this link.
Video: pln-prod-misc-qnty-03.mp4 4:16
Dataset: pln-prod-mq-opt-03-data-c3d22.zip
Create quantities drawing
- WisDOT Sheets Tab > Sheet Creation Panel >
- From the palette, click 03- Misc Quantities Speed Sheet
- A new drawing will be created from the 03-MQ-SPSHT.dwt template.
- Save the drawing in the sheets folder, 030201-mq.dwg, or following FDM File Naming Conventions.
Create data links
See complete tool documentation here: Sheet Tools - Create data links and tables (wi.gov)
WisDOT Sheets Tab > Sheet Creation Panel > Sheet Tools > Create Data Links and Tables
or Command Line: DOTCreateDataLinksAndTables
- Data Links tab
- Click the to select the Excel File containing the tables to be inserted.
- The named ranges list will populate with all named ranges within the Excel File.
- Use Filter to filter the named ranges if desired
- For Example DL*
- From the list, select all named ranges to be made into a data link. One data link is required for each table that will be created in Civil 3D.
- Use Ctrl + Select and/or Shift + Select to select the named ranges desired.
- Click Select All to select all named ranges and Deselect All to deselect all named ranges.
- Path Type: Relative Path should be chosen if the Excel file is within the Civil 3D project
- It is recommended to always store the Excel file within the Civil 3D project
- Settings (Recommended to leave defaults)
- Allow writing to source file: This allows the source Excel file to be directly edited from Civil 3D
- Use Excel Formatting: All formatting established in the Excel file will be displayed in the Civil 3D AutoCAD table
- Click OK to create the Data Links
- Once finished, Process Complete will show at the bottom of the dialog.
- Click the to select the Excel File containing the tables to be inserted.
Create Civil 3D tables
Video: pln-prod-misc-qnty-04.mp4 4:47
Dataset: pln-prod-mq-opt-04-data-c3d22.zip
Now that the link from the Excel sheet has been made to the Civil 3D drawing, a table can be created in Civil 3D. The table data link will create an AutoCAD table in model space while consuming formatting and the table data through the data link from the Excel sheet. Some formatting of the table comes from the Civil 3D table style which is why it is important to use the WisDOT Standard table style.
Dynamic Relationship: The link between the Excel file and Civil 3D drawing is maintained and is dynamic. The table can be edited in Civil 3D and changes pushed back to the Excel file, or the Excel file can be updated and consumed in the Civil 3D drawing.
WisDOT Tool: Create Data Links and Tables
See complete tool documentation here: Sheet Tools - Create data links and tables (wi.gov)
- Tables tab
- Once data links are created in the drawing, the Tables tab list will populate with all data links that are available. This tab is used to create the tables in model space.
- Use the Filter to filter or search the list if desired.
- Select which data links to be made into tables in Civil 3D.
- Users have the choice to place one, multiple, or all the tables in one action.
- Table Style: WisDOT Standard is the WisDOT default and should be used.
- Click OK to place the tables selected from the list.
- If multiple datalinks are placed, the tool will build the tables in one single row
- Click a location in model space to place the table(s). With the dialog box open, users can also adjust the location of tables already placed in model space.
The process of creating tables from data links can be a bit time consuming. While it is possible to create tables from every single data link, it could take considerable time to do so.
Once the tables are created, they will automatically update with any changes made to the original named range in Excel. If the table/named range expands in rows/columns, the table in Civil 3D will also update. Ideally, once a table is created from a named range, that table will no longer need to be created in Civil 3D.
Table adjustments, updates, and grid lines
Video: pln-prod-misc-qnty-05.mp4 9:21
Dataset: pln-prod-mq-opt-05-data-c3d22.zip
Adjust the table dimensions
When inserted, the row and column widths do not exactly match the formatting set within Excel. While the table style mostly takes care of row height, the column width needs to be manually adjusted. Adjusting the table utilizing the grips does not affect the display of the text contained within the table.
- Select the table boarder.
- Select one of the grips to adjust the column widths.
- The square grips on the interior will adjust the column widths.
- The triangle grip on the top right will adjust the overall table width and adjust the columns accordingly. This may be the best option for most tables.
Info: Updating data links and tables will override any table dimension adjustments completed in Civil 3D. It is best to format tables in Excel as best as possible and leave the table dimensions after they are built in Civil 3D.
Updates to a data link and table
Civil 3D data links and tables do not automatically update after the Excel file is saved or the DWG is opened. Once the DWG is open, the data links update process needs to be manually initiated. Prior to updating any tables or data links in Civil 3D, the Excel file must be saved.
Info: Updating data links and tables will override any table dimension adjustments completed in Civil 3D. It is best to format tables in Excel as best as possible and leave the table dimensions after they are built in Civil 3D.
Option A:
- Annotate tab > Tables > Download from Source
- Select which tables to update or choose all data links from the command line.
Option B:
- Select the table to be updated > Right Click > Update Table Data Links
Option C:
- Click one specific cell in a table > contextual ribbon > Download from Source
Tip: Every now and then, and especially prior to plotting to PDF, it is recommend to use Option A along with all data links to make sure all data links are updated to the latest version from the Excel File.
Display of table gridlines in Civil 3D
When placing the tables in model space in Civil 3D, even though the gridlines are turned off in Excel, the AutoCAD table gridlines will still display.
Once the table is actually printed to PDF the gridlines will not appear, but the formatting for cell borders set within Excel will show in the PDF.
If desired to turn off the gridlines, the layer Defpoints can be turned off.
Home Tab > Layers Panel > Layers drop-down > Turn off Defpoints
Option 2: Using paste special links
Warning: This method has a known issue associated with it. Please see Known issue - Excel Civil 3D quantities "Microsoft Excel is waiting for another application to complete an OLE action." for more information.
Create file from speed sheet template
pln-prod-misc-qnty-06.mp4 3:42
- Civil 3D App menu > New
-
C:\wisdot\Stnd\C3D20XX\Templates\Sheets\03-MQ-SPSHT-wdot22.dwt Open
There are 20 preset rectangles in modelspace associated with 20 layouts. Instructions for using the file are above the sheet rectangles.
-
- Civil 3D App menu > Save As
- ProjectID\SheetsPlan\030201-mq.dwg Save
- Zoom to rectangle labeled LAYOUT1
- In Excel
- Open Excel spreadsheet with table of miscellaneous quantities.
- Format the content with Font: Calibri Light, Font Size: 8. This will make the excel content mirror how it looks once pasted into Civil 3D.
- Make any visual changes desired in Excel (turn off gridlines, resize column widths, wrap text in cells)
Link Excel file to DWG
pln-prod-misc-qnty-07.mp4 4:31
Tip: It is recommended to store Miscellaneous Quantities Excel spreadsheets in <ProjectID>\Design\Quantities\MQ within the Civil 3D project.
- In Excel
- Select the range of cells to be placed in the plan sheet.
- Copy the range to the clipboard (Ctrl+C or Copy from the Microsoft Excel Ribbon)
- Activate Civil 3D
- Home tab > Clipboard panel > Paste drop-down > Paste Special
- Paste Link: checked
- As: Microsoft Excel Worksheet
- OK
- Digitize the location to place the table. If the table is to big for the view frame, re-organize/split the table in excel and re-copy to Civil 3D. Do not resize/scale the table in Civil 3D to fit.
- If rows and/or columns of content are added in Excel, the Paste Link will not increase in size. It is easiest to delete the existing Paste Link and recreate it from Excel.
- Borders will show around the Paste Link objects in the layouts. These borders will not plot.
- Add the layouts to the project sheet set for automatic update of the layout title block information and publishing to pdf. See Add sheets to sheet set manually #add for instructions.