Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynamo bounding box

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
nagybela2000
505 Views, 7 Replies

Dynamo bounding box

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

 

7 REPLIES 7
Message 2 of 8

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
Message 3 of 8

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.

Message 4 of 8
j0hnp
in reply to: nagybela2000

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



Message 5 of 8
nagybela2000
in reply to: nagybela2000

Thanks

Message 6 of 8
nagybela2000
in reply to: nagybela2000

.

Message 7 of 8
nagybela2000
in reply to: j0hnp

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?
Message 8 of 8
nagybela2000
in reply to: nagybela2000

nagybela2000_0-1724746428211.png

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report