Open cesarecaoduro opened 2 years ago
Thanks for the sharing the code, I made a pull request (you can ignore it). The is a spatial hiearachy to an IFC file. There an IfcProject as a root entry, and then it uses an IfcRelAggregates to the root element (usually an IfcSite or IfcFacility)
Any sub element (spatial or not) should use a constructor with it's host nominated. Then your generated IFC file works for me.
Let me know if it's not clear, I'm going to add some more overloaded constructors so you don't have use nominate null for placement or shape representation of the facility objects.
I thought I would open an issue here to seek for help. I am trying to programmatically build a bridge with all the parts, and write to a proper IFC4x3. It seems I am missing something to add the object to the db with the results that I can't see anything if I try to import the IFC back into Rhino.
I have succeeded in doing it using GH, but I can't match the same process in C#. --> Link to repo
Any help?