# Create solid from closed polyline

**URL:** <https://forum.dynamobim.com/t/create-solid-from-closed-polyline/71489>\
**Category:** Civil 3D\
**Tags:** python, geometry, dynamo, civil3d\
**Created:** [December 17, 2021, 1:00pm UTC](https://forum.dynamobim.com/t/create-solid-from-closed-polyline/71489 "2021-12-17T13:00:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZHK](https://avatars.discourse-cdn.com/v4/letter/z/bcef8e/32.png) [@ZHK](https://forum.dynamobim.com/u/ZHK)\
**Post date:** [December 17, 2021, 1:00pm UTC](https://forum.dynamobim.com/t/create-solid-from-closed-polyline/71489/1 "2021-12-17T13:00:32Z")

</div>

Hi all,

I’m using civil3d and I would like to create a solid by loft between section of closed polyline, the polyline that i use is line+arc, below my dynamo:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/5/d5c0c59a9d05edca6aaaf1e1d611e4133c18dbd6.jpeg)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/6/96b025ec8258be228d247bd504ebf0b63e4a769c.png)

I’m trying to use get the object geometry than using the geometry to get polycurve → curves → loft…

the problem is the node object.geometry not working with polyline with line+arc.

any idea to resolve this.

many thanks

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [December 17, 2021, 2:26pm UTC](https://forum.dynamobim.com/t/create-solid-from-closed-polyline/71489/2 "2021-12-17T14:26:39Z")

</div>

What does the warning say?

---

<div class="post-metadata">

**Author:** ![ZHK](https://avatars.discourse-cdn.com/v4/letter/z/bcef8e/32.png) [@ZHK](https://forum.dynamobim.com/u/ZHK)\
**Post date:** [December 17, 2021, 2:57pm UTC](https://forum.dynamobim.com/t/create-solid-from-closed-polyline/71489/3 "2021-12-17T14:57:39Z")

</div>

HI mzjensen,

below the warning:  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/e/1e214e50849d604bb73536ed6842208e2b014c7f.png)

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [December 17, 2021, 3:03pm UTC](https://forum.dynamobim.com/t/create-solid-from-closed-polyline/71489/4 "2021-12-17T15:03:17Z")

</div>

That means that the polyline has some duplicate points that are overlapping each other. It looks like you’re using a block, so I would edit the polyline in the block editor to make sure it is clean.

---

<div class="post-metadata">

**Author:** ![ZHK](https://avatars.discourse-cdn.com/v4/letter/z/bcef8e/32.png) [@ZHK](https://forum.dynamobim.com/u/ZHK)\
**Post date:** [December 17, 2021, 3:18pm UTC](https://forum.dynamobim.com/t/create-solid-from-closed-polyline/71489/5 "2021-12-17T15:18:30Z")

</div>

I checked already this is distance between points, there is no overlapping:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/9/796bcdb332e0b3f6515488d400d6f8a05eb3c677.png)

i already check is clean

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [December 17, 2021, 3:23pm UTC](https://forum.dynamobim.com/t/create-solid-from-closed-polyline/71489/6 "2021-12-17T15:23:35Z")

</div>

Have you changed the geometry scaling setting in Dynamo from the default of medium?

---

<div class="post-metadata">

**Author:** ![ZHK](https://avatars.discourse-cdn.com/v4/letter/z/bcef8e/32.png) [@ZHK](https://forum.dynamobim.com/u/ZHK)\
**Post date:** [December 17, 2021, 3:28pm UTC](https://forum.dynamobim.com/t/create-solid-from-closed-polyline/71489/7 "2021-12-17T15:28:28Z")

</div>

it’s working bettre but i get another warning

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/4/e4a8ca6228bf69dbeaf21779830f79e53f3dc05a.png)

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [December 17, 2021, 3:31pm UTC](https://forum.dynamobim.com/t/create-solid-from-closed-polyline/71489/8 "2021-12-17T15:31:58Z")

</div>

As a rule of thumb, always leave the geometry scaling set to medium when using Dynamo for Civil 3D, otherwise there will be other errors that come up like what you experienced before. There are several posts on the forum about this topic.

---

<div class="post-metadata">

**Author:** ![ZHK](https://avatars.discourse-cdn.com/v4/letter/z/bcef8e/32.png) [@ZHK](https://forum.dynamobim.com/u/ZHK)\
**Post date:** [December 17, 2021, 3:54pm UTC](https://forum.dynamobim.com/t/create-solid-from-closed-polyline/71489/9 "2021-12-17T15:54:22Z")

</div>

many thanks mzjensen
