# How to get the height of the roof structur in Dynamo?

**URL:** <https://forum.dynamobim.com/t/how-to-get-the-height-of-the-roof-structur-in-dynamo/10298>\
**Category:** Uncategorized\
**Created:** [March 13, 2017, 2:27pm UTC](https://forum.dynamobim.com/t/how-to-get-the-height-of-the-roof-structur-in-dynamo/10298 "2017-03-13T14:27:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hannes](https://avatars.discourse-cdn.com/v4/letter/h/f0a364/32.png) [@Hannes](https://forum.dynamobim.com/u/Hannes)\
**Post date:** [March 13, 2017, 2:27pm UTC](https://forum.dynamobim.com/t/how-to-get-the-height-of-the-roof-structur-in-dynamo/10298/1 "2017-03-13T14:27:17Z")

</div>

Hi, i use revit 2016 and Dynamo 1.2.  
I need to get the height of the roof structure for different roof types.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/8/18571cf9e7a6c4ba8cf2f117ae487abb5ad6d265.png)

I have the “Maximum Ridge Height” and the “Slope”.

In the end i try to calculate the eaves height.

Any ideas how i can accomplish  
this?

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [March 13, 2017, 2:55pm UTC](https://forum.dynamobim.com/t/how-to-get-the-height-of-the-roof-structur-in-dynamo/10298/2 "2017-03-13T14:55:11Z")

</div>

Give the _BondingBox_ a try  
You should be able to then extract the Max and Min points, the Z coordinates of which should help you obtain the height

---

<div class="post-metadata">

**Author:** ![Hannes](https://avatars.discourse-cdn.com/v4/letter/h/f0a364/32.png) [@Hannes](https://forum.dynamobim.com/u/Hannes)\
**Post date:** [March 14, 2017, 2:40pm UTC](https://forum.dynamobim.com/t/how-to-get-the-height-of-the-roof-structur-in-dynamo/10298/3 "2017-03-14T14:40:01Z")

</div>

Thx Vikram, your idea worked for me!
