Today we cover how to make a custom tool in Python for pyRevit, we finally got to the point of actually making custom tools. Enjoy!
I hope you enjoy the session and learn something new! Feel free to comment any feedback/questions below, or follow my channel if you enjoyed this.
0:00 Intro
2:17 Toolbar configuration
4:20 Scripting begins
5:32 Revit API classes
7:59 Collecting views and view family types
10:58 Filtering used and unused templates
16:36 Check if we have templates
17:58 Select from list interface
20:50 Key and value pairs using a class
24:13 Check if we have a selection
25:32 Purge selected elements
28:58 Report outcome to user
32:19 Testing the script
33:08 Outro
Learn more about pyRevit at:
https://www.notion.so/pyRevit-bd907d6292ed4ce997c46e84b6ef67a0
Software used;
Autodesk Revit 2022: https://www.autodesk.com/products/revit/overview
pyRevit: https://github.com/eirannejad/pyRevit
Notepad ++: https://notepad-plus-plus.org/downloads/
DaVinci Resolve: https://www.blackmagicdesign.com/au/products/davinciresolve/
OBS: https://obsproject.com/
Hardware used;
Webcam: https://support.logitech.com/en_us/product/hd-webcam-c615
Laptop: https://www.msi.com/Workstation/WT75-8SM/
Microphone: https://www.bluemic.com/en-au/products/yeti-x/
#revit #pyrevit #python