- 38
- 545 836
ArchSmarter
เข้าร่วมเมื่อ 29 เม.ย. 2015
Get Room Dimensions from ANY Room Using Dynamo
I recently got a question from a student in my Dynamo Dojo course about getting room dimensions using Dynamo. He's working on some test fits and wants to automatically display the room length and width in the room tag. This is pretty straightforward to do using bounding boxes. However, things quickly fall off the rails when you have irregularly shaped or rotated rooms. You can get incorrect dimensions as the bounding boxes orient to the view rather than the room geometry. Not good! But I looked around and found a couple of little-used, out-of-the-box nodes that solved that problem for me nicely and easily. I ended up with an elegant solution that works for almost any room.
How did I do it? Keep watching to find out as I take you step-by-step through my solution.
How did I do it? Keep watching to find out as I take you step-by-step through my solution.
มุมมอง: 289
วีดีโอ
Easily Create Placeholder Sheets in Dynamo with Python
มุมมอง 1974 หลายเดือนก่อน
Learn to create placeholder sheets in Revit using Dynamo (and Python)! Placeholder sheets are useful when you need to include consultant sheets in your sheet index but don't want to create the sheets in your model. In this video, we'll read sheet data from an Excel file and use the data to create placeholder sheets using two methods: Python code and a custom node.
Are Revit Macros Dead?
มุมมอง 6054 หลายเดือนก่อน
Revit 2025 introduced new changes to Revit automation, including a significant revamp of the Revit macro environment. Were these changes for the better or did this update kill Revit macros? Watch to find out! Learn more about the Revit Add-in Bootcamp here: www.archsmarter.com/revit-addin-bootcamp
4 Ways to Export Your Dynamo Geometry to Revit
มุมมอง 6935 หลายเดือนก่อน
In this video, I share with you four ways you can convert your Dynamo geometry into Revit elements. I've been doing some experimentation with Dynamo geometry based on the book, Parametric Design for Architecture by Wasim Jaby. The book contains many interesting examples of parametric design. However, all the code samples are for 3D Studio Max. I am not a 3D Studio expert by any stretch so I'm r...
Rotate Families Along an Arc
มุมมอง 1575 หลายเดือนก่อน
In this episode of How To Dynamo, I will show you how to rotate family instances along an arc. In a previous episode, I showed you how to place family instances on a sloped surface. I used a theater as an example and we placed the theater seats in rows following the slode of the floor. We used an arc to define the rows. At the end of that tutorial, we rotated the theater seat instances so they ...
Place Families on Sloped Floor in Revit
มุมมอง 2635 หลายเดือนก่อน
In this episode of How-To Dynamo, you will learn how to place families on a sloped surface using Dynamo. Say you're working on designing an auditorium, and you need to place your seats in rows on a sloped floor. This is a challenge to do manually because each row will have a different elevation as you move up the slope. I will show you how to use model lines to define your rows and then project...
10 Essential Code Block Techniques for Dynamo
มุมมอง 9546 หลายเดือนก่อน
In this episode of How To Dynamo, you will learn 10 ways you can use code blocks in your Dynamo scripts. I'm a big fan of code blocks. They are super easy to create and very flexible in what they can do. Whether you’re new to Dynamo or a seasoned pro, code blocks can elevate your workflows to the next level. Seriously!
How to calculate area ratios with Dynamo
มุมมอง 2206 หลายเดือนก่อน
In this episode of How To Dynamo, you will learn how to calculate area ratios using Dynamo. Say you want to know the ratio of usable area to gross area. This can be difficult to determine in Revit because you can't include gross and rentable areas in the same schedule. But with a little Dynamo know-how, you can easily do this calculation.
Quickly Renumber Revit Elements with Dynamo: A Step-by-step Guide
มุมมอง 7276 หลายเดือนก่อน
Get my free Dynamo template. Go to www.archsmarter.com/dynamo-template Discover how to effortlessly renumber elements in Revit using Dynamo in this episode of How To Dynamo! Ever have to renumber rooms, doors, or parking spaces because of missed or added elements? Say goodbye to the manual grind! With Dynamo, you can do it quickly and accurately. This tutorial will take you through a step-by-st...
Dynamo Node Lacing Explained!
มุมมอง 2497 หลายเดือนก่อน
Get my free Dynamo template. Go to www.archsmarter.com/dynamo-template In this episode of How To Dynamo, you will learn everything you need to know about node lacing and how you can use it to troubleshoot common Dynamo problems.
How to Perfectly Center Rooms Using Dynamo
มุมมอง 6967 หลายเดือนก่อน
Get my free Dynamo template. Go to www.archsmarter.com/dynamo-template This easy-to-follow tutorial will teach you how to center rooms perfectly in Revit using Dynamo. Say goodbye to manual adjustments and hello to efficient modeling!
How to Get and Set Type Parameters in Revit Using Dynamo
มุมมอง 1.7K7 หลายเดือนก่อน
Get my free Dynamo template. Go to www.archsmarter.com/dynamo-template In this episode of How-To Dynamo, you will learn how to get and set type parameters using Dynamo. As a Revit user, you can set type parameters directly in the type using the Properties window. You can even set them in a schedule. But suppose you want to set a type parameter in multiple types based on other model data. This o...
How to Get Elements by Name in Dynamo
มุมมอง 8357 หลายเดือนก่อน
Get my free Dynamo template. Go to www.archsmarter.com/dynamo-template Need to get a specific view in Dynamo? Or how about certain wall types? In this video, you'll learn a super-useful node combination that will get you any element (or elements) in Dynamo using by name.
How to Sort Revit Elements Efficiently in Dynamo
มุมมอง 7328 หลายเดือนก่อน
Get my free Dynamo template. Go to www.archsmarter.com/dynamo-template Learn how to efficiently sort Revit elements in Dynamo with Michael from ArchSmarter! Discover how to organize rooms, areas, and levels by specific parameters like room number or elevation. Say goodbye to traditional sorting methods and subscribe for more tips on optimizing your workflow!
Revit API Secrets: Create Powerful View Filters Today!
มุมมอง 1.1Kปีที่แล้ว
In this Revit API Secrets video, you will learn how to create and apply view filters to views using C# and the Revit API. By using filters, you can customize how your views look and behave, making it easy to navigate your data. We will first create a two-rule view filter using a LogicalAnd filter. We’ll then use those same rules to create a LogicalOr filter. We will also create graphic override...
Revit API Secrets: Master the Art of Dimensioning Multiple Elements
มุมมอง 2.9Kปีที่แล้ว
Revit API Secrets: Master the Art of Dimensioning Multiple Elements
Advanced Sorting and Grouping in Dynamo
มุมมอง 58K7 ปีที่แล้ว
Advanced Sorting and Grouping in Dynamo
thank you for this tutorial but i have a question sort by function node it sorts the elements like this 01-02-03-..-09-10-100-101 and it skips number 11 because its one one not one zero how can i solve it thanks again.
Thank you for your video. But i have a quesion that the input of node "FamilyType.ByGeometry" is the solid geometry. However, i just want to export polycurve or surface. So that, are there any nodes can replace this node used for polycurve or surface? Thank you so much !
Thank you very much for this video. I have been searching for a solution to this for a while. After following the tutorial and running the script I was wondering how to handle this for a multi-story building. I tried it on a two-story and the second floor bounding boxes super imposed on the first floor and didn't report the correct rooms sizes.
Hi, i am trying to create a circular curved geometry between nodes for a piling system along a path for different coordinates but i am having trouble making the dynamo script. do you have a video that may help me do this?
I've watched several of your videos now. After wading through the nightmare-swamp of revit and dynamo TH-cam videos, I feel like I've found an oasis (to mix my metaphors). They are all clear, concise, accurate, to-the-point, helpful, easy to understand... I could go on, but you get the drift. I'm so thankful I found this source. I know this is kind of a 'niche' channel, but you deserve way more subscribers.
Hello Michael, I've been following your newsletter for a while and have loved the resources you've shared. Now, I have a question. I'm running into a problem with the BoundingBox.ToCuboid node. I'm test with a simple model with only 4 rooms with different geometries (similar to you), and it's outputing an error saying: "Could not get Cuboid vertices after transform: NULL_VERTEX -- null pointer to vertex given." This was odd considering all my bounding boxes have proper numerical values. I'd appreciate the help as I haven't found any troubleshooting help online. Thanks for all you do.
Helped me way better to understand code block use cases. Thank you!
Glad it helped!
My 1st Dynamo script! And it works... Can you please tell me how do I do that to move already placed tags? thanks!
@Gossie72 Are you looking to move the existing tags to the center of the room or is there somewhere else you want to move them?
@@ArchSmarter Hi! Yes... move to the center. with your script (my first one ever!!!), I run it, then delete all tags and add again. It was nice to be able to center the existing ones.
thank you for sharing tu us. but i am in hard time. i try to explode the import form as usual i do in revit 2021, now at revit 2024 in new office and i got error said 3D form cannot be exploded. under checking the problem, i try make simple box by dynamo as sample, and i got same end, still it refuse to explode. did i miss something??
Thank you so much, this is very useful!
Hey thank you so much for your video. th-cam.com/video/cVn4FDmfcfQ/w-d-xo.html - you are using a foreach loop with conditionals to get what you want. I used to do this but found LINQ sooooooooooooooooooooooo much easier, and preferable. highly highly recommend you try this approach with your videos. haha ok you use linq later on nice work. perhaps you had some pedogogical basies for not doing so earlier?
Hi ArchSmarter, I¨ve been looking for a way to tag rooms in section views with dynamo... any ideas? I´m able to get the rooms and desired tag position ,but none of the place tag nodes i´ve tried seems to do the job... i think they are intended for plan views only or for annotation tags, but not for room tags in section views... please your advice!
That's a good question. I'll do some testing and let you know what I find out.
great insight
Thank you for that tutorial, really useful information and clearly explained. The only question I have if that's possible to adjust this solution to work with linked elements? I wonder if it's possible to actually access all the properties and references that we are targeting in this example.
Yes, it should work the same with a linked elements but I haven't tested it. What types of elements are you looking to dimension from the linked file?
Amazing Michael best regards
Hi Michael, thanks! One question, how do you select back to revit the elements filtered in dynamo?
Do you mean you want to have those elements select in Revit?
@@ArchSmarter Hey thanks for your reply. Yes, I'm working with something similar, and I found a solution utilizing the node "Springs.SelectInRevit". Cheers!
Hi! what node can we use, if you need to get multiple parameter values to show
You can either use multiple instances of the Element.GetParameterValueByName node or you could pass a list of parameter names into a single instance of Element.GetParameterValueByName. It really depends on what you want to do with the parameter values once you get them.
Other than the first version issue of file locations,etc., I don't see external macros as an issue. If you crash revit,at least your side (and this your code) doesn't crash as well like it does with sharpdevelop and dynamo. I imagine they will figure out some way to make it bets based on feedback.
That's a good point regarding VS Code. SharpDevelop was unstable and would crash (and crash Revit). Getting rid of document macros, however, is a bigger issue for me.
DWG to Pipe fitting can you explain it once.
Can you explain a bit more? You had a DWG plan showing pipe fittings and you want to conver this to Revit? Is that correct?
Interesting VSCode editing
Thanks for sharing. I learned a lot :)
Any way to change the order of filters in a view. I'm adding a filter but need it to override the other filters and by default it is added to the bottom of the list rather than the top.
Great script, thanks Michael
Glad you enjoyed it
thanks Michael, great video as always, just a quick comment, another approach (perhaps better? IMHO) is using Solid.Centroid
That's a good suggestion. I'll have to try that. It would save a couple of nodes. Thanks!
It is hard to follow along because the screen text is out of focus.
Hi Michael, your videos are awesome and well explained.
Thanks! I'm glad you think so.
Thank you, very helpful ❤
Glad it was helpful!
how to solve the 0 dimension when the window reference on the same point of reference wall ?
thank you
Hi Michael, for family instance, there is a more straightforward method on revit api to get the reference: www.revitapidocs.com/2024/a8a7dc74-db8e-a7b6-a9c8-869397cca6b4.htm public IList<Reference> GetReferences( FamilyInstanceReferenceType referenceType ) So you can input something like FamilyInstanceReferenceType.CenterLeftRight to retrieve the reference.
easy to understand, simply explained. Great content, thank you for sharing !
Hi. Why do not you use this directly?: EdgeArray edgeArray = solid.Edges; foreach (Edge edge in edgeArray) { ... }
I can't add parameterfilter in view. I take view from the sheet.
Thank you
this video was so precise to my requirement thankyou.
I know that ParameterFilterRuleFactory creates FilterRule objects but I had a hard time putting them together because of the hiearchy. there was nothing I found (I'm a beginner) in FilterRule that would lead me back to ParameterFilterRuleFactory.. and vise versa.
Great video, I am new to Dynamo and just had a weird thought. If we have to renumber the sheets first before going into Dynamo, doesn't that defeat the process of going into Dynamo all together? I might as well just renumber them the first time.
I'm really looking forward to watching lesson 2. Please keep going.
Hi, i got 1 question, i got an error "the type or namespace name 'Bitmap' does not exist in the namespace 'System.Drawing' (are you missing an assembly reference? (CS0234), by the way I'm not a programmer, i´m trying my best to understand this, but i dont know what im doing or missing. Thanks! I apreciate any help!
Add the System.Drawing reference to your Visual Studio solution. Also, try adding the following to the top of your code file: using System.Windows.Media.Imaging; Do those changes resolve the error?
thanks for the tips, i will try later on the day, i´ll let you know! @@ArchSmarter
you need to remove his revit api references and add yours
Hi sir.. Good to see you back.. Is there anyway to contact you sir?
Good to be back! You can contact me here: www.archsmarter.com/contact
THANK YOU!!! THIS IS EXACTLY WHAT I WAS LOOKING FOR
Tnqqq soo much sir
hi is amazing your work i would like to know if you have a course about API for sub disipline Electrical thanks
It helps a lot . Thank you .
Thank you very very much.
lesson 2 , Please!!!!!!!
Thanks! It helped me a lot!
thank you ;it s great
always up to date, thank you
Hello, i need to create 4 filter lists by color, how can i do that?