Dynamo for Civil 3D: 10 scripts that automate repetitive work, and when to move to a plugin
10 Dynamo scripts for Civil 3D: stakeout from Excel, cut and fill tables, pipe slope checks, layer standards and more. Plus when a plugin makes sense.
Civil 3D · Dynamo
Dynamo already ships with Civil 3D. What's usually missing is knowing what to automate first.
Ten scripts that solve real infrastructure tasks (stakeout, grades, pipes, drafting standards), what each one needs, how to put them in the whole team's hands with Dynamo Player, and when it pays to turn them into a plugin.
Dynamo is already installed. The question is what to do with it
Almost every office running Civil 3D has Dynamo, and few use it day to day. It isn't lack of interest: tutorials teach you how to connect nodes, not which project task to automate first.
This guide works the other way around. It starts from infrastructure tasks that repeat on every project and shows the script that solves each one, what it needs and which release it runs on.
How a Dynamo script becomes part of the office routine
Repetitive task
With a clear rule
Dynamo script
Built and tested
Dynamo Player
The whole team, one click
C# plugin
When it's used daily
Dynamo for Civil 3D, in 7 blocks
What each release includes, ten scripts for real infrastructure tasks, how to share them with the whole team and when it's time to move to a plugin.
- 01Basics
What Dynamo brings
Releases, out-of-the-box nodes and packages
- 02Alignments
Scripts 1 to 3
Blocks by station, stakeout from Excel and numbering
- 03Data
Scripts 4 to 6
Cut and fill table, point export and sample lines
- 04Checking
Scripts 7 to 10
Pipe slopes, drafting standards, labels and draped polylines
- 05Team
Dynamo Player
The script for the whole team, one click
- 06Method
Good practices
Make the script last beyond whoever built it
- 07Decision
When to move to a plugin
The signal: the whole office uses it every week
Dynamo has shipped with Civil 3D since 2020. It lives on the top toolbar, Manage tab, Visual Programming panel. Dynamo Player sits right next to it, included since the 2020.2 update.
Out-of-the-box nodes grew a lot in 2025. The 2025.1 update added 1,120 new nodes to the 226 that already existed: corridors, alignments and profiles, surfaces, pipe and pressure networks, feature lines, parcels, COGO points, property sets, layouts and viewports, among others. 2025.2 added 62 label nodes, and 2026 added catchments and feature lines created from a list of points.
The practical consequence: a script built with the new nodes won't run on earlier releases. If your office mixes versions, decide which one each script targets.
The packages that cover the rest:
- Camber: open source, with hundreds of nodes for labels, data shortcuts, xrefs, styles, sample lines and pipe networks.
- Civil 3D Toolkit: a large inventory of additional nodes for Civil 3D.
- The Civil Nodes: more than 850 nodes for Civil 3D 2025.1 and later. It continues the Arkance Systems library, which stopped working with Civil 3D 2025.
Script 1. Place blocks along an alignment.
- What it does: places a block — light pole, sign, station marker, proposed manhole — at a set interval and offset from the centerline, rotated to the alignment's direction and set at the surface elevation.
- What it saves: copying, rotating and adjusting by hand, and redoing it every time the alignment changes.
- What it needs: out-of-the-box alignment, surface and block nodes. If the alignment changes, you run it again and everything is re-placed.
Script 2. Stakeout points from an Excel table.
- What it does: reads a table with station, offset and description — for example, the edges of pavement every 50 ft — and creates the COGO points with their number, coordinates and elevation.
- What it saves: calculating coordinates by hand and the typos in the staking list.
- What it needs: Dynamo's Excel nodes plus the out-of-the-box alignment and COGO point nodes. The result is a point group ready for the total station or GNSS rover.
Script 3. Rename and number to the standard.
- What it does: renames alignments, profiles, surfaces or network structures following the office convention, such as CL-01, CL-02 or MH-001 in the direction of flow.
- What it saves: endless clicks, and inconsistent names that later break tables and data shortcuts.
- What it needs: reading the objects, sorting them by station, position or flow direction, and assigning the name by rule. For network structures, out-of-the-box nodes since 2025.1, or Camber before.
Script 4. Cut and fill table to Excel.
- What it does: walks the alignment at a set interval, or at the stations you list, and exports to Excel the station, existing ground elevation, finished grade elevation and cut or fill depth.
- What it saves: the table built by hand for the plans, which has to be redone every time the profile changes.
- What it needs: out-of-the-box profile nodes and the Excel nodes.
Script 5. Export COGO points by code or group.
- What it does: exports only the points with a given code, such as EP or CL, or from a group, in the order, columns and format the field crew or the client asks for. One file per code, one click.
- What it saves: filtering and reordering in Excel before every delivery. Civil 3D already exports points; the script adds what the command doesn't: the same format every time, for every group at once.
- What it needs: out-of-the-box COGO point and point group nodes, plus the Excel or text file nodes.
Script 6. Sample lines at the stations in a table.
- What it does: creates the sample lines for cross sections at the exact stations in a list (the ones in the plans, the control points, the section changes), with the swath width you set on each side.
- What it saves: creating sections one by one when they don't fall at regular intervals.
- What it needs: on Civil 3D 2025.1 or later, out-of-the-box sample line nodes; on earlier releases, Camber.
Script 7. Check pipe slopes.
- What it does: walks the sewer network, calculates the slope of every pipe and flags the ones below your standard's minimum or above the maximum, with a report in Excel.
- What it saves: checking pipe by pipe before every submittal, and the reviewer's comments.
- What it needs: out-of-the-box pipe network nodes since 2025.1, or Camber before. The minimum-slope criterion comes from your local standard — in much of the US, the Ten States Standards or your state's rules — and you set it in the script.
Script 8. Verify layer and style standards.
- What it does: checks that every object is on the layer and uses the style required by your office or client standard, and returns a list of what doesn't comply, or fixes it.
- What it saves: the visual check before every submittal and the rejections over formatting.
- What it needs: out-of-the-box object and layer nodes, plus an Excel table with the standard, so you can change it without touching the script.
Script 9. Automatic labels.
- What it does: labels stations, ground elevations, slopes or points with the right label style, on every object at once.
- What it saves: labeling one by one and missing some.
- What it needs: on Civil 3D 2025.2 or later, out-of-the-box label nodes; before that, Camber.
Script 10. Drape polylines onto the surface.
- What it does: turns the 2D polylines of a drawing — edges of pavement, ditches, fences — into 3D polylines or feature lines at the surface elevation, to use as breaklines or in the design.
- What it saves: Civil 3D does this object by object with its command; the script does it for every polyline on a layer at once, with the right name and style for each.
- What it needs: out-of-the-box surface and feature line nodes. Since the 2026 release, one node creates the feature line straight from a list of points.
The Dynamo editor intimidates anyone who didn't build the script. Dynamo Player solves that: it lists the scripts in a folder and runs them with one click, without opening the editor. It's on the top toolbar, Manage tab, Visual Programming panel.
- Inputs up front. The values that change on each run — the alignment, the interval, the Excel file — are marked as inputs in the script, and the Player shows them as a simple form.
- Pick in the drawing. Since 2025.2, a node lets the user pick a point in the drawing while the script runs from the Player.
- One shared folder. Approved scripts live in a network folder, so the whole team runs the same version.
- One task per script. It's easier to test, explain and maintain.
- Group and name the blocks — inputs, calculation, output — and write notes. Whoever opens it a year from now should understand it without calling you.
- No hidden values. Distances, layers and styles go in as inputs or in an Excel table with the standard.
- Use the OpenXML-based Excel nodes. They don't need Excel installed, and since Dynamo 3.5 they replace the legacy nodes.
- Write down the release of Civil 3D and of the packages it works with. An updated package can break a script.
- Test on a copy of the drawing, and check one stretch before running it on the whole project.
- Keep scripts under version control, not on the desktop of whoever wrote them.
Dynamo is ideal for proving an automation quickly. Its limits show up as usage grows: it slows down with thousands of objects, depends on third-party packages and on the release, anyone can open it and break it, and it has no interface with its own validation.
| Criterion | Dynamo script | C# plugin |
|---|---|---|
| Development time | Days | Weeks |
| Who uses it | Whoever knows Dynamo or the Player | The whole office, with a button |
| With thousands of objects | Slow | Fast |
| Dependencies | Packages to install on every machine | Installs with everything it needs |
| Interface | Basic | Its own windows and validation |
| Best for | Testing an idea and one-project tasks | Daily production and company standards |
The rule of thumb: if the whole office uses a script every week, it's a plugin candidate. We explain it in Dynamo vs C#, which one fits each case, and the budget in how much a Revit or Civil 3D add-in costs.
Related resources
- The cluster guide: automating Civil 3D, the complete guide.
- Which tool to use: Dynamo vs C#, which one fits each case.
- When Dynamo isn't enough: Civil 3D API in C#, getting started.
- The roadway model: the Civil 3D corridor tutorial.
- The same in Revit: the 12 Revit tasks that save the most time.
- Scripts with AI help: Dynamo and C# with AI.
- Surfaces and contours: Civil 3D contours from Google Earth or a survey.
- AI in CAD: AI for AutoCAD and Civil 3D, what exists in 2026.
Frequently asked questions about Dynamo for Civil 3D
It's a visual programming tool included with Civil 3D since the 2020 release. Instead of writing code, you connect blocks called nodes that read data from the drawing, calculate, and create or modify objects: alignments, COGO points, surfaces, pipe networks and more. It automates repetitive tasks with clear rules, and scripts run with one click from Dynamo Player.
Found this useful? Share it with whoever in your office repeats the same task on every project. Releases and nodes checked against Autodesk and Dynamo release notes as of October 2026.
Keep reading on this topic
Automating Civil 3D: The Complete Guide (2026)
What you can automate in Civil 3D and how: Dynamo, Python, C# and AutoLISP compared, the 15 automations with the best ROI, and which to build first.
Stop tracking quantity takeoffs in Excel: the guide for engineering firms
Why tracking quantity takeoffs in Excel costs hours and errors with every design change, and how to pull them from the Civil 3D or Revit model.
Automated Plan Production in Civil 3D and Revit: Plan and Profile Sheets, Sections and Sheet Sets in Minutes
How to generate sheets automatically in Civil 3D and Revit: plan and profile, sections and sheet sets with your title block and naming, in minutes.
Contours in Civil 3D: from Google Earth and satellite elevation models to your survey, step by step
How to get contours in Civil 3D: why Google Earth won't export terrain, which elevation model to use and how to build the surface step by step.