Create room plans using Dynamo, Revit API + Python!

  Рет қаралды 3,924

Aussie BIM Guru

Aussie BIM Guru

Күн бұрын

Пікірлер: 32
@victors.7717
@victors.7717 11 ай бұрын
Great tutorial, as always! Please never give up creating this kind of content, you are an inspiration for many people and help us to be better BIM Managers every day. The incalculable value you bring to the BIM community is just amazing. Thank you, Gavin!
@AussieBIMGuru
@AussieBIMGuru 11 ай бұрын
Thanks Victor! Good to see you still find some time to check out the channel with the little one around, hope they're going well and you're all enjoying life in Barcelona.
@cathychoi6959
@cathychoi6959 11 ай бұрын
I like the way Gary always has an outline of the tutorial, so I am able to follow his next step, Thanks Gary!!
@AussieBIMGuru
@AussieBIMGuru 11 ай бұрын
Glad it helped!
@borun67
@borun67 11 ай бұрын
In every video, I learn more information about Revit Dynamo, thanks to you.
@AussieBIMGuru
@AussieBIMGuru 11 ай бұрын
You're most welcome!
@TechBIMHub
@TechBIMHub 11 ай бұрын
Thank you! I was just working on creating a unit layout for an apartment building then I got a notification for this video. Hahaha Thank you!
@AussieBIMGuru
@AussieBIMGuru 11 ай бұрын
Great timing!
@javiercalzadagallego3144
@javiercalzadagallego3144 11 ай бұрын
Thank you so much for your tutorials, I don't miss any videos. I learn a lot from your classes. Fantastic video as always.
@AussieBIMGuru
@AussieBIMGuru 11 ай бұрын
You're most welcome!
@evanvargas
@evanvargas 5 ай бұрын
Do you have this code saved in a respository somewhere?
@AussieBIMGuru
@AussieBIMGuru 5 ай бұрын
github.com/aussieBIMguru
@b_rodwell_SGP
@b_rodwell_SGP 11 ай бұрын
Hi Gavin - I hope you are safe and well today mate - I was just wondering how could I use python to get all the view family types in the current document? I know there is a node (OOTB) or part of Rhythmn package that does this but its a dropdown style node and id prefer if I could use it to get a list of them so I can plug it into Datashapes and allow users to specify the ViewFamilytype that is assigned to elevations / plans of room data sheet creation. Also I had a working script that did all this but thanks to the updates to the Revit API the custom packages no longer work :(
@AussieBIMGuru
@AussieBIMGuru 11 ай бұрын
Safe and sound mate! Everything's a bit chaotic and expensive, but that's reality for all of us these days.... The easiest way to do this is with a filtered element collector in Python, like this: OUT = FilteredElementCollector(doc).OfClass(ViewFamilyType).ToElements() This is the class that stores the types: www.revitapidocs.com/2024/e0edeb6d-1627-3e3f-e386-be182a9dd8cb.htm
@olgagabriel1220
@olgagabriel1220 Ай бұрын
Hi, thanks a lot for this great tutorial! I'm aiming to get something similar but based not on one room but on few rooms, placed near one another - rooms of one apartment. They have one common parameter, let's say apartment_ID so I can imagine filtering room category to get the set of apartment rooms. But what then? Is there a way to merge polycurves to one big polycurve? Or maybe I could do something like romms to spaces, then spaces to zone then get boundary of zone? What do you think of this?
@AussieBIMGuru
@AussieBIMGuru Ай бұрын
Merging polycurves is quite difficult unfortunately. The only approaches I can think of are: 1. If the apartments all neighbor one another, extrude then upwards as a solid, union them together, intersect them halfway up for the surface and get that surfaces boundary. If there is walls between, offset the curves outward slightly first 2. If the apartments are not connected, you could get the bounding box of their solids then crop by that. It wouldn't go around the room boundaries though, just the box around them. 3. Look into convex hull/alpha shapes as a method to form a shape around the corner points of the polycurves. Sparrow package has some nodes for this.
@olgagabriel1220
@olgagabriel1220 Ай бұрын
@@AussieBIMGuru Thanks a lot, really appreciating!
@Maksim_Ikryanov
@Maksim_Ikryanov 11 ай бұрын
Good stuff!!! 😊
@AussieBIMGuru
@AussieBIMGuru 11 ай бұрын
Thanks!
@hugoarreaza8080
@hugoarreaza8080 5 ай бұрын
Hello guys, I keep geting this message: ArgumentException: Boundary in boundary should represent one closed curve loop without self intersections, consisting of non-zero length straight lines in a plane parallel to the view plane. Parameter name: boundary at Autodesk.Revit.DB.ViewCropRegionShapeManager.SetCropShape(CurveLoopboundary) ['File "", line 60, in cropPlanView '] do you guys have an idea how to solve this?
@AussieBIMGuru
@AussieBIMGuru 5 ай бұрын
This warning commonly relates to rooms with messier boundaries, particularly if any edges are bound through almost being closed. Check which of the rooms cause the error and that might reveal a potential cause.
@Andree-m5y
@Andree-m5y 6 ай бұрын
Hello Gavin, first of all, thank you very much for all your hard work and the many videos. You're doing a great job. I have adopted your Python script from GitHub and adapted it according to your video. All results (ViewPlans_all, names_all, and selected) are output correctly. However, for rooms_out and names_out, I get two empty lists. I hope you can help me with this, as I need to create over 4000 floor plans in the coming months. Best regards, Andree
@AussieBIMGuru
@AussieBIMGuru 6 ай бұрын
@@Andree-m5y if you take the code out of the try/except statement it will likely reveal the issue.
@revitdviser4769
@revitdviser4769 11 ай бұрын
Is there a benefit of importing everything from db rather than targeting specific classes? Just curious.
@AussieBIMGuru
@AussieBIMGuru 11 ай бұрын
Not really, it just makes the videos a bit less boring if I just do *. Usually i begin my code with * and then limit the classes once I know what classes it needed.
@MonkeysRus
@MonkeysRus 11 ай бұрын
This is great thank you!
@AussieBIMGuru
@AussieBIMGuru 11 ай бұрын
You're welcome!
@arslanali8998
@arslanali8998 2 ай бұрын
Great contant ❤
@AussieBIMGuru
@AussieBIMGuru 2 ай бұрын
Glad you think so!
@ignaciocartes1809
@ignaciocartes1809 3 ай бұрын
Hi guys! I'm getting this warning: TargetException: Object does not match target type. at System.Reflection.RuntimeMethodInfo.CheckConsistency(Object target) at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Python.Runtime.MethodBinder.Invoke (IntPtr inst, IntPtr args, IntPtr kw, MethodBase info, MethodInfo[] methodinfo) ['File "", line 82, in ', 'File "", line 51, in cropPlanView '] Anyone have an idea to solve this? Thanks
@AussieBIMGuru
@AussieBIMGuru 3 ай бұрын
I'd suggest consulting the forums - easier to troubleshoot these types of warnings there vs YT commnets.
Aligning linked geometry using Dynamo for Revit!
10:12
Aussie BIM Guru
Рет қаралды 2,3 М.
Create + update sheets using Dynamo, Revit API and Python!
25:44
Aussie BIM Guru
Рет қаралды 2,3 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
'Nuke' Revit models using Dynamo, Python + Revit API!
27:38
Aussie BIM Guru
Рет қаралды 3,7 М.
Project Revit floors to topography using Dynamo!
32:24
Aussie BIM Guru
Рет қаралды 7 М.
This AI Robot Is Doing the Impossible - Unitree x ElizaWakesUp
9:30
AI Revolution
Рет қаралды 158 М.
Is Dynamo becoming too difficult to manage?
27:04
Aussie BIM Guru
Рет қаралды 3,7 М.
How to Build Effective AI Agents (without the hype)
24:27
Dave Ebbelaar
Рет қаралды 84 М.
Unhide all elements in View using Dynamo, Revit API and Python!
24:15
Aussie BIM Guru
Рет қаралды 2,1 М.