Last active
June 3, 2018 06:25
-
-
Save imAliAsad/06ab2b2b0d8fe40151b39bf7d8a754a5 to your computer and use it in GitHub Desktop.
Get all elements in active view - Revit api C#
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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