Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to get all elements that shows in ViewSchedule. Jeremy offers simple solution: FilteredElementCollector(document, ViewSchedule.Id) - because "Schedule is a View".
But this don't work! Collector return more elements that Schedule includes!
For example, document with simple "document-level macro" in attachment: 3 rebars in model, 1 rebar in schedule (filter by Mark). Macro returns 2 pcs!
I try to get ScheduleDefinition and list of ScheduleFilters, and reproduce the filtering. But if there is a filter on the calculated value - it will not work...
It is API issue, or error in my code?
Alexander Zuev
In BIM we trust
Facebook | Linkedin | Telegram
Solved! Go to Solution.