Dynamo Python Primer
  • Take Dynamo Further 🚀
  • 1 Hello Python 🐍
    • 1.1 Why Should I Learn to Code?
    • 1.2 Python Introduction
    • 1.3 What is IronPython?
  • 2 Seeing The Bigger Picture 🔭
    • 2.1 Context Matters
    • 2.2 What is an API?
    • 2.3 The .NET Framework
    • 2.4 Object-Oriented Programming
  • 3 Getting Started 🛴
    • 3.1 Dynamo's Python Node
    • 3.2 Boilerplate Setup Code
    • 3.3 Basics: Input and Output
    • 3.4 Common Errors
  • 4 Revit-Specific Topics 🏡
    • 4.1 Introduction to Revit's API
    • 4.2 How to Read Revit's API Documentation
    • 4.3 Doc, UIDoc, App, UIApp
    • 4.4 Unwrapping Revit Elements
    • 4.5 The FilteredElementCollector
    • 4.6 Geometry Conversion Methods
    • 4.7 Working With Parameters
      • Family Parameters
      • Global Parameters
      • Project Information Parameters
      • Group Parameters
      • Built-In Parameters
    • 4.8 Working With Transactions
    • 4.9 Opening & Closing External Files
    • 4.10 Prompting UI Selection
    • 4.11 Working With Units
    • 4.12 Built-In Categories
    • 4.13 Family Acrobatics
    • 4.14 Feedback: TaskDialogs
  • 5 Glossary 📚
  • About This Primer 👋
Powered by GitBook
On this page

Was this helpful?

Take Dynamo Further 🚀

Using Python will take your Dynamo definitions to the next level

Next1 Hello Python 🐍

Last updated 5 years ago

Was this helpful?

Welcome!

Thanks for visiting the Dynamo Python Primer. Inspired by the amazing , this guide aims to be the next step in bringing programming knowledge to keen Dynamo users.

What's All This About, Then?

Autodesk's Dynamo is an invaluable tool for AEC professionals; it lets you build automated workflows, analyse your designs, define parametric geometry and more.

Python is one of the most popular programming languages in the world. It's highly flexible, easy to learn (even for beginners) and is used for everything from data visualisation to machine learning.

Brought together, they're more than the sum of their parts. Writing Python scripts in Dynamo will change the way you work for the better.

New to Coding?

If you've never written a line of code before, don't panic! This guide is designed to help a confident Dynamo user take their first steps into programming with Python. It will introduce all the relevant topics step-by-step and will show you all the resources you need to take your custom tools further using Python.

Thoughts? Get in touch!

The Dynamo Python Primer remains a live guidance document and is open source, so we would love to receive your thoughts, feedback and pull requests! Contact details are .

here
Dynamo Primer