Message 1 of 5
Stairs
Not applicable
10-15-2015
06:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I am trying to get data from stairs
I have done the same with Floors, Doors, Walls, Railings etc, and that works fine, but not with Stairs
FilteredElementCollector FMStairCollector = new FilteredElementCollector(OpenDoc);
ElementCategoryFilter FMStairCategoryFilter = new ElementCategoryFilter(BuiltInCategory.OST_Stairs);
FMStairCollector.OfClass(typeof(Stairs));
foreach (Stairs FMStairs in FMStairCollector)
{
....................
}
Can anyone tell me what I do wrong ?
Regards
Anders