PyByggstyrning.extension
pyRevit extension
Install / Use
/learn @byggstyrning/PyByggstyrning.extensionREADME

Overview
pyByggstyrning is a pyRevit extension with specialized tools for model-based construction workflows.

Tools
| Panel | Tools | |-------|-------| | MMI | Quick-set buttons for MMI values (200-475) | | MMI Settings | Settings, Monitor, Colorizer | | View | Color Elements, Reset Colors | | 3D Zone | Create 3D Zones from Rooms/Areas/Regions, Spatial Mappings, Write Mappings, Isolate | | MEP Spaces | Create Spaces from Link, Update Spaces, Tag All Spaces | | StreamBIM | Checklist Importer, Edit Configs, Run Everything | | Project Browser | IFC Classification (Load Defaults, Quick Class, Class Crawler), Better Schedule | | Elements | Weight Calc | | Documentation | Load Family, Create References, Add to View |
Extra Features
- MMI in Modify tab - Cloned on startup for quick access
- Switchback API - HTTP endpoint to select elements by ID (
http://localhost:48884/switchback/id/<element_id>) - IFC Export Handler - Automatic 3D Zone parameter mapping during export
- Batch Importer - Automated StreamBIM import via
pyrevit run
Installation
1. Install pyRevit
Download and install pyRevit from the GitHub releases or follow the pyRevit Installation Guide.
2. Install pyByggstyrning
Using Extension Manager (Recommended)
- Open Revit with pyRevit installed
- Go to pyRevit tab → Extensions
- Find pyByggstyrning in the list and click Install Extension
For more details, see the pyRevit Extensions Installation Guide.
Using pyRevit CLI
pyrevit extend ui pyByggstyrning https://github.com/byggstyrning/pyByggstyrning.extension.git
3. Switchback Support (Optional)
pyrevit configs routes port 48884
Video Demos
Credits
- Ehsan Iran-Nejad - pyRevit
- Icons8 - Icons
- Erik Frits - LearnRevitAPI
- Giuseppe Dotto - Filters/Views from pyM4B
- khorn06 - Extensible storage library
