Skip to main content
Question

How to read IFC files properly in FeatureReader?

  • September 22, 2023
  • 1 reply
  • 56 views

I am trying to test a bunch of IFC files containing different sets of IFC classes like IfcBeam, IfcColumn, IfcReinforcingBar etc. When I change the filepath in a user parameter, FeatureReader changes accordingly as per the presence of IFC classes in that respective IFC file(Refer images), resulting in breaking links with the next transformers.

I also created a dummy IFC file manually adding in all the IFC classes which are there in all the IFC files I have till now. But this is not a reliable solution as future might hold some other classes as well.

Kindly try to suggest me a reliable solution I am surely missing at the moment.

fme1fme2

1 reply

virtualcitymatt
Celebrity
Forum|alt.badge.img+47

Perhaps a better option is to use the Generic (single) output port followed by a FeatureTypeFilter. This way the FeatureReader will always read all of the FeatureTypes and you can set up a FeatureTypeFilter (or AttributeFilter) to split the feautres. The FeatureTypeFilter will not change depending on the input file