Open view or Select Element by ID

image
Is there a way to open the corresponding view or select the element by ID through dynamo?

@rajeshjamariya16

in general you can use scopebox, and creating view by that.
in PyRevit there is the module linkify, you could jump to the element in a view…

there are several ways.

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.

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.

1 Like

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.

Hi @rajeshjamariya16 probably something here if i understand :wink:
Revit_3h5AkQpfuZ

2 Likes

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!

Listview Imput might be what you’re looking for.