📙 Get Free E-Book: Beginner's Guide to Revit API:
https://learnrevitapi.com/ebook
--------------------------------------------------
📝 You should get a good overview of the process it takes to create your custom Add-Ins for Revit using pyRevit. I will go through Script Anatomy, then I will try to explain my Brainstorming process before I start any code and you will see me coding our first tool together - Add Levels Elevations.
- I will explain all the meta data you need to provide so pyRevit can read it and display in Revit UI and where to look if you have questions.
- Then how to structure your code so it's more readable and separated into visual blocks.
- During brainstorming I will create a flowchart diagram to break down our tool into smaller and easier to digest steps that we will follow during coding part
- Coding part just shows how I write my script and I try to explain as much as possible about python , pyRevit and RevitAPI with refferences to docs.
Hopefully, after watching this video you will get a good overview of the process it takes to start creating your tools. This should address most of the questions you might have on the topic, and if you feel that I missed out on something, feel free to drop a comment with a question.
💬 Links:
EF-Tutor Template : https://github.com/ErikFrits/EF-Tutor/blob/main/EF-Tutor.tab/Resources.panel/Resources.stack/Templates.pulldown/pyRevitTemplate.pushbutton/script.py
EF-Tools Installation Guide :
https://www.youtube.com/watch?v=q0zbdyyBIo0
-pyRevit docs - Script Anatomy : https://www.notion.so/Anatomy-of-IronPython-Scripts-f11d0099667f46a28d29b028dd99ccaf
-pyRevit docs - Context Bundle: https://www.notion.so/Bundle-Context-630fa1f3611f4ee0aa15d290275e7ef3
RevitApiDocs : www.revitapidocs.com
Flowcharts: www.draw.io
Text to ASCII Art : https://patorjk.com/software/taag/#p=display&f=Calvin%20S&t=EF-TOOLS
- GitHub: https://github.com/ErikFrits/EF-Tutor
- EF-Tools Installation Guide:
https://www.youtube.com/watch?v=q0zbdyyBIo0
❤️ Thank you for watching!
💟 SUPPORT ME:
www.ko-fi.com/erikfrits
www.patreon.com/erikfrits
🎥Chapters:
00:00 Intro
00:25 Create .pushbutton for pyRevit
00:44 pyRevit Meta
02:54 Revit API Imports
04:34 Revit API Variables
05:00 Structuring Code
05:33 Brainstorming Intro
06:10 Brainstorming Flowchart
07:45 Create Your First pyRevit Tool
14:44 Homework
15:45 Solve a Bug
16:02 Outro
🎵 Gazing Deep into the Plasma TV - Midnight Cycler
Previous Title:
pyRevit Introduction: Create your first Revit Add-In [RevitAPI + python]
Tags:
#LearnRevitAPI #pyRevit #RevitAPI