← All resources
FREE WITH AN ACCOUNT
pyRevit Code Samples
pyRevit Code Snippets for Beginners for key Revit API Concepts.
100% free. You only need an account.
WHAT IS INSIDE
No payment, no card. Type your email, enter the code we send, and every code sample opens. Already have an account? Same button.
Simple pyRevit Script Template
The base script for every new pyRevit tool.
→
Filtered Element Collector
Get any element from your Revit project with FEC.
→
Revit API Parameters
Get, read and set element parameters.
→
Revit API Selection
Pick and set selection in the Revit UI.
→
Revit API Transactions
Change the project safely with transactions.
→
Translate C# to Python
Revit API C# samples next to their Python versions.
→
Views & Sheets
Create views, override graphics and manage view filters.
→
Create Elements
Create walls, lines, rooms, text, beams and regions.
→
WPF Form Sample
A WPF form in pyRevit, script and XAML.
→