# Curve join produced more than one WIRE in PolyCurve

**URL:** <https://forum.dynamobim.com/t/curve-join-produced-more-than-one-wire-in-polycurve/59202>\
**Category:** Uncategorized\
**Created:** [January 12, 2021, 3:29pm UTC](https://forum.dynamobim.com/t/curve-join-produced-more-than-one-wire-in-polycurve/59202 "2021-01-12T15:29:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![adawladola](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@adawladola](https://forum.dynamobim.com/u/adawladola)\
**Post date:** [January 12, 2021, 3:29pm UTC](https://forum.dynamobim.com/t/curve-join-produced-more-than-one-wire-in-polycurve/59202/1 "2021-01-12T15:29:12Z")

</div>

hi guys i hope you are all fine  
i want to create a floor by using (Floor.ByOutlineTypeAndLevel)  
but i get this error (Curve join produced more than one WIRE in PolyCurve)  
so where is the problem and how to resolve it .  
Thanks in advance

 ![BP](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/a/6abacea91d71a8aaf07f2537479641a4ded6abd2.png)

---

<div class="post-metadata">

**Author:** ![Joelmick](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/joelmick/32/93148_2.png) [@Joelmick](https://forum.dynamobim.com/u/Joelmick)\
**Post date:** [January 12, 2021, 3:59pm UTC](https://forum.dynamobim.com/t/curve-join-produced-more-than-one-wire-in-polycurve/59202/2 "2021-01-12T15:59:30Z")

</div>

Hi @adawladola,

What is the list structure of the List.Create you are putting in the Floor.ByOutlines node? Can you show us the preview?

---

<div class="post-metadata">

**Author:** ![adawladola](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@adawladola](https://forum.dynamobim.com/u/adawladola)\
**Post date:** [January 12, 2021, 4:08pm UTC](https://forum.dynamobim.com/t/curve-join-produced-more-than-one-wire-in-polycurve/59202/3 "2021-01-12T16:08:12Z")

</div>

hi @Joelmick there are all the material … i try to use a cad fiel to create a curve by using (CAD.CurvesFromCADLayers) and then i tried to offest theme to create floors …[3 try ilot e - Plan d’étage - Site.dwg](https://forum.dynamobim.com/uploads/short-url/9sj4nBNltFKnDAIY9Ifl2CeZL0i.dwg) (384.0 KB) [exemple.rvt](https://forum.dynamobim.com/uploads/short-url/lduLWoKs3NEOqInPuHvezArDPCS.rvt) (3.0 MB) [beton de propritie.dyn](https://forum.dynamobim.com/uploads/short-url/8fm0xE7p2inHUp4VtsrEZSeWk4g.dyn) (65.3 KB)

---

<div class="post-metadata">

**Author:** ![Joelmick](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/joelmick/32/93148_2.png) [@Joelmick](https://forum.dynamobim.com/u/Joelmick)\
**Post date:** [January 13, 2021, 1:40pm UTC](https://forum.dynamobim.com/t/curve-join-produced-more-than-one-wire-in-polycurve/59202/4 "2021-01-13T13:40:09Z")

</div>

Hi,

I took a look at your graph. The problem is the List structuring. You alreadt start with a List inside another List. If you query only one layer from the **CAD.CurvesFromCADLayers** it is good practise to **Flatten** everything.

The error for the floors was because the lists you put in, where not structured. You put in 4 lists with each 3 curves, each lists represents an edge of the floor. What you should do is structure everything so that you have 3 lists with 4 lines and all the lines inside a list is for 1 floor. This is an easy fix with the **Transpose** node. Add the **Flatten** and the **Transpose** node at the marked places (See below)

If you have any questions, let me know!

[beton de propritie\_JVH.dyn](https://forum.dynamobim.com/uploads/short-url/qDojeaXKDv7QZJG1WxKdcgJZnXa.dyn) (79.4 KB)

 ![Floor](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/8/881e3f64f56b4912e01fd278895818154e91b41d.png)

---

<div class="post-metadata">

**Author:** ![adawladola](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@adawladola](https://forum.dynamobim.com/u/adawladola)\
**Post date:** [January 16, 2021, 9:23pm UTC](https://forum.dynamobim.com/t/curve-join-produced-more-than-one-wire-in-polycurve/59202/5 "2021-01-16T21:23:49Z")

</div>

@Joelmick yes thank you so much

---

<div class="post-metadata">

**Author:** ![ajay.kalyanasundaram](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@ajay.kalyanasundaram](https://forum.dynamobim.com/u/ajay.kalyanasundaram)\
**Post date:** [January 11, 2024, 8:48am UTC](https://forum.dynamobim.com/t/curve-join-produced-more-than-one-wire-in-polycurve/59202/6 "2024-01-11T08:48:18Z")

</div>

What if the room has a hole inside it? like a hole in a polygon

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/3/136bbc9ccba29928721bf3c54e0e61985988ae15.png)

How to place a floor for a room like this? @Joelmick @adawladola
