# Room Length & Width in Tag

**URL:** https://forum.dynamobim.com/t/room-length-width-in-tag/68403
**Category:** Revit
**Created:** [September 20, 2021, 6:55pm UTC](https://forum.dynamobim.com/t/room-length-width-in-tag/68403 "2021-09-20T18:55:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jwhite715](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jwhite715](https://forum.dynamobim.com/u/jwhite715)
#### Post date: [September 20, 2021, 6:55pm UTC](https://forum.dynamobim.com/t/room-length-width-in-tag/68403/1 "2021-09-20T18:55:02Z")

</div>

Hello,

I’m extremely new to Dynamo and I’m trying to get a graph to work that calculates a room’s length and width and sets that to a shared parameter and tag. I’ve followed the steps given from this link:

> **[Use Dynamo to report a room width and length in a Revit room tag | Search |...](https://knowledge.autodesk.com/search-result/caas/simplecontent/content/use-dynamo-to-report-room-width-and-length-revit-room-tag.html)**
>
> In conceptual design, it is often useful to report room dimensions to confirm program validation requirements and/or review dimensional rules of thumb. A simple Dynamo script can help expedite the task by translating the bounding box...

Everything seems to work well unless I have a room with an angled wall. In those instances the Ampesand “PolyCurve. Min Bounding Box” Node gets an error.

 ![Room Length and Width](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/3/c31e20831dee716dcef4c33a97fe94345356bc7c.png)

This hasn’t been a consistent issue as sometimes I’ve performed the same actions and the script seems to run fine. Any suggestions as to why this might be happening?

---

<div class="post-metadata">

### Author: ![honeyjain619](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/honeyjain619/32/121215_2.png) [@honeyjain619](https://forum.dynamobim.com/u/honeyjain619)
#### Post date: [September 21, 2021, 6:14am UTC](https://forum.dynamobim.com/t/room-length-width-in-tag/68403/3 "2021-09-21T06:14:10Z")

</div>

Hello @jwhite715  
I have created Share parameter which are imported in project file and in room tag family.  
[Room W&L.txt](https://forum.dynamobim.com/uploads/short-url/rRODcEKWOImSHTwnBMnpQfzT5bW.txt) (716 Bytes)  
[Room W&L.dyn](https://forum.dynamobim.com/uploads/short-url/p3TFt6xhOUoEd31nY0bQb8dFMzi.dyn) (24.8 KB)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/a/9aeaa0f3ab21e35a179d98a0abc214913f881549.png)  
This Script is created as per your reference video.
