# Select by ID

**URL:** <https://forum.dynamobim.com/t/select-by-id/62589>\
**Category:** Uncategorized\
**Created:** [April 6, 2021, 6:27pm UTC](https://forum.dynamobim.com/t/select-by-id/62589 "2021-04-06T18:27:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fernandocjr](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/fernandocjr/32/166239_2.png) [@Fernandocjr](https://forum.dynamobim.com/u/Fernandocjr)\
**Post date:** [April 6, 2021, 6:27pm UTC](https://forum.dynamobim.com/t/select-by-id/62589/1 "2021-04-06T18:27:16Z")

</div>

Hi,

I`m studying Dynamo for a couple of weeks and decided now to try to produce something for Revit.  
The idea is to place one family instance where objects (pipes/cable trays/ducts) intersects with walls from a linked model.

As I did not find anything that looks like this in the internet, I thought of this workflow:

1 - Run Interference check to collect a list of objects intersecting wall by ID  
2 - Select objects by ID (from interference check list)  
3 - Place family in the intersection.

The problem is that I cant find a node that let me select objects by a list of IDs, does anyone knows how can I do it?

---

<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:** [April 6, 2021, 6:39pm UTC](https://forum.dynamobim.com/t/select-by-id/62589/2 "2021-04-06T18:39:01Z")

</div>

> [@Fernandocjr](#):
>
> The problem is that I cant find a node that let me select objects by a list of IDs, does anyone knows how can I do it?

> [@Selection - Selecting Elements using element IDs](https://forum.dynamobim.com/t/selection-selecting-elements-using-element-ids/29223/9):
>
> You can select Elements by their ElementId with the internal Dynamo method (as long as they are in your model). You do have to do it in a code block though. in a codeblock: Revit.Elements.ElementSelector.ByElementId(elemId)
