Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get all elements in active view - Revit api C#
FilteredElementCollector allElementsInView = new FilteredElementCollector(document, document.ActiveView.Id);
IList elementsInView = (IList)allElementsInView.ToElements();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.