Learn to how to use Python scripting to extend the power of Dynamo and automate common Revit tasks.
Overview
Syllabus
Introduction
- Jumping into Python and Dynamo
- What you should know
- Exercise files
- The Python node basics
- What is OOP?
- Importing the Dynamo library
- Defining variables
- Numbers
- Strings
- Working with lists
- Making decisions with conditionals
- Control with operators
- Logical operators
- Looping with the for loop
- Looping with the while loop
- Break and continue
- Nested loops
- Dictionaries
- Try and except
- Defining functions
- Built-in Python modules
- Extending Python modules
- Saving our own module
- What is IronPython?
- Accessing Revit nodes
- Importing the Revit API
- Working with the Revit API
- Revit conversions
- Dynamo conversions
- Navigating the Revit API
- Collecting elements
- Creating a collector
- Getting Revit parameters
- Setting Revit parameters
- Creating line-driven elements
- Element locations
- Adjusting elements
- Creating a view
- View bounding boxes
- Revit API and IronPython types
- Next steps
Taught by
Jeremy Graham