ZYSNOR

Glossary · CAD and BIM

What is Dynamo for Revit? Meaning, Example and How It Works

By , Founder of ZYSNOR · Updated · Checked · 5 min read

In simple words

Dynamo is a free, open-source visual programming tool that comes with Revit. Instead of writing code, you connect boxes called nodes on a canvas to automate tasks, such as renaming sheets or placing elements from an Excel list.

Dynamo started as an open-source project for Revit and is now installed with Revit itself. It also runs on its own (Dynamo Sandbox) and inside other Autodesk products, but most users meet it through Revit's Manage tab.

How it works

A Dynamo graph is a set of nodes joined by wires. Each node does one job: pick a category, get all elements of that category, read or set a parameter, read an Excel file, do some arithmetic. Wires carry data, usually lists, from the output of one node to the input of the next. When an input changes, the graph runs again and the Revit model updates. A graph is saved as a .dyn file and can be reused on other projects.

Four nodes joined by wires: Categories, All Elements of Category, SetParameterByName and the updated model
Data flows left to right; change one input and the graph runs again.

Dynamo, Dynamo Player and Python

Table comparing Dynamo, Dynamo Player and Python nodes
Build graphs in Dynamo; anyone can run them in Dynamo Player.
  • Dynamo: the canvas where graphs are built and tested.
  • Dynamo Player: runs finished graphs from a simple list inside Revit, with a few inputs shown, so users do not need to open the graph.
  • Python nodes: let advanced users write a few lines of code where no ready-made node exists.
  • Packages: extra node libraries shared by the community and installed from the package manager.

Worked example: filling one parameter on many doors

Every door in a model (240 in all) needs the value "Checked" in its Comments parameter.

  • By hand at about 20 seconds per door: 240 × 20 = 4,800 seconds = 4,800 / 60 = 80 minutes.
  • With the four-node graph above: built and tested once, in about 15 minutes, then it runs in seconds.
  • On the next project, the same .dyn file runs from Dynamo Player in about a minute.
Bar chart: 80 minutes by hand, 15 minutes to build the graph, 1 minute to re-run
The time saved grows each time the graph is reused. The times are an illustration.

Typical uses

  • Renaming and numbering sheets, views, rooms or doors in bulk.
  • Reading data from Excel into Revit parameters, or writing schedules out to Excel.
  • Placing elements from coordinates, such as piles or lighting points.
  • Checking models: finding elements with missing data or wrong names.
  • Simple design studies, such as testing a façade pattern or a roof shape.

Step by step: a first graph

  1. Save a copy of the Revit model (or work on a test file).
  2. In Revit, open Manage > Visual Programming > Dynamo.
  3. Add nodes from the library and join them, starting with a small selection.
  4. Run the graph manually and check the result in Revit.
  5. Save the .dyn file with a clear name and add a short note on the canvas saying what it does.
  6. When it is reliable, add it to Dynamo Player for the rest of the team.

Common mistakes

  • Running a new graph on the live model without a backup.
  • Graphs that break when Revit, Dynamo or package versions change; note the versions used.
  • Using Dynamo where a schedule, filter or view template would do the job.
  • Leaving the graph on automatic run while editing, so every change rewrites the model.
  • No notes or groups on the canvas, so nobody else can follow the graph.

Related terms

Frequently asked questions

Do I need to know programming?

No for basic graphs; Python nodes are there for advanced users.

Is Dynamo free?

Yes, it is open source and installed with Revit.

Sources

← All glossary terms