xBimTeam / XbimExchange

XbimExchange contains several COBie schemas and serialisation functions as well as the Model Validation library adopted by theNBS digital toolkit.
https://xbimteam.github.io/
Other
46 stars 42 forks source link

Converting Ifc without building to Json #26

Open palktonderAtpowelno opened 7 years ago

palktonderAtpowelno commented 7 years ago

I've tried to use CoBieLiteHelper to convert an Ifc file to Json, but since this is an Ifc file without a building (only terrain and roads), it fails. CoBieLiteHelper.WriteJson takes a FacilityType as the second parameter, which only can be constructed based on an IfcBuilding object. What can I do?