Drawing and template management tools

Last updated: 2025-04-28

Commands for style management

Command Description

DOTReportStyles

Creates a report in Excel format of all of the styles in the active dwg.

Format: StyleType,Name,CreatedBy,DateCreated,ModifiedBy,DateModified,IsUsed

DOTReportDefaultStyles

Creates a report in CSV format of all the default style settings.

Format: ObjectType,SettingType,Command,Property,Style

DOTFindNamedPlotStyles

Lists all styles in the active dwg that contain a named plot style. Results shown in command line.

DOTReportExpressions

Creates a report in Excel format of all of the expressions in the active dwg.

Format: ObjectType,SubType,Name,Description,GUID,Formula

Commands for parts list management

Command Description

DOTListPartsListsRules

Creates a report in CSV format that lists all used pipe and structure rules.

Format: PartsList,PartType,PartFamily,PartSize,RuleName

DOTPartsListOrganizer

Opens a dialog to organize the part family and/or part size order in a parts list.

  1. Select the parts list from the drop-down menu.
  2. Current order of part families and part sizes is shown in a tree view.
  3. Select "Pipes Order" tab or "Structures Order" tab.
  4. Re-order as desired using the following options:
    1. Drag 'n' Drop
    2. Select a family or size and use "To Top" or "To Bottom" buttons
    3. Select the family level of the tree and click "Alphabetize" to reorder part families in alphabetical order
    4. Select the part size level of the tree and click "Alphabetize" to reorder part sizes within the family in alphabetical order
  5. Enter a name to create a new parts list (cannot overwrite the current parts list).

DOTValidatePartsListsPayItems

For the active dwg, verifies that all pay items used in all of the parts lists are included in the assign pay item file. Results shown on the command line.

DOTPlaceAllParts

Places all parts from a selected parts list into the current dwg, ordered by family from left to right, starting with the pipes and then the structures. The part sizes are placed from top to bottom under each family. Each part is label with the Part Size Name (label styles are created).

  1. Select the parts list from the drop-down menu
  2. Pick a point representing the upper left location to begin placing the parts
  3. The parts are then placed in the dwg

Commands for subassembly management

Command Description

DOTFixSubPaths

For the active dwg, any subassembly paths that are in C:\ProgramData\Autodesk... and not pointed to the current Civil 3D version, are corrected to point to the current Civil 3D version (ex. ...\C3D 2024\enu\Imported Tools...)

DOTReportStringParameters

Creates a report in Excel format of all the subassembly string parameters in the current dwg.

Format: Assembly,Subassembly,SubassemblyName,Key,DisplayName,Value,Description

Commands for block management

Command Description

DOTReportBlocks

Creates a report in Excel format of all of the blocks in the active dwg.

Format: Name,IsUsed

DOTXRefFindReplace

Opens a dialog to change XRef paths in multiple dwg files.

  1. Under Targeted Folders - Include, Add the folders that contain the dwg files to target.
  2. Under Targeted Folders - Exclude, Add the folders contained in the included folders that should be excluded.
  3. Find: Enter the XRef path or portion of the path to search for.
  4. Replace: Enter the XRef path or portion of the path to take the place of the "Find".
  5. DWG Timeout: Enter the number of minutes Civil 3D should spend trying to open a dwg.
  6. OK

A log file with the results is shown.