Skip to main content

Hello everyone, 

I have an XML file containing the registered real-estate data and want to export it as an IFC file. 
What is the procedure to get the geometries and their atributes out of that file. 

As I have read, the first step is to use the XMLFlattener. But I do not know on which level do I have to flatten it (Elements to match). There are a lot of nested paths. If I select one path, do I have to select the paths under it? 
And this flattening process takes a really long time! 

What is the solution?

 

I would appreciate your help. 
 

 

Hello @n.d, thanks for posting! Are you using the XML or GML Reader? If the XML contains geometry or it is a GML file, there may be a chance the GML Reader could automatically recognize the geometry on read. Otherwise, are you able to share a sample XML file containing a couple sample features for testing?

Not too familiar with IFC Writing, but this article demonstrates how to write custom property sets. I recommend downloading the article workspace and stepping through the tutorial before applying concepts to your own data! Happy to help, Kailin. 


Hi @kailinatsafe,

Thanks for your help. 

I imported it as a GML file. I skipped the flattening process. That was a good trick.

The other problem was with the Geometry. It couldn’t be written to the IFC. But after trying several Geometry tranformers, I could have my geometries written in the IFC file. 

 

 


Reply