Getting started with pyRevit!

  Рет қаралды 34,594

Aussie BIM Guru

Aussie BIM Guru

Күн бұрын

Time to kick off a new series on the channel (which should be relatively continuous...) all about pyRevit! In this video we focus on what it is as well as how to get started with it.
0:00 Intro
1:14 Old format
1:26 Getting started
1:50 What is pyRevit
4:23 What about Dynamo
6:35 What about add-ins
7:48 Do you need Python
8:55 ABG series on Python
9:24 Do you need Revit API
10:47 ABG series on Revit API
11:05 Developer pathways
12:07 Installing pyRevit
13:53 Learning pyRevit
15:38 Looking at pyRevit
18:23 Learning via Dynamo
19:40 Toolbars
23:35 pyRoovit
24:47 Future videos
25:23 Outro
I hope you enjoy the session and learn something new! Feel free to comment any feedback/questions below, or follow my channel if you enjoyed this.
Learn more about pyRevit at;
pyrevit.readthedocs.io/en/lat...
Software used;
Autodesk Revit 2020: www.autodesk.com/products/rev...
Dynamo: dynamobim.org/
pyRevit: github.com/eirannejad/pyRevit
DaVinci Resolve: www.blackmagicdesign.com/au/p...
OBS: obsproject.com/
Hardware used;
Webcam: support.logitech.com/en_us/pr...
Laptop: www.msi.com/Workstation/WT75-...
Microphone: www.jbhifi.com.au/products/ro...
Audio interface: focusrite.com/en/usb-audio-in...
#revit #pyrevit #bim

Пікірлер: 74
@snowwalker8778
@snowwalker8778 Жыл бұрын
Guys, this person has spent really a lot of time in creating quality content, we need to support him by clicking more likes, I did and you ? Thanks Gavin!
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
Thanks for the support!
@adamhadji5488
@adamhadji5488 2 жыл бұрын
Thanks Gavin for making these videos. I can’t wait to see your series on pyRevit & Python. You and Ehsan are doing great work by providing this information/opportunities for free, I much appreciate it.
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
You're welcome Adam, hope you're going well since we last spoke!
@BH-gg6hk
@BH-gg6hk 2 жыл бұрын
Commenting for the KZbin algorithm as many others have. I’m really looking forward to this series. Coming from a company delivering a software platform to the building services sector to an engineer at a consultancy firm I have been piecing together tools using pyrevit that will streamline much of the repetitive tasks. I have found your tutorials invaluable to get me back up to speed with Revit (after only ever doing content creation for a manufacturer) and this series will guide me further in the direction I want to go with my career. For that I share my gratitude, keep up the good work!
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Glad to hear the content has bee helpful for other consultants out there, and thanks for the support!
@JoseIgnacioNN
@JoseIgnacioNN 2 жыл бұрын
Great video! cant wait for the rest of the serie 😁
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Thanks!
@mazrisbimdiary
@mazrisbimdiary 2 жыл бұрын
Wonderful video as always!!
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Thanks!
@BIMGenie
@BIMGenie 2 жыл бұрын
I have honestly had a similar idea for what you created for My Pouch. Could even preload as part of the revit deployment. Digging the Roo references too. Nice work and very educational as always! Cheers!
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
You're most welcome to use it elsewhere if it helps save some time :) No doubt someone else has made ir before me as well!
@letsbimtogether
@letsbimtogether 2 жыл бұрын
Great idea for a series mate, looking towards the rest
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Look forward to releasing them too!
@charleswang4327
@charleswang4327 2 жыл бұрын
Thanks for sharing. It's already been a daily tool for us now. Highly recommended for simple task.
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Agree! I use it about the same amount as Dynamo these days if not more.
@unidesigndc
@unidesigndc 2 жыл бұрын
Good on you Mate! Keep them coming...
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Will do!
@vasilecorjan3631
@vasilecorjan3631 2 жыл бұрын
Looking forward to the next videos!!!
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Thanks!
@parametricbim2023
@parametricbim2023 2 жыл бұрын
Thank you Gavin.. you and ehsan are great.. I wish it could help me in my PhD thesis .. thank you again
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
If you're looking for tips I can be reached at aussiebimguru@gmail.com.
@minggangyin17
@minggangyin17 2 жыл бұрын
Great sharing,thanks!
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
You're welcome!
@fouezdesign
@fouezdesign 2 жыл бұрын
Great man
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Cheers!
@dykodesigns
@dykodesigns 2 жыл бұрын
That looks quite interesting, I have done some game programming in the past but that was with a C/Pascal like programming language called BennuGD. Python looks more like a normal programming language as opposed to Dynamo.
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Ah I've heard about Bennu but never came across it myself. I find Python a good entry level language with a relatively high ceiling. It's main shortcoming is that you can't easily create deployable software with it unlike C based languages, but it's very intuitive semantically.
@AIWorks2040
@AIWorks2040 3 ай бұрын
Thank you ..........
@AussieBIMGuru
@AussieBIMGuru 3 ай бұрын
You're welcome!
@ancadospel4786
@ancadospel4786 2 жыл бұрын
Great presentation, as usual! I love how structured and smooth your presentations are - the temptation would be to assume you have talent, but I believe there is a lot of work behind it all. Learning Python and the Revit API was the path I planned to take initially, but at the time it felt Dynamo was more accessible and faster at getting results for a beginner. Fast forward a few years and I feel I am still at the beginning. First learn Dynamo (in itself a whole new software to learn and use) and the logic behind all the nodes OTB or imported. Then you have CodeBlocks and Design Script which is its own type of environment, then you have (and should learn) Python under Dynamo (a limited type of Python with no printing functions and only one output), then for reading and understanding the Revit API one needs C#. Of course, building macros is another learning curve altogether, where learning C# is essential. PyRevit seems yet another learning experience with its own technicalities and jargon. Sure, learning should be a continuous process in life but I just feel that I am always in the beginning, not quite riding the wave yet. Thank you in any case for making the experience smoother!
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Cheers! Some of this comes naturally to me based on my interests and way of thinking but a lot came from gridning away at it until it began to make more sense. I've had periods of time where it didn't 'stick' for me in programming, the key is not to get too far ahead of yourself, approach it in layers and milestones driven by short term goals.
@adsongomes6274
@adsongomes6274 7 ай бұрын
Hey Crump, how's it going? Greetings from Brazil! I wanted to thank you because I've recently started delving into the world of Revit and Python, all thanks to your awesome videos! Congratulations on your work, seriously! I'm trying to create an exporter for IFC and DWG in my Revit, and I'm also brainstorming a custom taskbar. Any tips on the best way to do this? I'm a bit lost, but I'm excited about the possibilities! Keep inspiring people, your work is top-notch! Thanks!
@AussieBIMGuru
@AussieBIMGuru 7 ай бұрын
As per our LinkedIn chat :)
@HusamSalami-ox6gq
@HusamSalami-ox6gq 8 ай бұрын
Super..... Vielen Dank
@AussieBIMGuru
@AussieBIMGuru 8 ай бұрын
Bitte sehr!
@christopheragbodzahmakafui12
@christopheragbodzahmakafui12 2 жыл бұрын
💯💥
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
👍👍
@arnfinneggen2251
@arnfinneggen2251 Жыл бұрын
Great video! Cant wait to see what kind of use this will unlock! But! I have been trying to add pyRevit, but with no luck. It seems like I cant add the toolbar into the program. For starters; I wanted to add it to add my custom fillings for revit object.
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
It sounds like it isnt loading which can be caused by clashes with addins. Maybe try using something like the diroots addin manager to disable them all and then turn them on to find which one is preventing pyrevit from working.
@jorgecruz4839
@jorgecruz4839 2 жыл бұрын
Thanks for this great video Gavin! A quick question, can we create scripts based on python 3? and if so, is it possible to import data analysis libraries such as pandas or numpy? Once again big thanks to you and Ehsan!
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Yes I believe if you type ! python3 on the first line of a script pyrevit will work with it using that version instead of the default (ironpython).
@jorgecruz4839
@jorgecruz4839 2 жыл бұрын
@@AussieBIMGuru great! Thank you very much for the reply!
@mitchelloatman
@mitchelloatman 2 жыл бұрын
Holding ALT key while clicking on a button made in PyRevit Ribbon will open the source folder of the tool.
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Thanks! Yep have been using this tip recently, handy when devving the tools.
@feri4life177
@feri4life177 Жыл бұрын
best
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
Thanks!
@daniel674714
@daniel674714 2 жыл бұрын
are you not having issues with Dynamo after installing pyRevit? If I install pyRevit, Dynamo will not work (graphs not opening, wires not showing,)
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Hrm seems OK so far. I know it isnt ready for Revit 2023 but no issues in 2020-22 on my side. Reach out to Ehsan as he'll probably be keen to know if its a bug.
@robineriksson4044
@robineriksson4044 Жыл бұрын
Which laptop are you running revit with? I find mine lacking the power to run it smoothly, esp when I start to render images or opening two projects at the same time for when updating families etc.
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
I use an MSI WT75 8SM. Generally anything with 16+gb ram, a comparible vector graphics card and 3.7ghz processor or higher (ideally i7+) handles Revit well. 8GB ram and poor graphics cards are the usual issues I find with specs.
@adanieltorres01
@adanieltorres01 7 күн бұрын
Hi Gavin I'm a bit stuck on the issue of the folder where all the files are placed to create the extension in the toolbar (i.e. where the "pyRoovit" folder is located, so I can create my own extension) I hope I have made myself understood Excellent video and playlist, greetings from Mexico!
@AussieBIMGuru
@AussieBIMGuru 7 күн бұрын
Generally you can place it anywhere that can be pathed to in the settings. You will want to path to the folder which contains the .extension folder, not the extension folder itself.
@adanieltorres01
@adanieltorres01 7 күн бұрын
@@AussieBIMGuru thank you so much, Gavin!
@farhank90
@farhank90 9 ай бұрын
How to change order/ sequence of sheets while making a single batch pdf file
@AussieBIMGuru
@AussieBIMGuru 9 ай бұрын
Look into genius loci which I believe has a control in python and/or ability to print merged in provided order. Personally not sure myself though - i always bind in sheet number order.
@studiocourtyard
@studiocourtyard 6 ай бұрын
Hello gavin, should we learn c# or python?
@AussieBIMGuru
@AussieBIMGuru 6 ай бұрын
Comes down to what you need to achieve really. I suggest learning Python first if it is for Dynamo/pyRevit etc. There is less courses/guides for C# so it can be hard to begin there. I have a video here on benefits of Python for architects: kzbin.info/www/bejne/jnzcnZ5reZeFibssi=U1Mfg08FIkmKuI4B
@studiocourtyard
@studiocourtyard 6 ай бұрын
@@AussieBIMGuru ok thanks.
@Prosenjits94
@Prosenjits94 Жыл бұрын
Sir, I'm beginner in VS code. Import Autodesk.Revit.DB showing yellow wave line in VS code. can you please help me on this.
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
If youre in pyrevit use: from pyrevit import DB
@Prosenjits94
@Prosenjits94 Жыл бұрын
@@AussieBIMGuru Thank you for your valuable time. the code line is "from Autodesk.Revit.DB import". PROBLEM is showing "Import "Autodesk.Revit.DB" Could not be resolved. and the TERMINAL showing showing "WRN: Assembly binding logging is turned off".
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
@@Prosenjits94 oh I don't use VS code unfortunately, this is a Python video. Maybe try the revit forums for help.
@Prosenjits94
@Prosenjits94 Жыл бұрын
@@AussieBIMGuru Thank you. I Appreciate.
@calvinlao4847
@calvinlao4847 2 жыл бұрын
can pyrevit work on revit 2023?
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Not yet.
@biboydeplomo6823
@biboydeplomo6823 2 жыл бұрын
YT Algorithm =)
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Cheers!
@Th1swayD3athgaming
@Th1swayD3athgaming Ай бұрын
does not copy views templates from one revit model to another
@AussieBIMGuru
@AussieBIMGuru Ай бұрын
I have a separate video in this playlist where I build a tool for that.
@Th1swayD3athgaming
@Th1swayD3athgaming Ай бұрын
@@AussieBIMGuru would it be possible to grab shared coordinates ?? or am i being too greedy lol
@AussieBIMGuru
@AussieBIMGuru Ай бұрын
Not that I am aware of, dont think it is API exposed. Its two clicks away with acquire coordinates though I guess.
@Th1swayD3athgaming
@Th1swayD3athgaming Ай бұрын
@@AussieBIMGuru it is but maybe we can write a scrip for one/? lol..beggar being greedy ..me lol..great content by the way...love your work.
@AussieBIMGuru
@AussieBIMGuru Ай бұрын
@Th1swayD3athgaming if its not im the API scripts cant reach it generally. Shared coords are a relation between models vs something that can be copied so itd have to be coordonate specific API which I cant spot in my searching currently.
Making a pyRevit toolbar!
22:17
Aussie BIM Guru
Рет қаралды 15 М.
Unlocking the power of pyRevit! (Webinar)
49:38
Aussie BIM Guru
Рет қаралды 8 М.
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,8 МЛН
Run Dynamo scripts using pyRevit!
14:31
Aussie BIM Guru
Рет қаралды 13 М.
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 873 М.
FREE Parametric Revit Families (BIM Plug-in for Revit)
17:27
Balkan Architect
Рет қаралды 17 М.
pyRevit - The Ultimate Guide (Live) w/Ehsan
1:08:21
TheRevitKid
Рет қаралды 55 М.
How to get started with Obsidian in 2022 - from scratch!
13:38
Nicole van der Hoeven
Рет қаралды 448 М.
My 10 Golden Rules for working in Revit!
17:54
Aussie BIM Guru
Рет қаралды 23 М.
Python for Revit: python, RPS, RPW, and pyRevit
22:52
pyRevit
Рет қаралды 60 М.
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,8 МЛН