Commands
All commands must be run from within an active Civil 3D drawing document. Invoking a command without an open drawing will have no effect.
Command summary
Grading workflow
| Command | Ribbon button | Description |
|---|---|---|
DRTWRK_PRE_FILE_CHECK | Pre File Check | Validate drawing geometry before running 2D or 3D checks. |
2DLINEWORK | 2D Checks | Validate and repair 2D lot geometry before grading. |
3DLINEWORK | 3D Checks | Create and extend 3D feature lines for grading. |
LOTZONEGRADING | Lot & Zones Grading | Open the grading viewer and submit lots and zones for grading. |
Settings and presets
| Command | Ribbon button | Description |
|---|---|---|
GRADINGSETTINGS | Grading Settings | Configure grading defaults such as slopes, setbacks, and constraints. |
GRADINGCONSTRAINTS | Geometry Settings | Configure geometry preparation defaults used before grading. |
LOTPRESETS | Lot Presets | Create, edit, and assign lot presets. |
ZONEPRESETS | Zone Presets | Create, edit, and map zone presets. |
Account and support
| Command | Ribbon button | Description |
|---|---|---|
DRTWRKACCOUNT | Account / Login | Sign in to your drtwrk account. |
DRTWRKUPDATES | Check for Updates | Check for and install plugin updates. |
BUGREPORT | Bug Reporting | Submit a bug report from inside Civil 3D. |
TUTORIAL | Tutorial | Open the in-plugin introduction to the tools. |
2DLINEWORK
How to invoke
- Type
2DLINEWORKin the Civil 3D command line, or - Click the 2D Checks button in the Core Tools panel of the DRTWRK Tools ribbon.
Prerequisites
- An active drawing is open.
- Layers are configured in the Layer Review modal.
What it does
Validates and prepares 2D closed polylines for submission. Checks that polylines are closed, validates lot labels, flags gaps, overlaps, and invalid geometry, then serializes the linework into the drtwrk 2D format. Displays results in the Grading Prep Review panel for review and correction before advancing to the 3D step.
Details: 2D Checks
3DLINEWORK
How to invoke
- Type
3DLINEWORKin the Civil 3D command line, or - Click the 3D Checks button in the Core Tools panel of the DRTWRK Tools ribbon.
Prerequisites
- The 2D Checks step has been completed and submitted.
- Projection surfaces are configured in the Layer Review modal.
What it does
Repeats the 2D geometry processing, then creates permanent 3D feature lines in a specified Civil 3D site. Reads Z values from all selected polylines, validates elevation consistency across lot boundaries, extends unconnected endpoints to projection surfaces, assigns elevations from those surfaces, and flags 3D-specific errors. Results appear in the Grading Prep Review panel.
Details: 3D Checks
LOTZONEGRADING
How to invoke
- Type
LOTZONEGRADINGin the Civil 3D command line, or - Click the Lot & Zones Grading button in the Core Tools panel of the DRTWRK Tools ribbon.
Prerequisites
- The 3D Checks step has been completed and submitted.
- Permanent 3D feature lines exist in the drawing.
What it does
Opens the grading modal populated with lot and lot line data from the drawing. Allows you to assign presets, adjust point elevations, and configure grading parameters, then submit the job to the drtwrk cloud grading engine. After the engine processes the job, a TIN surface is created, feature lines are added as breaklines, and spot elevations and slope labels are placed in the drawing.
Details: Lot & Zones Grading
Ribbon panels
After installation, the DRTWRK Tools ribbon tab appears in Civil 3D with the following panels:
Pre File Check panel
| Button | Description |
|---|---|
| Pre File Check | Validates drawing geometry before you run 2D or 3D checks. Runs the DRTWRK_PRE_FILE_CHECK command. |
This panel is not shown in every workspace. If you do not see it, start with 2D Checks instead.
Core Tools panel
| Button | Description |
|---|---|
| 2D Checks | Runs the 2DLINEWORK command. |
| 3D Checks | Runs the 3DLINEWORK command. |
| Lot & Zones Grading | Runs the LOTZONEGRADING command. |
Grading Settings panel
| Button | Description |
|---|---|
| Grading Settings | Review and edit grading defaults such as slopes, setbacks, and constraints. Runs GRADINGSETTINGS. |
| Geometry Settings | Review and edit geometry preparation defaults used before grading. Runs GRADINGCONSTRAINTS. |
| Zone Presets | Create, edit, and map zone presets. Runs ZONEPRESETS. |
| Lot Presets | Create, edit, and assign lot presets. Runs LOTPRESETS. |
Account/Support panel
| Button | Description |
|---|---|
| Account / Login | Sign in to your drtwrk account. Required before using any other commands. Runs DRTWRKACCOUNT. |
| Bug Reporting | Send a bug report to the drtwrk support team directly from Civil 3D. Runs BUGREPORT. |
| Tutorial | Opens the in-plugin introduction to the drtwrk Civil 3D tools. Runs TUTORIAL. |
| Check for Updates | Manually trigger an update check. The plugin also checks automatically on startup after a 5-second delay. Runs DRTWRKUPDATES. |