# Open view or Select Element by ID

**URL:** <https://forum.dynamobim.com/t/open-view-or-select-element-by-id/105157>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [October 15, 2024, 9:27am UTC](https://forum.dynamobim.com/t/open-view-or-select-element-by-id/105157 "2024-10-15T09:27:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajeshjamariya16](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@rajeshjamariya16](https://forum.dynamobim.com/u/rajeshjamariya16)\
**Post date:** [October 15, 2024, 9:27am UTC](https://forum.dynamobim.com/t/open-view-or-select-element-by-id/105157/1 "2024-10-15T09:27:53Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/4/a4bc9cf6c9e2adff5bd0bb0618d49b94025033d2.png)  
Is there a way to open the corresponding view or select the element by ID through dynamo?

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [October 15, 2024, 9:38am UTC](https://forum.dynamobim.com/t/open-view-or-select-element-by-id/105157/2 "2024-10-15T09:38:48Z")

</div>

@rajeshjamariya16

in general you can use scopebox, and creating view by that.  
in [PyRevit](https://discourse.pyrevitlabs.io/) there is the module linkify, you could jump to the element in a view…

there are several ways.

---

<div class="post-metadata">

**Author:** ![rajeshjamariya16](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@rajeshjamariya16](https://forum.dynamobim.com/u/rajeshjamariya16)\
**Post date:** [October 15, 2024, 9:47am UTC](https://forum.dynamobim.com/t/open-view-or-select-element-by-id/105157/3 "2024-10-15T09:47:54Z")

</div>

i just found “Show Element” node in Loci to open the view, however what I need is a simple UI form showing all element IDs and when I click on it, it opens the view it is visible in.

---

<div class="post-metadata">

**Author:** ![staylor](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/staylor/32/94307_2.png) [@staylor](https://forum.dynamobim.com/u/staylor)\
**Post date:** [October 15, 2024, 1:36pm UTC](https://forum.dynamobim.com/t/open-view-or-select-element-by-id/105157/4 "2024-10-15T13:36:00Z")

</div>

It would probably serve you better if you create your own script for this task, that way you can control what is showing in the list. (i.e. list the element’s name or some other type of identity along with the ID. Having only the elements of a specific category listed, etc…)

You can use Data-shapes for the UI part.

---

<div class="post-metadata">

**Author:** ![rajeshjamariya16](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@rajeshjamariya16](https://forum.dynamobim.com/u/rajeshjamariya16)\
**Post date:** [October 16, 2024, 5:19am UTC](https://forum.dynamobim.com/t/open-view-or-select-element-by-id/105157/5 "2024-10-16T05:19:17Z")

</div>

I have obtained the element IDs, I’m not able to perform the UI part where I can click on the ID to perfom “show” function as in revit. and I’m not aware of any data shapes nodes that can do this.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [October 16, 2024, 6:02am UTC](https://forum.dynamobim.com/t/open-view-or-select-element-by-id/105157/6 "2024-10-16T06:02:14Z")

</div>

Hi @rajeshjamariya16 probably something here if i understand 😉  
 ![Revit_3h5AkQpfuZ](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/d/4d6e9ec68be6e6d76aa066e7633814c1396fb565.gif)

---

<div class="post-metadata">

**Author:** ![rajeshjamariya16](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@rajeshjamariya16](https://forum.dynamobim.com/u/rajeshjamariya16)\
**Post date:** [October 16, 2024, 6:09am UTC](https://forum.dynamobim.com/t/open-view-or-select-element-by-id/105157/7 "2024-10-16T06:09:54Z")

</div>

you almost got it, the issue is I’ll have to run the script for each new element, my purpose was to get a Ui form with a list of these ID’s which are clickable so user can just click on whatever element they want to see from the UI form itself without having to re-run the script. I have understood that this might be only possible through an add-in. I do not have permissions to add that. So this is what i’ll work with currently. thanks!

---

<div class="post-metadata">

**Author:** ![mcrowleyQ6PET](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@mcrowleyQ6PET](https://forum.dynamobim.com/u/mcrowleyQ6PET)\
**Post date:** [October 16, 2024, 1:55pm UTC](https://forum.dynamobim.com/t/open-view-or-select-element-by-id/105157/8 "2024-10-16T13:55:22Z")

</div>

> **[UI.MultipleInputForm ++ Update](https://data-shapes.io/2017/04/02/ui-multipleinputform-update/)**
>
> Hi everyone. It’s been a while since I last posted. I’ve been caught up in other projects that I’m currently developing – can’t wait to share with the comunity! But, r…

Listview Imput might be what you’re looking for.
