Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I have a question. I tried to access all sheets in document and sort it by sheet number following the order of Revit.
Here is the result compare with my sheets list and Revit sheets list:
My code is:
List<ViewSheet> sheetList = new FilteredElementCollector(doc) .OfClass(typeof(ViewSheet)) .Cast<ViewSheet>() .OrderBy(x=>x.SheetNumber) .ToList();
Can anyone teach me how to sort exactly like Revit?
Thank you in advanced!
Solved! Go to Solution.