Selectable Elements in non-open views

Does Selectable in View only work on open views? Is this typical for working on views?

image

I noticed in this scripted component it works on views that aren’t open.

Would the views need to be looped through?

Thanks in advance for any insight.

Hi,

You are right is not working.
Rhino.Inside Revit uses DB.SelectableInViewFilter from the Revit API to implement this, and seems it does not return anything until the user opens the specified view. Doesn’t need to be currently open, but needs to be opened before.

We have released a new build today that includes the ‘Query Graphical Elements’ component. This component should not have this problem.

1 Like