What is Revit API? [RevitAPI + python]

📙 Get Free E-Book: Beginner's Guide to Revit API:
learnrevitapi.com/ebook
--------------------------------------------------
📝 This is an introduction video to my upcoming series of videos about Revit API + python. I will try to explain you what RevitAPI means, the benefits of using it and I will mention how to use it. On top of that I will tell you my personal story of how did I get into programming and using pyRevit and hopefully it might motivate some of you to pursue similar path.
💬 Links:
- GitHub: github.com/ErikFrits/EF-Tools
- EF-Tools Installation Guide: • EF-Tools - Installatio...
❤️ Thank you for watching!
🎥Chapters:
0:00 An intro to EF-Tools
0:43 Logo
0:48 What is RevitAPI?
2:03 What are benefits of Revit API?
3:06 How to use Revit API?
4:02 How long is learning process?
4:30 My Story
5:36 Outro
🎵 Elijah N - Dancing on the tables (Instrumental)
💟 SUPPORT ME:
www.ko-fi.com/erikfrits
www.patreon.com/erikfrits
Tags: #RevitAPI #LearnRevitAPI

Пікірлер: 29

  • @Sikbal08
    @Sikbal082 жыл бұрын

    Best Quality content... On this topic

  • @ErikFrits

    @ErikFrits

    2 жыл бұрын

    Thank you!

  • @mayukhnaskar4137
    @mayukhnaskar41372 жыл бұрын

    Eagerly waiting for more videos on this API content

  • @ErikFrits

    @ErikFrits

    2 жыл бұрын

    Great! It's nice to see so many people interested in this topic!

  • @marianabarros4398
    @marianabarros43982 жыл бұрын

    Awesome! Thanks for sharing

  • @ErikFrits

    @ErikFrits

    2 жыл бұрын

    Hey, I am glad you like it!

  • @gasiedu
    @gasiedu2 жыл бұрын

    I have found this at a perfect time, just starting on this path. I got a basic knowledge C#

  • @ErikFrits

    @ErikFrits

    2 жыл бұрын

    Hi, I am glad to help out ;) My series will be focused on python and any prior experience with any language is a huge plus for sure!

  • @jephiousdube1350
    @jephiousdube1350 Жыл бұрын

    I really hope to learn much from you, its true some task get boring doing them over n over again

  • @ErikFrits

    @ErikFrits

    Жыл бұрын

    Thanks, I hope you find my tutorials easy to follow ;) Let me know if some videos are not clear enough, it might help me make better videos in the future!

  • @GiorgiBekurashvili
    @GiorgiBekurashvili8 ай бұрын

    It's pure gold

  • @ErikFrits

    @ErikFrits

    8 ай бұрын

    Thanks, Check out newer videos I made for the course (1st module on KZread ;) ) Here is playlist: kzread.info/dash/bejne/gW2M1piihdzUpto.html

  • @MdImran-kt3mt
    @MdImran-kt3mt3 ай бұрын

    Brother I am learning bim on the other hand I have started python by Udemy can you please tell me the step wise software to become Revit API engineer

  • @ErikFrits

    @ErikFrits

    3 ай бұрын

    I would recommend to check CS50 Introduction to python free course by harvard on edx-org. Once you have python basics, I have plenty of videos on Revit API on KZread and I would recommend to get my E-Book that can help you a lot! See the link in the channel page. I also have a course but it's closed right now. Next launch will be this summer.

  • @erlekern
    @erlekern Жыл бұрын

    Nice video! I have a question: Could I paste the code of a script made in pyrevit into a Python script node in Dynamo, and it would work exactly the same? In my department we use Dynamo player for distributing scripts to colleagues you see. Maybe it would run a bit slower?

  • @ErikFrits

    @ErikFrits

    Жыл бұрын

    You can paste the same code in Dynamo but you will need to modify a few things. You will need to reference Revit API libraries yourself to import modules ```python import clr clr.AddReference('RevitAPI') clr.AddReference('RevitAPIUI') clr.AddReference('RevitServices') Also Dynamo handles Transactions differently, and you need to use another method to get app, doc, uidoc of your Revit Application. ```python # Imports import RevitServices from RevitServices.Persistence import DocumentManager from RevitServices.Transactions import TransactionManager # Variables doc = DocumentManager.Instance.CurrentDBDocument uidoc=DocumentManager.Instance.CurrentUIApplication.ActiveUIDocument # Transaction TransactionManager.Instance.EnsureInTransaction(doc) #Changes here... TransactionManager.Instance.TransactionTaskDone() ``` Other things should work the same. ⌨Happy Coding !

  • @erlekern

    @erlekern

    Жыл бұрын

    Okay thank you! So then, if pyrevit and dynamo can effectively do the same (using Python script node in dynamo), why do you prefer pyrevit? Does it provide a better editor, or does it in fact have some functionality that is not available in dynamo? In dynamo one can pick elements in Revit as input for a script, can you the same in pyrevit? Thanks again!

  • @ErikFrits

    @ErikFrits

    Жыл бұрын

    ​ @Erlend Ekern You can get user selection with python anywhere, it's not a problem. pyRevit does come with handy features, especially for beginners. You can easily get a form so user can select a view, or some element. Also I can reuse my code in pyRevit much easier. I create a library and then I can create different functions and methods that will be reused across all of my scripts, including GUI forms. And I find it much more sharable with others (EF-Tools). P.S. pyRevit can read dynamo scripts as well. So you can create a pyRevit extension and instead of .py files, place .dyn files. Then you will have toolbar with all your tools, and I find it much better than Dynamo Player. If you don't need to provide input in Dynamo Player.

  • @erlekern

    @erlekern

    Жыл бұрын

    @@ErikFrits That sounds awesome. I think ill have to check pyrevit out! The reusability of code sounds nice. But can you also import and use any external packages like numpy, pandas etc in your pyrevit programs? That would be great. But the package versions are maybe limited to compatibility with Python 2.7?

  • @ErikFrits

    @ErikFrits

    Жыл бұрын

    Yes, these packages are available, but you will need to use CPython 3 version in pyRevit. I haven't tried using them in pyRevit, so I would suggest reading in pyRevit Dev Docs how to do it.

  • @user-kv5vu8bh8l
    @user-kv5vu8bh8l11 ай бұрын

    have you written your plugin using only python? or have you used other languages like c#?

  • @ErikFrits

    @ErikFrits

    11 ай бұрын

    I code only in python. I could switch to C#, but I like python more

  • @alimehdi1143
    @alimehdi1143 Жыл бұрын

    Please do Python tutorial for Beginners

  • @ErikFrits

    @ErikFrits

    Жыл бұрын

    I have 30 min video where I cover basics, but I will re-record it as a course on KZread this Fall or Winter ;)

  • @Mascon_ic
    @Mascon_ic2 ай бұрын

    Hola, tienes cursos online, para poder comprarlo ? Muy buen contenido

  • @ErikFrits

    @ErikFrits

    2 ай бұрын

    Hi, Thanks, I appreciate that! Yes I have a LearnRevitAPI.com course platform. I used to make small week-long launches for people to join before. But soon the course will become live again and will stay open after that. (~2-3 weeks ;) )

  • @Mascon_ic

    @Mascon_ic

    2 ай бұрын

    @@ErikFrits Perfecto. En ese curso trabajas con VIsual Studio Code. ? Igual estare al tanto del lanzamiento

  • @professoradams338
    @professoradams338 Жыл бұрын

    Can we create close space by giving distance between edges in dynamo ???IF yes can anyone help??? Need to automate it

  • @ErikFrits

    @ErikFrits

    Жыл бұрын

    I don't understand what you trying to achieve