# Displaying BoundingBox of an element

**URL:** <https://forum.dynamobim.com/t/displaying-boundingbox-of-an-element/69974>\
**Category:** Geometry\
**Created:** [November 3, 2021, 3:55pm UTC](https://forum.dynamobim.com/t/displaying-boundingbox-of-an-element/69974 "2021-11-03T15:55:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![TaraPD](https://avatars.discourse-cdn.com/v4/letter/t/58956e/32.png) [@TaraPD](https://forum.dynamobim.com/u/TaraPD)\
**Post date:** [November 3, 2021, 3:55pm UTC](https://forum.dynamobim.com/t/displaying-boundingbox-of-an-element/69974/1 "2021-11-03T15:55:51Z")

</div>

Hi,  
How can I display a BoundingBox in Dynamo?  
I am using this Code Block code but it doesn’t work.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/5/659de6ad80a0d04c0b17760d2ce355a7dbe1caa0.png)

Dynamo 2.6.1  
Revit 2021.1.3

Thanks in advance

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [November 3, 2021, 3:57pm UTC](https://forum.dynamobim.com/t/displaying-boundingbox-of-an-element/69974/2 "2021-11-03T15:57:19Z")

</div>

Hi @TaraPD …you could try " boundingbox to cuboiid

---

<div class="post-metadata">

**Author:** ![\_Vijay](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/_vijay/32/91307_2.png) [@\_Vijay](https://forum.dynamobim.com/u/_Vijay)\
**Post date:** [November 3, 2021, 3:58pm UTC](https://forum.dynamobim.com/t/displaying-boundingbox-of-an-element/69974/3 "2021-11-03T15:58:38Z")

</div>

use  
Edit:

> `BoundingBox.ToCuboid`

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/0/506ac36c78ce95ba1a286ad6f0036786bec8ffe0.png)

---

<div class="post-metadata">

**Author:** ![TaraPD](https://avatars.discourse-cdn.com/v4/letter/t/58956e/32.png) [@TaraPD](https://forum.dynamobim.com/u/TaraPD)\
**Post date:** [November 3, 2021, 4:01pm UTC](https://forum.dynamobim.com/t/displaying-boundingbox-of-an-element/69974/4 "2021-11-03T16:01:02Z")

</div>

Thanks for your reply.  
I am trying to avoid generating any geometry in my script, it is a huge project and geometries will make the process very slow. Unfortunalty the BoundingBox.ToCuboid , Element.Geometry, and BoundingBox.ByGeometry are not the best for my case…

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [November 3, 2021, 4:01pm UTC](https://forum.dynamobim.com/t/displaying-boundingbox-of-an-element/69974/5 "2021-11-03T16:01:13Z")

</div>

Hm…yes good for creating boundingbox…

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [November 3, 2021, 4:04pm UTC](https://forum.dynamobim.com/t/displaying-boundingbox-of-an-element/69974/6 "2021-11-03T16:04:47Z")

</div>

Then i think it will be difficult to show them…if dont wanna create cuboid…but think there are some custom nodes where you can get its curves

---

<div class="post-metadata">

**Author:** ![Daniel\_Hurtubise](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daniel_hurtubise/32/146534_2.png) [@Daniel\_Hurtubise](https://forum.dynamobim.com/u/Daniel_Hurtubise)\
**Post date:** [November 3, 2021, 4:22pm UTC](https://forum.dynamobim.com/t/displaying-boundingbox-of-an-element/69974/7 "2021-11-03T16:22:25Z")

</div>

> [@sovitek](#):
>
> good for creating boundingbox…

You can generate the cuboid but turn off the preview and get the curves from there  
Not sure it will be less performance impactful though

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [November 3, 2021, 4:26pm UTC](https://forum.dynamobim.com/t/displaying-boundingbox-of-an-element/69974/8 "2021-11-03T16:26:30Z")

</div>

Yes @Daniel_Hurtubise true…it was actuelly an answer to @_Vijay before he edit his post…but anyway dont think its much better in perfomance

---

<div class="post-metadata">

**Author:** ![Aparajit\_Pratap](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@Aparajit\_Pratap](https://forum.dynamobim.com/u/Aparajit_Pratap)\
**Post date:** [June 16, 2025, 3:05am UTC](https://forum.dynamobim.com/t/displaying-boundingbox-of-an-element/69974/9 "2025-06-16T03:05:18Z")

</div>

Bounding Box is displayed in Dynamo 3.0. Closing.
