# Node problem - ID to Element

**URL:** <https://forum.dynamobim.com/t/node-problem-id-to-element/23983>\
**Category:** Revit\
**Created:** [July 20, 2018, 10:24pm UTC](https://forum.dynamobim.com/t/node-problem-id-to-element/23983 "2018-07-20T22:24:22Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Foreverblind](https://avatars.discourse-cdn.com/v4/letter/f/ccd318/32.png) [@Foreverblind](https://forum.dynamobim.com/u/Foreverblind)\
**Post date:** [July 20, 2018, 10:24pm UTC](https://forum.dynamobim.com/t/node-problem-id-to-element/23983/1 "2018-07-20T22:24:22Z")

</div>

Hi all,

Currently putting together my first Dynamo script and am running into a problem.

I am attempting to extract clashes from Navisworks and convert them into a parameter in Revit.

I am using the Dynaworks package and Archi-Lab for the ID to Element.

The problem I am having is with the node, ID to Element itself. everything in the script works up until this point but on investigation of the node it seems there is a problem within the node (see screenshot below).

 ![Id%20to%20Element%20Node](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/8/0856898a2e531ede3f9f35df2bee6d64963ebbd4.png)

On another note, I made my own node which doesn’t have the Doc input as it is not necessary but still has the same problem.

Any advice in this matter would ease my frustration! Thanks in advance! 😃

---

<div class="post-metadata">

**Author:** ![Ewan\_Opie](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ewan_opie/32/77070_2.png) [@Ewan\_Opie](https://forum.dynamobim.com/u/Ewan_Opie)\
**Post date:** [July 20, 2018, 11:08pm UTC](https://forum.dynamobim.com/t/node-problem-id-to-element/23983/2 "2018-07-20T23:08:27Z")

</div>

Use a different input name, like Id\_Input. As Id is a system variable.

---

<div class="post-metadata">

**Author:** ![Foreverblind](https://avatars.discourse-cdn.com/v4/letter/f/ccd318/32.png) [@Foreverblind](https://forum.dynamobim.com/u/Foreverblind)\
**Post date:** [July 21, 2018, 1:06am UTC](https://forum.dynamobim.com/t/node-problem-id-to-element/23983/3 "2018-07-21T01:06:31Z")

</div>

@Ewan_Opie - Thanks for the input, however it still does not seem to work.

As I said I am very new at this so maybe I am missing something fundamental?

As you can see the node is not working for my purpose 😕

 ![ID%20Element%20Node%20not%20working](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/e/7e98c21803d58e8513838df8c53e2c39f28efccc.png)!

---

<div class="post-metadata">

**Author:** ![Foreverblind](https://avatars.discourse-cdn.com/v4/letter/f/ccd318/32.png) [@Foreverblind](https://forum.dynamobim.com/u/Foreverblind)\
**Post date:** [July 21, 2018, 1:07am UTC](https://forum.dynamobim.com/t/node-problem-id-to-element/23983/4 "2018-07-21T01:07:06Z")

</div>

![ID%20Element%20Node](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/b/7bba0c3b01ef281cfbe0537876e1a04deec4c3d0.png)

---

<div class="post-metadata">

**Author:** ![Ewan\_Opie](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ewan_opie/32/77070_2.png) [@Ewan\_Opie](https://forum.dynamobim.com/u/Ewan_Opie)\
**Post date:** [July 21, 2018, 2:08am UTC](https://forum.dynamobim.com/t/node-problem-id-to-element/23983/5 "2018-07-21T02:08:44Z")

</div>

Can you post the code from inside the python node, within the custom node you are trying to create? Otherwise you could use the design script element selector demonstrated here.

> [@How to select elements in a revit model from the list UniqueID or GUID available in excel spreadsheet](https://forum.dynamobim.com/t/how-to-select-elements-in-a-revit-model-from-the-list-uniqueid-or-guid-available-in-excel-spreadsheet/23488/3):
>
> Or the internal methods,

---

<div class="post-metadata">

**Author:** ![Foreverblind](https://avatars.discourse-cdn.com/v4/letter/f/ccd318/32.png) [@Foreverblind](https://forum.dynamobim.com/u/Foreverblind)\
**Post date:** [July 21, 2018, 3:58am UTC](https://forum.dynamobim.com/t/node-problem-id-to-element/23983/6 "2018-07-21T03:58:13Z")

</div>

![Python%20Code](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/0/2016151c54dc1893758a12f15658bdf7de05e7d2.png)

Thanks for your help mate, here is the code…

---

<div class="post-metadata">

**Author:** ![Jonathan.Olesen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan.olesen/32/44242_2.png) [@Jonathan.Olesen](https://forum.dynamobim.com/u/Jonathan.Olesen)\
**Post date:** [July 21, 2018, 12:29pm UTC](https://forum.dynamobim.com/t/node-problem-id-to-element/23983/7 "2018-07-21T12:29:07Z")

</div>

Why reinvent the wheel??

You can use already developed nodes?  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/a/aa799b5f96d70f2f4f78475a1d23ac0c544f0492.png)

---

<div class="post-metadata">

**Author:** ![Foreverblind](https://avatars.discourse-cdn.com/v4/letter/f/ccd318/32.png) [@Foreverblind](https://forum.dynamobim.com/u/Foreverblind)\
**Post date:** [July 21, 2018, 1:12pm UTC](https://forum.dynamobim.com/t/node-problem-id-to-element/23983/8 "2018-07-21T13:12:56Z")

</div>

I was using the Archi-lab node which didn’t work hence the question 🙂

Thanks for info will check that out.

---

<div class="post-metadata">

**Author:** ![Jonathan.Olesen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan.olesen/32/44242_2.png) [@Jonathan.Olesen](https://forum.dynamobim.com/u/Jonathan.Olesen)\
**Post date:** [July 21, 2018, 1:15pm UTC](https://forum.dynamobim.com/t/node-problem-id-to-element/23983/9 "2018-07-21T13:15:25Z")

</div>

I believe archi-lab have been updated since you could try updating your package 🙂

---

<div class="post-metadata">

**Author:** ![Foreverblind](https://avatars.discourse-cdn.com/v4/letter/f/ccd318/32.png) [@Foreverblind](https://forum.dynamobim.com/u/Foreverblind)\
**Post date:** [July 21, 2018, 1:38pm UTC](https://forum.dynamobim.com/t/node-problem-id-to-element/23983/10 "2018-07-21T13:38:46Z")

</div>

Cheers mate!

---

<div class="post-metadata">

**Author:** ![TheCadman](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@TheCadman](https://forum.dynamobim.com/u/TheCadman)\
**Post date:** [September 26, 2018, 6:07pm UTC](https://forum.dynamobim.com/t/node-problem-id-to-element/23983/11 "2018-09-26T18:07:09Z")

</div>

Foreverblind, what version of Revit and Dynamo are you using? What Archi-Lab package is that Id to Element node come from?  
Thanks,  
Don

---

<div class="post-metadata">

**Author:** ![john\_pierson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john_pierson/32/191977_2.png) [@john\_pierson](https://forum.dynamobim.com/u/john_pierson)\
**Post date:** [September 26, 2018, 7:00pm UTC](https://forum.dynamobim.com/t/node-problem-id-to-element/23983/12 "2018-09-26T19:00:23Z")

</div>

You could just use the BuiltIn methods for selecting elements by their ID/UniqueID

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