# Delete Elements without a Dynamo package node

**URL:** <https://forum.dynamobim.com/t/delete-elements-without-a-dynamo-package-node/56315>\
**Category:** Developers\
**Tags:** python, dynamo\
**Created:** [October 18, 2020, 8:30pm UTC](https://forum.dynamobim.com/t/delete-elements-without-a-dynamo-package-node/56315 "2020-10-18T20:30:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![RubenVivancos](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rubenvivancos/32/185795_2.png) [@RubenVivancos](https://forum.dynamobim.com/u/RubenVivancos)\
**Post date:** [October 18, 2020, 8:30pm UTC](https://forum.dynamobim.com/t/delete-elements-without-a-dynamo-package-node/56315/1 "2020-10-18T20:30:52Z")

</div>

Hello everyone,

It is not something relevant, but I was wondering about it.

Is there any way to delete elements with Dynamo without the need of a Dynamo Package?  
Any DesignScript code possible to use to delete elements?

By the moment using Archi-lab Dynamo package node _ **Elements.Delete** _ of @Konrad_K_Sobon  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/4/c48c267fe4f4262c15ec63c4d2435e8e31daabf0.png)

Thanks

---

<div class="post-metadata">

**Author:** ![paris](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paris/32/144289_2.png) [@paris](https://forum.dynamobim.com/u/paris)\
**Post date:** [October 18, 2020, 8:38pm UTC](https://forum.dynamobim.com/t/delete-elements-without-a-dynamo-package-node/56315/2 "2020-10-18T20:38:12Z")

</div>

Hi @RubenVivancos, yes, you can get and use/modify directy in dynamo the python node inside a custom node made on python from a packages (like Springs.Doc.DeleteElements from Spring), is the advantage of the nodes made with python instead of zerotouch.  
Cheers

---

<div class="post-metadata">

**Author:** ![RubenVivancos](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rubenvivancos/32/185795_2.png) [@RubenVivancos](https://forum.dynamobim.com/u/RubenVivancos)\
**Post date:** [October 18, 2020, 8:47pm UTC](https://forum.dynamobim.com/t/delete-elements-without-a-dynamo-package-node/56315/3 "2020-10-18T20:47:48Z")

</div>

> [@paris](#):
>
> from Spring

it comes with 3 outputs, unnecessary if node does not continue. Delete should be a core node, too basic, do not you think?

---

<div class="post-metadata">

**Author:** ![paris](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paris/32/144289_2.png) [@paris](https://forum.dynamobim.com/u/paris)\
**Post date:** [October 18, 2020, 8:52pm UTC](https://forum.dynamobim.com/t/delete-elements-without-a-dynamo-package-node/56315/4 "2020-10-18T20:52:46Z")

</div>

Hi you can use also Tool.Eraser from SteamNodes ou made a new node with python, python node is a OOTB node basic of dynamo without packages: ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/8/18521378a37eee4a080d065348a8a3b8334abff7.png)  
Cheers

---

<div class="post-metadata">

**Author:** ![paris](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paris/32/144289_2.png) [@paris](https://forum.dynamobim.com/u/paris)\
**Post date:** [October 18, 2020, 8:54pm UTC](https://forum.dynamobim.com/t/delete-elements-without-a-dynamo-package-node/56315/5 "2020-10-18T20:54:56Z")

</div>

> **[Delete Method (ElementId)](https://www.revitapidocs.com/2015/a0461dd1-71d9-4581-1604-2ef8c211dd60.htm)**

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [October 18, 2020, 8:55pm UTC](https://forum.dynamobim.com/t/delete-elements-without-a-dynamo-package-node/56315/6 "2020-10-18T20:55:13Z")

</div>

The _Element.Delete_ node is included in Revit 2021, Dynamo 2.6.  
No need of a package.

 ![element delete](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/a/4a3a153743f15ed374d75d911960e7f19f5989ab.png)

---

<div class="post-metadata">

**Author:** ![paris](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paris/32/144289_2.png) [@paris](https://forum.dynamobim.com/u/paris)\
**Post date:** [October 18, 2020, 8:57pm UTC](https://forum.dynamobim.com/t/delete-elements-without-a-dynamo-package-node/56315/7 "2020-10-18T20:57:11Z")

</div>

> [@Alban\_de\_Chasteigner](#):
>
> Revit 2021, Dynamo 2.6.

Hi Alban, of course depend of the Revit version that you use…  
Cheers
