IfcSharp / IfcSharpLibrary

Other
64 stars 17 forks source link

Read from step files: Errors #9

Closed TZwielehner closed 2 years ago

TZwielehner commented 3 years ago

I tried to import different IFC-files; however I get some errors. Code looks like this:

ifc.Model helloProject = ifc.Model.FromStepFile("C:\\Users\\abc\\Documents\\AC20-FZK-Haus.ifc");

"Der Typ "Ifc.FacetedBrep " in der Assembly "IfcSharpLibrary, Version=0.0.0.1, Culture=neutral, PublicKeyToken=null" konnte nicht geladen werden."

For other files I get a similar message concerning "Ifc.Value". (I used the "FZK house" model from https://www.ifcwiki.org/index.php?title=KIT_IFC_Examples)

TZwielehner commented 3 years ago

I investigated a bit further. Apparently arguments like "IFCBOOLEAN(.T.)" cannot be parsed.

friedrichEder commented 2 years ago

sadly the current ifc-step parser has some limitiations concerning multi-dimensional lists, SELECT-types and some entities which are define 'inline', the latest commit to the develop branch targeted some of those. in the case of the "FZK house" i also get an error regarding the instantiation of an IfcValue. I´ll look into it.

friedrichEder commented 2 years ago

just updated the develop-branch. the FZK-Haus is now working for me