GeometryGym / GeometryGymIFC

C# classes to generate and parse OpenBIM IFC files
Other
282 stars 97 forks source link

A hello world #73

Closed GildedHonour closed 1 year ago

GildedHonour commented 2 years ago

I need a simple example of generating ifc file. Is there any?

jmirtsch commented 2 years ago

You can find some sample code for generating IFC data sets or extracting information from existing at this repository. https://github.com/GeometryGym/GeometryGymIFCExamples/blob/master/ConsoleCreateWall/Program.cs

GildedHonour commented 2 years ago

@jmirtsch How to generate an IFC file itself out of that code?

jmirtsch commented 2 years ago

There is a method WriteFile on the databaseifc class that has a file path as a parameter to write to file.