LearnRevitAPI
Sep 2, 2024
🎦 Get Started with pyRevit
The 2nd Lesson of Learn Revit API Course is out!
In this lesson, you will learn how to create your own pyRevit extension with my StarterKit.
It will be like assembling 🪑IKEA furniture, everything is included and it can't be any simpler.
It only takes 2 minutes, once you download everything. And if you don't believe me, check the video below.
Click Here to watch Lesson 2:
How to Get Started with pyRevit
P.S.
If you want to get the next lesson sooner, Reply with 'Lesson 03' and I will send you the link.
Or Join The Course here and get access to the best learning materials for Revit API using python and be invited to Learn Revit API Community.
🎁 Download StarterKit
Also before you leave, make sure you download EF-pyRevit StarterKit, because you will need it for this lesson.
🎁 Download pyRevit Starter Kit
Create Your Own Custom Toolbar in less than 2 minutes.
And not only that, but also get access to a lot of useful resources and code samples that will help you on your Revit API journey.Are you Excited?
👀 What's Next?
Now you should check this lesson and follow along to create your own pyRevit extension. But I will also leave written steps here too.
💿 1. Install pyRevit
In case you don't have pyRevit installed, you can open this pyRevit GitHub page, where you can download the installer.
Or use this link to start downloading right away:
Then run the installer as usual.
📁 2. Rename Folders
Next, you need to unzip your pyRevit StarterKit anywhere.
Common Places:
C:\Users\USER\Documents\pyRevit_Extensions
C:\Users\USER\AppData\Roaming\pyRevit_Extensions
Or Choose any other folder!
💡You will also be able to change the location at any time by just moving the folder and adjusting the path in settings, so don't overthink it.
Once it's unzipped you need to rename 2 folders.
Inside the StarterKit you will find 📁 EF-pyRevit StarterKit.extensionThis is the blueprint for your own extension, which already has a folder structure, code snippets, resources and other useful things included.You need to rename .extension and .tab folders(blue) and put the name of your extension to see the same inside of Revit.e.g.📁LearnRevitAPI.extension
📁LearnRevitAPI.tab
Double check that they end with the same suffix as before (e.g. .tab).
⚙️3. Point pyRevit to this folder
You are almost done! Now, we need to point pyRevit to this location.
Go ToRevit -> pyRevitTab -> pyRevit Pulldown Menu -> Settings
Then, inside Settings, you need to point pyRevit to your .extension
Click on Add Folder in Custom Extension Directories.
💡Make sure you don't select '.extension' in your path!
You need a path to where your .extension is located at.
🔄️ 4. Reload pyRevit
Lastly, reload pyRevit and you will become a pyRevit Developer with your own custom Revit toolbar.
🔁 Click Reload Button in pyRevit Tab.
Click Yes in the next pop-up form.
🙌
🥳Congratulations!
This is your brand new pyRevit Extension:
Isn't it Awesome?
💪Adjust To Your Own Needs
Keep in mind that everything is 100% customizable in this extension. And I will show you how to customize it in the next lesson.
And not only that, but also I will show you all the cool resources included inside including a ton of my Revit API code samples that you will be reusing in your own scripts.
💡Stay tuned, the next lesson will come out in a few day.
P.S.
However, if you want to get the next lesson sooner, Reply with 'Lesson 03' and I will send you the link.
Or Join The Full Course here and get access to the best learning materials for Revit API using python and be invited to Learn Revit API Community.
Join Newsletter
📩 You will be added to Revit API Newsletter
Join Us!
which is already read by 6800+ people!
Last Chance To Claim LIFETIME ACCESS. (Only ~50 Seats Left)
Resources