GeometryGym / GeometryGymIFC

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

Parsing existing IFC file #10

Open meyerf93 opened 6 years ago

meyerf93 commented 6 years ago

Hi,

I'm looking for a solution to parse a IFC file and to after use some part of the model for my application. Did you have any exemple with your library ?

Best regards,

Florian Meyer

TomH22 commented 6 years ago

Hi,

the examples are there:

https://github.com/BuildingSMART/IfcScript

meyerf93 commented 6 years ago

Thanks you for your answer but i don't found any example who you exploit the data of the database after parsing the ifc file.

Do you have any explication ?

Best regards,

Florian Meyer

TomH22 commented 6 years ago

There is no database.

johnimemory commented 6 years ago

Hi, anybody has tried it in iOS? It doesn't work for me. But it is working great in any other platforms. I have no IfcProject after parsed, but the database is sometimes exists.

jmirtsch commented 6 years ago

Hi Florian,

There are also some examples using the toolkit here: https://github.com/jmirtsch/GeometryGymIFCExamples

For example, counting the number of stories in the project: https://github.com/jmirtsch/GeometryGymIFCExamples/blob/master/consoleCountStories/Program.cs

Hope this helps,

Jon

jmirtsch commented 6 years ago

Hi John,

Can you provide a sample that doesn't work on iOS? Any details so I can try to replicate this would help. It should work cross platform as there are very minimal dependencies. You can disable the JSON by #define tag NOIFCJSON and removing the json source code files from a copy of the project.