This 20-hour live training introduces Python essentials and its application within the Revit API for automation.
Learn MoreButton TextThis training is designed for AEC professionals who have a basic understanding of Autodesk Revit. Throughout this training, you will learn the essentials of Python, apply Python within the Revit environment for automation, interact with the Revit API using Python, and work on real-world applications with hands-on projects.
Upon completing this training, you will have a firm grasp of Python basics, know how to use Python for automating tasks in Revit, understand and interact with the Revit API using Python, debug and optimize Python scripts for Revit, and create custom Revit add-ins. This knowledge will enhance your ability to automate complex tasks, improve productivity, and increase the quality of architectural and engineering projects.
This section is dedicated to the basics of Python programming. You will understand the critical aspects of Python, including variables, data types, operators, conditional statements, loops, functions, and modules.
In the second part, you will be introduced to the integration of Python with the Revit API. You'll learn about Revit's database structure, elements, categories, and transactions and create your first Python script for Revit.
The third part focuses on the manipulation of Revit elements using Python. You will understand how to create, read, modify, and write parameters for Revit elements and navigate the Revit database using Python.
In the fourth section, you will learn to automate various everyday tasks in Revit, such as document setup and batch processing of Revit files. You'll also explore automating drawing and detailing jobs.
The last part is dedicated to debugging, error handling, and optimizing Python scripts in the Revit environment. You'll learn about best practices for writing efficient scripts and then put your skills to the test with a final project - developing a custom Revit add-in.
We go through some simple Python scripts (independent of Revit) to get you started with Python. This way, you get familiarized with Python and its looks and feels.
To better understand the structure of Python, we go through some different examples to highlight the structure.
As a first Python script, we show how data from the Revit file can be shown to the user.
To highlight the differences between Macros, Dynamo, and Python, we will redo our previous automation in this project, but this time in Python! We look at how we can change one parameter value for all selected elements.
We also examine how sheet creation differs using Python compared to Dynamo and Macros.
Time to dig a bit deeper and create scope boxes in our Revit file using Python inside of pyRevit! This project will look at element creation, orientation, and a bit of user input.