Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
i'm trying to retrieve all the floor types loaded in a project. m y code looks like this:
List<FloorType> FloorTypes = new FilteredElementCollector(doc).WhereElementIsElementType().OfClass(typeof(FloorType)).Cast<FloorType>().ToList();
but the list given contains a FloorType that does non exist when i go trough the floor types when editing a floor for example. So i fail creatinf a floor with this type.
is there a way to retrieve only the floortypes loaded in the project?
Thanks in advance,
Solved! Go to Solution.