Skip to main content

I'm trying to extract the Creation Date of an IFC file. 

It is usually located under IfcProject in viewers like Solibri, but I can't seem to find it.

I want to read a folder containing a bunch of IFC files, and create a list of when the files were last created.

IFC Creation Date SolibriIFC Creation Date

Hi @j.sveinson​ ,

 

Similar to opening the IFC in a text editor, you can read in the IFC with a text file reader and parse the header info everything after Creation Date until the next line.

 

I did a quick test with a few IFC's I had lying around and although the header info was formatted differently, it worked just fine. 2021-06-24_15-43-45In your example, you could follow similar logic but instead of using an AttributeSplitter, you could simply use a SubstringReplacer and AttributeTrimmer to get the desired value after reading the IFC as text, and filtering for the feature that begins with "Creation Date:"

2021-06-24_15-50-14 

Hope that helps.


Thanks alot!

I think this will be a good solution for my use case! 😀


A colleague of mine found another solution:

IFC Creation Date


Reply