Working in the Revit 2013 API and I am trying to generate a familysymbolset of all Electrical Fixtures contained within a model. Looking through the chm at the Document Class of the Autodesk.Revit.DB Namespace , it looks like there is an ElectricalEquipment Types Property as well as LightingFixture, LightingDevice, etc., etc. but no ElectricalFixture Types property. I also looked through the Autodesk.Revit.Db.Electrical Namespace but with no luck. Any help locating this property or another method to get this FamilySymbolSet would be greatly appreciatd.
Thanks,
Mike
Solved! Go to Solution.
Solved by ollikat. Go to Solution.
Hi
Actually I wasn't even aware of those kind of properties...newer used them. As an alternative you can always use filters. With them you can fetch anything you want from the project document.
See FilteredElementCollector documentation, I think there are some examples. Other classes that you could use in this case are ElementCategoryFilter, ElementClassFilter and LogicalAndFilter.
Thanks. I ended up using a filtered element collector. Just thought it was kind of strange that those parameters existed for all of those other types and not electrical fixtures. Thanks for the response.