Create pyRevit Template for Revit API + python
? Join my Revit API Newsletter ? https://www.LearnRevitAPI.com
? 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
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Create pyRevit Template for Revit API + python», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.