The first Dynamo graph I ever built did something so small that I am almost embarrassed to describe it. It read a column of numbers from a spreadsheet and wrote them into a parameter on a set of rooms. That was all. And yet, as I watched the values appear in the model one by one, I experienced something I had not felt since I first saw a schedule update itself: the sense that the computer could be given a rule and could be trusted to keep it. I had written no code. I had connected a few boxes with lines. The boxes were called nodes, and each did one simple thing: read a file, select elements, get a value, set a value. The lines showed how data flowed from one box to the next. The whole thing was readable, almost like a diagram of the task itself.
That readability is the point of Dynamo, the visual programming environment that works with Revit and, as a standalone program, with geometry and data on their own. It is open source, developed by a community with Autodesk’s sponsorship, and shipped as part of Revit. For BIM professionals who are not programmers, it is often the first step from clicking to automating. For those who are, it is a convenient way to prototype and share. It handles two broad kinds of work: data workflows (reading, transforming and writing information in the model and in files) and geometry workflows (generating and manipulating forms). Its limits are equally clear: large graphs get unwieldy, versions and packages can break and a visual program is still a program that needs testing and ownership.
This guide explains Dynamo for BIM automation. It covers what Dynamo is and how it relates to Revit, the building blocks (nodes, wires, lists, lacing, groups, custom nodes, code blocks and Python), a walk-through of a typical data workflow, good graph habits, sharing and running graphs (including Dynamo Player), version and package compatibility (including the move to .NET 10 in Dynamo 4.x), testing and governance, when to choose other tools and the mistakes to avoid. It supports BIM Automation: The Complete Guide and complements Computational BIM: Getting Started with Grasshopper and Visual Programming and Python for BIM Professionals: Automation and Data Processing. Dynamo changes your model. Work on copies, keep backups and verify results. Details vary by version; check the Dynamo documentation for yours.
The Short Answer

| Stage | What happens |
|---|---|
| Inputs | Selections, parameters, file paths |
| Filter | Select and clean the elements |
| Process | Compute, map and transform data |
| Act | Set parameters, create elements, export |
| Check | Verify, report and log |
In one sentence:
Dynamo lets you build repeatable data and geometry workflows by connecting nodes; keep graphs small, readable and tested, and treat them as software.
What Dynamo Is
| Aspect | Notes |
|---|---|
| Visual programming | You build programs by placing nodes on a canvas and connecting their outputs to inputs |
| Open source | Developed in the open; code and issues are public |
| Revit integration | Dynamo for Revit adds nodes that select, read, write and create Revit elements; it ships with Revit |
| Standalone use | Dynamo can run without Revit for general data and geometry tasks |
| Packages | A package manager distributes community and commercial node libraries |
| Languages | A visual graph, a text-based language for code blocks, and Python nodes |
| Current generation | Dynamo 4.x runs on the .NET 10 runtime. A published review reports that Dynamo 4.0.2 runs on .NET 10 with Revit 2027, with much faster geometry operations in complex parametric workflows |
Dynamo sits on the second rung of the automation ladder: more flexible than native features, more accessible than code. See BIM Automation: The Complete Guide.
The Building Blocks
Nodes and Wires
A node does one job and has inputs and outputs. A wire carries data from an output to an input. A graph is a network of nodes. Data flows left to right.
| Node type | Examples |
|---|---|
| Input nodes | Number, string, boolean, file path, selection |
| Revit selection nodes | Select model element, all elements of category, all elements of type |
| Parameter nodes | Get parameter value by name; set parameter value by name |
| List nodes | Filter, sort, group, transpose, flatten, take, join |
| Math and logic nodes | Arithmetic, comparison, conditions |
| String nodes | Concatenate, replace, split, format |
| File nodes | Read and write spreadsheets, text and data files |
| Geometry nodes | Points, curves, surfaces, solids and operations |
| Custom nodes | Reusable groups packaged as one node |
| Watch nodes | Show data at any point: your main debugging tool |
Lists and Lacing
Dynamo works with lists. If you connect a list of 100 doors to a node that expects one door, Dynamo applies the node to each, according to lacing rules that determine how lists of different lengths combine (shortest, longest, cross product). Lacing and list levels are the most common source of confusion; learn them early, use Watch nodes to see list structure and keep lists flat where you can.
Code Blocks
A code block lets you write short text-based expressions using Dynamo’s own language, often faster than placing many nodes. A simple example creates a range of numbers or defines a point:
0..10..2;
Point.ByCoordinates(0, 0, 0);Use code blocks for small calculations; do not bury important logic in dense, uncommented expressions.
Python Nodes
For logic that is awkward visually (complex loops, string handling, API access), Dynamo offers Python script nodes. According to Dynamo’s documentation for the 4.x line, new Python nodes start with a newer Python engine, and packages built for older Dynamo versions are not guaranteed to work in 4.x. Python inside Dynamo is the bridge to the next rung. See Python for BIM Professionals: Automation and Data Processing and Revit API Programming: The Complete Beginner’s Guide.
Groups, Notes and Custom Nodes
| Element | Use |
|---|---|
| Groups | Colored boxes with titles that organize a graph into steps |
| Notes | Text on the canvas explaining intent, inputs and assumptions |
| Custom nodes | Package repeated logic as a reusable node with documented inputs and outputs |
Good graphs read like a recipe: groups named “1 Inputs”, “2 Filter”, “3 Compute”, “4 Write”, “5 Report”.
A Walk-Through: Writing Data From a Spreadsheet to Parameters
A typical, valuable first graph. (Fictional example for illustration.) Task: a spreadsheet lists door marks and fire ratings; write the fire rating into each door in the model.
| Step | Nodes and actions |
|---|---|
| 1. Inputs | A file path node pointing to the spreadsheet; a read node returning rows; a parameter name string such as “Fire Rating” |
| 2. Get doors | A node that collects all elements of the Doors category in the active document, excluding types |
| 3. Get keys | For each door, get the “Mark” parameter value |
| 4. Match | Build a dictionary or lookup from the spreadsheet (mark to rating); for each door mark, look up the rating; handle marks not found |
| 5. Check before writing | Count doors, count matches, list missing marks; stop if the numbers are wrong |
| 6. Write | Set the parameter value on each door; note that writing happens inside a model change that Revit manages |
| 7. Report | Output a list of changed doors, old and new values, and any exceptions to a file |
| 8. Verify | Open a schedule in Revit; compare with the spreadsheet |
Lessons From This Example
| Lesson | Why |
|---|---|
| Read-only first | Build and test the “read and match” steps before enabling the “write” step |
| Add a safety switch | A boolean input that must be true for writing to occur |
| Always log changes | Old and new values |
| Handle exceptions | Missing keys, duplicates, empty cells |
| Test on a copy | Always |
Common Dynamo Tasks in BIM
| Task | Approach |
|---|---|
| Parameter transfer | Between elements, from linked models, from spreadsheets or to spreadsheets |
| Renumbering | Sequential or rule-based marks, room numbers; also check the native rule-based numbering feature in current Revit |
| Batch view and sheet creation | From lists of levels, areas or names, with templates |
| Room and space data | Copy data from linked architectural rooms to MEP spaces |
| Model checks | Find elements missing a parameter or with invalid values; report |
| Clean-up | Find unused families, unnamed elements, duplicate marks |
| Placement | Place families at points from data (for example sprinklers at grid positions) |
| Geometry generation | Parametric façades, louvers, patterned elements |
| Data export | Prepare tables for analysis, cost or carbon. See BIM Data Analytics: Dashboards, KPIs, and Automated Reporting |
| Quantity workflows | Extract and compute quantities beyond schedules |
Check native features first: some tasks formerly requiring graphs (such as numbering) are now built into Revit. See Autodesk Revit: The Complete Guide for BIM Professionals.
Good Graph Habits
| Habit | Why |
|---|---|
| Plan before wiring | Write the steps in words first |
| Left to right, top to bottom | Readability |
| Group and label | Each group has one purpose |
| Annotate | Notes for inputs, assumptions, outputs |
| Name inputs clearly | “Spreadsheet path”, “Parameter name”, “Write enabled” |
| Keep graphs short | Split big graphs into custom nodes or several graphs |
| Avoid spaghetti | Wires crossing everywhere signal poor structure |
| Use Watch nodes | Inspect intermediate data |
| Handle empty and missing data | Defensive design |
| Separate reading from writing | Safer |
| Include a log or report | Evidence of what happened |
| Version your graphs | File names or a repository, with change notes |
| Test with edge cases | Empty selections, duplicates, odd characters |
| Document use | A one-page guide: purpose, inputs, steps, outputs, limits |
Running and Sharing Graphs
| Option | Notes |
|---|---|
| Open and run in Dynamo | For authors and power users |
| Dynamo Player | A way to run graphs from a simple interface without opening them, exposing selected inputs; useful for sharing tools with colleagues who are not graph authors |
| Shared network library | A controlled folder of approved graphs, with a catalog |
| Packages | Publish custom nodes to the package manager, or distribute privately |
| Automation scripts and batch runs | Some workflows can run graphs unattended; check support for your version |
| Training | Short sessions on running graphs safely |
For team use, provide a library with a register: name, purpose, owner, version, supported Revit and Dynamo versions, last tested date.
Versions, Packages and Upgrades
Version management is where Dynamo workflows most often fail.
| Issue | Explanation |
|---|---|
| Dynamo versions are tied to Revit versions | Each Revit release ships with a Dynamo version; Revit 2027 is reported to ship with Dynamo 4.x on .NET 10 |
| Runtime changes | Dynamo 4.x runs on .NET 10; packages built for 2.x (older .NET Framework) and 3.x (.NET 8) are not guaranteed to work in 4.x, and obsolete API items were removed in 4.0, according to Dynamo’s migration notes |
| Package compatibility | Community packages need updates by their authors; check before upgrading; best practice for authors is to multi-target runtimes |
| Python changes | New Python nodes use a newer engine; old Python code may need updates |
| Graph migration | Opening old graphs in new versions may produce warnings or missing nodes |
| Revit API changes | Node behavior can depend on API changes between Revit releases |
An Upgrade Routine
| Step | Practice |
|---|---|
| 1. Inventory | List graphs, packages and Python nodes in use |
| 2. Check package support | For the new Dynamo and Revit versions |
| 3. Test on a test machine | Run graphs on representative models |
| 4. Fix and update | Replace unsupported nodes; update Python |
| 5. Compare results | Before and after outputs |
| 6. Release | Update the library and register |
| 7. Do not upgrade Revit mid-project | Unless tested |
Testing and Governance
| Practice | Why |
|---|---|
| Run on copies | Protect live models |
| Compare before and after | Schedules, exports or model comparisons |
| Use test models | A standard model with known conditions |
| Add checks inside graphs | Counts and sanity checks that stop on errors |
| Log changes | Old and new values |
| Owner and register | Responsibility and findability |
| Peer review | For graphs that write data |
| Security | Review packages and Python code from external sources before use |
| Access control | Who may run write graphs on production models? |
| Retirement | Remove graphs that are no longer valid |
See BIM Execution Plan (BEP): How to Create and Implement One for putting automation rules into project documents.
When to Choose Something Else
| Situation | Alternative |
|---|---|
| The tool has a native feature | Use it |
| The task needs heavy data processing or external systems | Python scripts. See Python for BIM Professionals: Automation and Data Processing |
| You need a polished tool for many users | An add-in built on the API. See Revit API Programming: The Complete Beginner’s Guide |
| Heavy computational geometry with design exploration | Grasshopper, possibly with a Revit connection. See Computational BIM: Getting Started with Grasshopper and Visual Programming |
| Work on IFC files without authoring software | IFC libraries. See IFC Automation Using Python and IfcOpenShell |
| Continuous checking | Pipelines and checking tools. See Automated BIM Model Checking and Data Validation |
Common Mistakes
- Running graphs on live models without copies and backups.
- Writing before verifying what will be written.
- Giant, unlabeled graphs.
- Ignoring lists, lacing and list levels.
- No handling of empty or duplicate data.
- No logs or reports.
- Using unvetted packages or Python code.
- Upgrading Revit and Dynamo without testing graphs.
- No owner, register or documentation.
- Rebuilding native features as graphs.
- Hard-coded paths and names.
- No test models.
See also Common BIM Mistakes Beginners Should Avoid.
A Short Checklist
- Have we checked native features before building a graph?
- Is the task clear in words before we wire it?
- Is the graph grouped, labeled and annotated, with clearly named inputs?
- Do we read and verify before writing, with a safety switch?
- Do we handle missing, empty and duplicate data?
- Do we log old and new values?
- Do we test on copies and test models and compare results?
- Are packages and Python code vetted, and versions recorded?
- Does each graph have an owner, documentation and register entry?
- Do we test graphs before every software upgrade?
Frequently Asked Questions
What is Dynamo?
An open-source visual programming environment that works with Revit and on its own, used to automate data and geometry tasks.
Do I need to know how to code to use Dynamo?
No for basic graphs, but understanding logic, lists and data is essential, and Python or code blocks extend what you can do.
Is Dynamo included with Revit?
Dynamo for Revit ships with Revit; check the version included with yours.
What is Dynamo Player?
A way to run graphs from a simple interface, so colleagues can use a tool without opening or editing the graph.
Why did my old graph stop working?
Likely due to version changes: new Dynamo and Revit versions, runtime changes, packages not updated or API changes. Test and update.
Is Dynamo safe?
It is safe when used with discipline: copies, backups, checks and logs. A graph that writes data can change thousands of elements in seconds.
Should I use Dynamo or Python?
Use Dynamo for accessible, visual workflows; Python for heavier data processing, version control and testing; add-ins for team-wide tools.
How do I learn Dynamo?
Start with a simple read-only graph, then a small write task on a copy, learn lists and lacing and build a library of small, documented graphs.
Final Thoughts
I teach Dynamo with a rule I call “the two-minute explanation.” Every graph a student builds must be explainable, by its author, to a colleague in two minutes, looking only at the canvas. If the author cannot, the graph is too big, too tangled or too clever. It sounds like a stylistic preference. It is actually a maintenance rule. Graphs live far longer than anyone expects, and the person who has to fix one is usually not the person who built it.
That is the discipline that turns Dynamo from a toy into a tool: small graphs, clear groups, safe writes, honest logs, vetted packages and a test before every upgrade. Use it for the repetitive tasks that eat your week, share it through a controlled library and keep climbing the ladder when the task outgrows the graph.
Where to go next: for the context, read BIM Automation: The Complete Guide. For the next rungs, continue with Python for BIM Professionals: Automation and Data Processing and Revit API Programming: The Complete Beginner’s Guide, and for geometry, Computational BIM: Getting Started with Grasshopper and Visual Programming.



