# Wipeout from Polyline

**URL:** <https://forum.dynamobim.com/t/wipeout-from-polyline/94544>\
**Category:** Civil 3D\
**Created:** [October 13, 2023, 1:51pm UTC](https://forum.dynamobim.com/t/wipeout-from-polyline/94544 "2023-10-13T13:51:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![henrybajana](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/henrybajana/32/122977_2.png) [@henrybajana](https://forum.dynamobim.com/u/henrybajana)\
**Post date:** [October 13, 2023, 1:51pm UTC](https://forum.dynamobim.com/t/wipeout-from-polyline/94544/1 "2023-10-13T13:51:52Z")

</div>

I already created a few polylines in Dynamo but I need to create wipeouts from those polylines.  
Is there a way to create a Wipeouts from a Polyline in Civil 3D with Dynamo?

Data that the node could ask:  
Layer?  
delete the polyline?

---

<div class="post-metadata">

**Author:** ![henrybajana](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/henrybajana/32/122977_2.png) [@henrybajana](https://forum.dynamobim.com/u/henrybajana)\
**Post date:** [October 15, 2023, 2:17am UTC](https://forum.dynamobim.com/t/wipeout-from-polyline/94544/2 "2023-10-15T02:17:02Z")

</div>

Anyone who know what I’m asking for?  
Please help me with some guide.

---

<div class="post-metadata">

**Author:** ![Koz\_Jono\_Yeoh](https://avatars.discourse-cdn.com/v4/letter/k/7ea924/32.png) [@Koz\_Jono\_Yeoh](https://forum.dynamobim.com/u/Koz_Jono_Yeoh)\
**Post date:** [October 15, 2023, 3:40am UTC](https://forum.dynamobim.com/t/wipeout-from-polyline/94544/3 "2023-10-15T03:40:51Z")

</div>

I do not think there is a directt way to acomplish your aim.  
Since there is no polyline in CAD, you may need first to import Dynamo polyline into CAD (without curve segment). then call CAD command to convert the imported polygon into wipeout.

An alternative solution is to calculate the wipeout vertice in dynamo, then call an AutoLISP function to directly make a wipeout from the vertices.  
Following is the lisp code to create wipeout from vertices for your reference:  
(Defun ENTMAKE-WIPEOUT (ptx / \_Kernel)  
(Defun \_Kernel (VTX / CEN D10 D14 DST NOR P)  
(setq nor '(0 0 1)  
D10 (list (apply 'min (mapcar 'car VTX))  
(apply 'min (mapcar 'cadr VTX))  
(caddar VTX)  
)  
DST (float  
(apply 'max  
(mapcar '- (apply 'mapcar (cons 'max VTX)) D10)  
)  
)  
cen (mapcar '+ D10 (list (/ DST 2) (/ DST 2) 0.))  
D14 (mapcar  
(function  
(lambda (p)  
(mapcar '/ (mapcar '- p cen) (list DST (- DST) 1.))  
)  
)  
VTX  
)  
D14 (reverse (cons (car D14) (reverse D14)))  
)  
(append (list (cons 10 (trans D10 nor 0))  
(cons 11 (trans (list DST 0. 0.) nor 0))  
(cons 12 (trans (list 0. DST 0.) nor 0))  
(list 13 1. 1. 0.)  
(cons 70 7)  
(cons 280 1)  
(cons 71 2)  
(cons 91 (length D14))  
)  
(mapcar (function (lambda (p) (cons 14 p))) D14)  
)  
)  
(or (member “acismui.arx” (arx))  
(arxload “acismui.arx”)  
)  
(if (entmake  
(append (list (cons 0 “WIPEOUT”)  
(cons 100 “AcDbEntity”)  
(cons 100 “AcDbWipeout”)  
(cons 90 0)  
(cons 62 “Wipeout LayerName here”)  
)  
(\_Kernel ptx)  
)  
)  
(entlast)  
)  
)

---

<div class="post-metadata">

**Author:** ![henrybajana](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/henrybajana/32/122977_2.png) [@henrybajana](https://forum.dynamobim.com/u/henrybajana)\
**Post date:** [October 15, 2023, 2:16pm UTC](https://forum.dynamobim.com/t/wipeout-from-polyline/94544/4 "2023-10-15T14:16:58Z")

</div>

Thanks @Koz_Jono_Yeoh,

I already created those closed polylines whitout curves in Dynamo and import it into Autocad Civil 3D, the next step could be convert those polylines into wipeouts, but with the same script in Dynamo, is there a way to call your LISP with Dynamo?

---

<div class="post-metadata">

**Author:** ![henrybajana](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/henrybajana/32/122977_2.png) [@henrybajana](https://forum.dynamobim.com/u/henrybajana)\
**Post date:** [October 15, 2023, 3:20pm UTC](https://forum.dynamobim.com/t/wipeout-from-polyline/94544/5 "2023-10-15T15:20:17Z")

</div>

If I have a list of points and I want to create a wipeout from those list of points, how can I write that comand in your node @zachri.jensen?

Could you give me some tips?

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [October 15, 2023, 5:10pm UTC](https://forum.dynamobim.com/t/wipeout-from-polyline/94544/6 "2023-10-15T17:10:45Z")

</div>

Best to start a new topic as this is adjacent but not the same.

Likely send command isn’t the best path forward for your task.

---

<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:** [October 15, 2023, 7:52pm UTC](https://forum.dynamobim.com/t/wipeout-from-polyline/94544/7 "2023-10-15T19:52:56Z")

</div>

> [@henrybajana](#):
>
> how can I write that comand in your node @zachri.jensen?

For other readers, this is referring to the `Document.SendCommand` node in the Camber package.

@henrybajana in theory this should be possible, but I would not recommend going this route. I would instead use a Python node and work with the AutoCAD API. Here’s the [relevant documentation](https://help.autodesk.com/view/OARX/2024/ENU/?guid=OARX-ManagedRefGuide-Autodesk_AutoCAD_DatabaseServices_Wipeout).

---

<div class="post-metadata">

**Author:** ![pedro.sam.machado](https://avatars.discourse-cdn.com/v4/letter/p/839c29/32.png) [@pedro.sam.machado](https://forum.dynamobim.com/u/pedro.sam.machado)\
**Post date:** [October 28, 2025, 11:32am UTC](https://forum.dynamobim.com/t/wipeout-from-polyline/94544/8 "2025-10-28T11:32:13Z")

</div>

I managed to create wipeouts from polylines using the Send.Command node with this workflow, by extracting the coordinates of the polyline vertices and converting them into a string. I know it’s been a long time since the question was asked, but someone might look for this in the future.

 ![Filtrar Polylinha_2025](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/9/19dc5647912295624a32f448ea4967068b129d45.png)
