Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to get all the linked files of the active document. But when I use a FilteredElementCollector with OfClass RevitLinkType I get all opened documents and their linked files! I only want the linked files of the current document. Not the the open document, just links 🙂
var links = new FilteredElementCollector(document).OfClass(typeof(RevitLinkType));
If not possible, how can I determine if the RevitLinkType in my filteredElementCollector is from the current document?
Thanks!
Solved! Go to Solution.