I have a workspace that converts data from an IFC file to PostGIS. The IFC file contains data I would like to convert in IfcPropertySingleValue elements. Multiple IfcPropertySingleValues are combined in an IfcPropertySet, which is related to a IfcBuildingElementProxy element by means of a IfcRelDefinesByProperties. Converting the IfcBuildingElementProxy elements works, but I would like to have the related data in the IfcPropertySingleValue elements too. How could that be achieved? The classes IfcPropertySingleValue, IfcPropertySet and IfcRelDefinesByProperties do not show up as feature types in the IFC reader.
How to read IfcPropertySingleValue from an IFC file?
Best answer by daveatsafe
Hi @fransknibbe - IFC is one of the most complex formats we read, so don't worry about missing anything.
The Revit reader will read IFC files directly, there is no need to use the FME Revit exporter. The RVZ file produced by the Exporter is basically a zipfile containing an IFC and a bunch of CSV files. The IFC reader can read RVZ files as well, and is the basis for the Revit reader.
The Revit reader's Building Elements with hierarchy data view will extract all the property sets from the geometry and move them to features attributes, prefixed with the property set name. I would recommend starting with this to read your IFC file.
Once you become more familiar with FME, you may find the workflow in the data views useful in illustrating how to work with the raw IFC data structure. The data views are implemented as workspaces, and are fully annotated to explain the process. They can be found in the FME\\datasources folder and you can open and view them in FME Workbench.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.