# Using Dynamo to retrieve parameters for rooms and boundary (surrounding) elements

**URL:** <https://forum.dynamobim.com/t/using-dynamo-to-retrieve-parameters-for-rooms-and-boundary-surrounding-elements/5571>\
**Category:** Revit\
**Tags:** revit\
**Created:** [August 11, 2016, 5:22pm UTC](https://forum.dynamobim.com/t/using-dynamo-to-retrieve-parameters-for-rooms-and-boundary-surrounding-elements/5571 "2016-08-11T17:22:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrea.botti](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@andrea.botti](https://forum.dynamobim.com/u/andrea.botti)\
**Post date:** [August 11, 2016, 5:22pm UTC](https://forum.dynamobim.com/t/using-dynamo-to-retrieve-parameters-for-rooms-and-boundary-surrounding-elements/5571/1 "2016-08-11T17:22:45Z")

</div>

Hello,  
I would like to use Dynamo to generate a list, which could associate to each room a number of parameters for elements that represents the room boundaries.  
Such parameters include:

- Room: name, number, perimeter, area, volume;
- Windows: window no., sill height, height, width, area, type, orientation
- Walls: height, area, orientation
- Windows-to-floor and window-to-wall ratio.

With regards to window/door information, I’ve followed the guidance given on [this post]☹[http://dynamobim.org/forums/topic/help-with-definition-windows-in-rooms/](http://dynamobim.org/forums/topic/help-with-definition-windows-in-rooms/)) but although I have been applying the same nodes, I obtain empty lists.

I have uploaded on dropbox [the dyn file](https://www.dropbox.com/s/7ja9ot8jn2dfo2d/Windows_surrounding_AB.dyn?dl=0), and [a screen capture](https://www.dropbox.com/s/plwesb0t1kutlbf/Windows_surrounding_AB_capture.png?dl=0).

---

<div class="post-metadata">

**Author:** ![Ren\_Rainville](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ren_rainville/32/13298_2.png) [@Ren\_Rainville](https://forum.dynamobim.com/u/Ren_Rainville)\
**Post date:** [August 11, 2016, 11:30pm UTC](https://forum.dynamobim.com/t/using-dynamo-to-retrieve-parameters-for-rooms-and-boundary-surrounding-elements/5571/2 "2016-08-11T23:30:31Z")

</div>

For objects in room or partially within boundary maybe this other post might help:

> [@Apply Parameter if element lies within Bounding Box](https://forum.dynamobim.com/t/apply-parameter-if-element-lies-within-bounding-box/2279):
>
> Hi, &nbsp; As the title says I am trying to apply a drawing number to an element if the element lies within a specific Space/ Room/ Zone. I understand how to set and get the required parameters, but it is a case of the boolean I believe that I am stuck on. I am thinking that if I could take the bounding box coordinates and prove if the element geometry is modelled inside the region - if true apply the specific parameter value - if false test next region. Thanks in advance,

Some of these workflows might be able to be adapted to your request.
