Dynamo bounding box

nagybela2000
Participant
Participant

Dynamo bounding box

nagybela2000
Participant
Participant

Hi there, I have a problem where I want to create a bounding rectangle around the doors in a Revit file. I’ve more or less managed to do that, but unfortunately, the coordinate system doesn’t match. Could you possibly help with what might be worth doing?Additionally, these solids are not being placed in Revit as generic models.

nagybela2000_0-1722864229878.pngnagybela2000_1-1722864244199.png

 

0 Likes
Reply
Accepted solutions (1)
504 Views
7 Replies
Replies (7)

Mohamed_Arshad
Advisor
Advisor

Hi @nagybela2000 

 

    Bounding box is always parallel to Internal Co-Ordinate system. In image created bounding boxes are correct.

If you need an angled bounding box, then take basis of the family instance and need to create our bounding box by computing geometry.

 

Hope this will Helps 🙂

    

Thanks & Regards,
Mohamed Arshad K
0 Likes

metehanhanedan
Contributor
Contributor

Hey!

 

Dynamo geometry is different from Revit model elements. One is abstract object like a line or a point while other can be described on real world like walls or floors. To make Dynamo geometry touchable in Revit environment you can use ImportInstance.ByGeometry node.

0 Likes

j0hnp
Advocate
Advocate
Accepted solution

Dynamo now has a node for "BoundingBox.ByMinimumVolume" which is handy for non-axis aligned bounding boxes.
Minimum Volume:

j0hnp_0-1722965330261.png

 

vs Typical Axis Aligned Bounding Box:

j0hnp_1-1722965364416.png

 

 

john.pierson

expert elite / design technologist / dynamo package creator

designtechunraveled.com



nagybela2000
Participant
Participant

Thanks

0 Likes

nagybela2000
Participant
Participant

.

0 Likes

nagybela2000
Participant
Participant
I managed to solve it, thank you for your help. My next question is how can I reduce the size of these rectangular prisms by 1-1-1 cm?
0 Likes

nagybela2000
Participant
Participant

nagybela2000_0-1724746428211.png

 

0 Likes