I would like to Extract all the elements from the IFC file. here is my code snippet
var allElements = model.Instances.OfType<IfcBuildingElement>().ToList();
from the above code, I can extract all walls, windows, etc but my IFC file also contains Flow fitting, flow segment, etc. can you please guide me how I can extract these elements as well here is my IFC file snippet
#800=IFCFLOWSEGMENT('2n8o7Tjz5F1hq6D4q35mMw',#42,'Rund:Luftkanal - T-St\X\FCck:7596625',$,'Rund:Luftkanal - T-St\X\FCck',#760,#784,'7596625');
#1123=IFCFLOWSEGMENT('2n8o7Tjz5F1hq6D4q35mMC',#42,'Oval:Luftkanal - Stutzen:7596647',$,'Oval:Luftkanal - Stutzen',#1049,#1119,'7596647');
#1895=IFCFLOWFITTING('2n8o7Tjz5F1hq6D4q35mJZ',#42,'Luftkanal - Sattelstutzen oval:Standard:7596808',$,'Luftkanal - Sattelstutzen oval:Standard',#1894,#1888,'7596808');
#3728=IFCFLOWFITTING('2n8o7Tjz5F1hq6D4q35mJu',#42,'Luftkanal - Bogen oval Segment:Standard:7596819',$,'Luftkanal - Bogen oval Segment:Standard',#3727,#3721,'7596819');