ElectricalFixtureTypes Property

ElectricalFixtureTypes Property

Anonymous
Not applicable
537 Views
2 Replies
Message 1 of 3

ElectricalFixtureTypes Property

Anonymous
Not applicable

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

0 Likes
Accepted solutions (1)
538 Views
2 Replies
Replies (2)
Message 2 of 3

ollikat
Collaborator
Collaborator
Accepted 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.

0 Likes
Message 3 of 3

Anonymous
Not applicable

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.

0 Likes