Tips for Getting Started with the Revit API + Python

Sdílet
Vložit
  • čas přidán 9. 09. 2024

Komentáře • 30

  • @mahmoudfawzy8354
    @mahmoudfawzy8354 Před rokem +3

    After watching this video, I feel significantly more liberated when it comes to writing code. We truly appreciate your remarkable effort in this regard.

    • @ErikFrits
      @ErikFrits  Před rokem

      Thanks a lot, appreciate that!
      Happy Coding!

  • @AliMaher-qb4zq
    @AliMaher-qb4zq Před 7 měsíci +1

    Hello Erik, big fan man, I'm excited for the API course. my target for 2024/2025 💪

    • @ErikFrits
      @ErikFrits  Před 7 měsíci

      Thanks Ali,
      Keep an eye on 29th of Feb (The Launch Date ;) )

    • @AliMaher-qb4zq
      @AliMaher-qb4zq Před 7 měsíci

      and the price +/- will be? so I take it in account @@ErikFrits

  • @harley9015
    @harley9015 Před 2 lety +3

    Good overview of how to interrogate picked elements and see their properties, as well as covering the documentation resources (Effective Input in pyRevit is a great resource!) needed to get further understanding. There's some good bits and pieces in here. ⌨️

    • @ErikFrits
      @ErikFrits  Před 2 lety +1

      Thanks Harley,
      Practice is the key in learning programming 💪⌨️

  • @inhabgamer
    @inhabgamer Před 2 lety +3

    Fantastic stuff, loving your videos keep it up !!

  • @daveotis7016
    @daveotis7016 Před 2 lety +1

    That's a really good stuff. Can wait to watch the next one!

    • @ErikFrits
      @ErikFrits  Před 2 lety +1

      Thanks, glad you liked it so much!
      The next one probably will be delayed 1-2 weeks. It's time to visit family ;)

  • @dothanhliem999
    @dothanhliem999 Před rokem +1

    Thanks for your video! I wonder how you can link the Pycharm Script into Revit immediately like that?

    • @ErikFrits
      @ErikFrits  Před rokem

      I created EF-Tutor extension with pyRevit.
      It just needs folder structure and then I create a new button and code in its file. So I can always go to Revit and click on it.
      Check the video on creating pyRevit Extension

    • @dothanhliem999
      @dothanhliem999 Před rokem

      @@ErikFrits Fantastic, thank you very much!

  • @camilosierraaranguren9994
    @camilosierraaranguren9994 Před 9 měsíci +1

    Hi Erik, I Follow your videos but in this case I dont see the pyrevit Master folder, how i can install this folder?

    • @ErikFrits
      @ErikFrits  Před 9 měsíci

      You need to install pyRevit extension for Revit.
      Usually this folder is being installed in AppData, however I saw someone finding it somewhere in C Drive. You might need to look around if it's not in AppData.

    • @camilosierraaranguren9994
      @camilosierraaranguren9994 Před 9 měsíci +1

      @@ErikFrits thank you very much, I was able to find the folder now :)
      What good tutorials you make bro

  • @junaidkhan2095
    @junaidkhan2095 Před rokem +1

    How to integrate python script in revit ...lets suppose if i have a dynamo script for beam rebar then how it will work in revit by selecting beam??

    • @ErikFrits
      @ErikFrits  Před rokem

      pyRevit is a great choice.
      With a simple folder structure and your .py/.dyn files in folders you will have your custom Revit Toolbar.
      To add selection to your dynamo script, you need to find the right nodes that might allow that, or add python node where you will write about selection. For this you need to know Revit API and python basics, so you can extract selection from Revit UI.

  • @MohammedNambath
    @MohammedNambath Před 2 měsíci +1

    Hi Erik I have some problem I installed (pyRevit_4.8.12.22247_signed) I have some issues whiles i am openning the revit 2024. its pop up one screen PyrevitLoader- error Loading pyRevit. when pick in closed this screen wil go. but in the tab bar i couldn't find the pyrevit what should I do. not only this one I installed BIM simth also I got same issues also I coud't find the buttom on the tab bar. Can you help me to short out this problem.

    • @ErikFrits
      @ErikFrits  Před 2 měsíci +1

      Hi,
      Can you try using the latest pyRevit version? Honestly, I don't remember what version has started to support Revit 2024, so maybe that will solve it. (Right now the latest version is 4.8.16, you can get it here: www.pyrevitlabs.io/
      Regarding BIM simth, I have no idea what kind of plugin is it.
      Hope it helps, keep me updated.

    • @MohammedNambath
      @MohammedNambath Před 2 měsíci +2

      @@ErikFrits Thanks bro its work in 2024 also perfectly. I appreciate your Quick support....😀

    • @ErikFrits
      @ErikFrits  Před 2 měsíci

      @@MohammedNambath Happy Coding 🙌

  • @erlekern
    @erlekern Před rokem +1

    Hey Erik! Do you know if it is possible to interact with excel while still using the ironpython engine in pyrevit? As far as I know I have to use some external modules as openpyxl or pandas, and thus use the Cpython engine..

    • @ErikFrits
      @ErikFrits  Před rokem +1

      Yes, there are plenty of packages available to write to excel.
      If you look in site-packages of pyRevit, you will see xlsxwriter package, which is installed by default, so no need to add additional packages
      I was actually going to write my Next newsletter about Writing and Reading Excel files so sign-up to not miss it.

    • @erlekern
      @erlekern Před rokem +1

      Awesome. I already have! Will look forward to the newsletter.

  • @alpereneskici6213
    @alpereneskici6213 Před rokem +1

    I can't see ef-tutor in the tab above. Can you help? There is ef_Tools but no tutor.

    • @ErikFrits
      @ErikFrits  Před rokem

      EF-Tutor is a seperate project and not included in EF-Tools by default.
      Here is the GitRepo of all files:
      github.com/erikfrits/ef-tutor
      Watch this part of the video if you want to install it via pyRevit Extensions Menu:
      czcams.com/video/Q5rLfwOyQ1I/video.html

  • @Maldemu343
    @Maldemu343 Před 2 měsíci

    Hey Erik, i downloaded pyrevit 4.8.16.24121 and found your extension for your tools. However i dont find the tutor packages, where do i find it? Many thanks in advance.

    • @ErikFrits
      @ErikFrits  Před 2 měsíci

      You can find it here: github.com/erikfrits/ef-tutor
      I don't promote as usually I put all code snippets inside the blog articles, but not all videos have an article with them.