Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The main reason I wanted ti try the RevitAPI with C# is because of type hinting.
I want to use FilteredElementCollector in order to collect all the FireAlarmDevice Tags, and then iterate them and do stuff.
I've tried 2 things, code is below:
1 - Declaring the tags as Element, but then when trying to use the GetTaggedLocalElement() method, I get a type Error because this method belongs to the IndependentTag class.
2- Declaring the tags as IndependentTag, but then I get an error on the FEC...
How can I get the tags and iterate them while using the GetTaggedLocalElement() method?
Solved! Go to Solution.