# FloorPlan.ByRoom levelId error

**URL:** <https://forum.dynamobim.com/t/floorplan-byroom-levelid-error/71674>\
**Category:** Lists-Logic\
**Created:** [December 23, 2021, 12:07pm UTC](https://forum.dynamobim.com/t/floorplan-byroom-levelid-error/71674 "2021-12-23T12:07:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wildtypitch](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@Wildtypitch](https://forum.dynamobim.com/u/Wildtypitch)\
**Post date:** [December 23, 2021, 12:07pm UTC](https://forum.dynamobim.com/t/floorplan-byroom-levelid-error/71674/1 "2021-12-23T12:07:07Z")

</div>

I’m feeding this node with room Id’s but I’m getting this error

Exception: The elementId levelId does not correspond to a level. Parameter name: levelId

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/8/f8f51fa9e551d0f88aedd6682d69f913926624f9.png)

---

<div class="post-metadata">

**Author:** ![Wildtypitch](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@Wildtypitch](https://forum.dynamobim.com/u/Wildtypitch)\
**Post date:** [December 23, 2021, 12:17pm UTC](https://forum.dynamobim.com/t/floorplan-byroom-levelid-error/71674/2 "2021-12-23T12:17:08Z")

</div>

So I’m getting room ID’s from a linked document. is the problem to do with those levelId’s coming from the linked document not corresponding to this document LevelId’s?

Edit: Further reaserch seems to suggest that using linked files can be tricky. Sadly i have no choice. Id there an obvious workaround? I’ll upload the file.

I’ve also notice on Line 96 of the FloorPlan.ByRoom node that it refers to ViewName which I’ve read in the archi-labs website is no longer supported and is now just Name. But I don’t think that’s the case. Anyway changing ViewName to Name in the code doesn’t make a difference.

---

<div class="post-metadata">

**Author:** ![Wildtypitch](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@Wildtypitch](https://forum.dynamobim.com/u/Wildtypitch)\
**Post date:** [December 23, 2021, 1:43pm UTC](https://forum.dynamobim.com/t/floorplan-byroom-levelid-error/71674/3 "2021-12-23T13:43:16Z")

</div>

[ROOMS - Create Elevations, RCPs and Plans from Linked File by Department\_D2.3NM.dyn](https://forum.dynamobim.com/uploads/short-url/x3l0lmk7BbPcDAtUzobtbPCOPM2.dyn) (149.6 KB)
