@kike I’ve found an issue with the ‘element view geometry’.
I have some model groups and I’ve turned off some categories such as furniture and mullions. I want to get the geometry of only the visible elements of the group. ‘Element geometry’ returns the geometry of every element within the group even if it is not visible in the view which may be expected behaviour. However, when I tried ‘element view geometry’ I have the same issue.
It looks like you pushed this to v1.3 Stable which I installed. It is sort of working but I think there might still be a bug.
If I connect the groups directly into Element View Geometry it works as expected. However, if I get all elements within the group and feed this into Element View Geometry, it still shows the hidden elements.
There is a change on how this component extracts geometry from Dependent elements.
Previously if you input a Group it extracts all the geometry of all dependant elements on the same list, so there was no way to know witch element that geometry belongs to.
So now it does not extract geometry from dependent elements unless you explicitly request it but right clicking on it and selecting ‘Expand Dependents’. In that case it does but it also graft all the outputs acordingly.
Keep in mind that ‘Query View Elements’ returns the group also. So on the previous version the dependent elements geometry, in this case the two walls geometry, was duplicated on the output.
In this version there is also a ‘Visible In View’ filter in case you want to filter elements before or after axtracting geometry.
Is it possible that you have connected an ‘Active View’ component as input to the ‘Element View Geometry’?
In that case when you close the view Revit activates another view, maybe a Sheet view in your case?
About Cameras you can use a ‘Category Filter’ to exclude those elements. Revit is returning those cameras even as you said are not really visible. The problem is that I don’t know what elements are not really visible or if this will change on a future version. I think is better if that logic is on the canvas instead of adding an additional hidden filter inside the component.
But there are elements like door swinging direction, which are only present in drafting views, so get Element View Geometry was the exact thing i’ve needed