# Get data from room parameter and write to area parameter

**URL:** <https://forum.dynamobim.com/t/get-data-from-room-parameter-and-write-to-area-parameter/39131>\
**Category:** Revit\
**Created:** [August 5, 2019, 9:40pm UTC](https://forum.dynamobim.com/t/get-data-from-room-parameter-and-write-to-area-parameter/39131 "2019-08-05T21:40:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![robertjohn](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@robertjohn](https://forum.dynamobim.com/u/robertjohn)\
**Post date:** [August 5, 2019, 9:40pm UTC](https://forum.dynamobim.com/t/get-data-from-room-parameter-and-write-to-area-parameter/39131/1 "2019-08-05T21:40:23Z")

</div>

Hi All,  
I am new to dynamo. Please bear with me if i am not clear. I have an area plan (NIA) of multiple flats of apartment block. Each flats having 2 or 3 bedrooms. Now i need to create an area schedule of each flat (NIA) in which i need to write all bedroom areas along with NIA and etc… Is there any one help me to create dynamo script which collect all these bedroom areas to NIA area schedule?  
Please note there is common Plot number for NIA area and All rooms with the Area

Regards,  
Robert John

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [August 6, 2019, 7:24am UTC](https://forum.dynamobim.com/t/get-data-from-room-parameter-and-write-to-area-parameter/39131/2 "2019-08-06T07:24:51Z")

</div>

> [@Area Paramters to Room Parameters](https://forum.dynamobim.com/t/area-paramters-to-room-parameters/38984/4):
>
> Hi @Mohammad_Nawar, thanks for your reply. The script seems corrupted but I am able to build similar to your that comes with error at “Surface.Bypatch” from Areas category. Also this scripts seems copying data from Rooms to Area where my requirement is to copy Area parameter to Rooms. I have tried changing the graphs setting but so far I have no success with it. I will keep trying and will post once i have success. thanks and regards,

---

<div class="post-metadata">

**Author:** ![robertjohn](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@robertjohn](https://forum.dynamobim.com/u/robertjohn)\
**Post date:** [August 6, 2019, 12:46pm UTC](https://forum.dynamobim.com/t/get-data-from-room-parameter-and-write-to-area-parameter/39131/3 "2019-08-06T12:46:18Z")

</div>

Thanks Mohammad. I will try this and let you know that outcome.
