GeometryGym / GeometryGymIFC

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

New function to write to stream #46

Closed bschorno closed 3 years ago

bschorno commented 3 years ago

New function to write output into a stream. Currently I think it's only possible to write directly to the file system. The new function WriteStream should work the same as WriteFile. It handles .json, .xml, .ifczip and .ifc.

bschorno commented 3 years ago

Sorry I closed this pull request by mistake as I have deleted a branche in my fork.

I've made another small fix in the ParserIfc.DerivedMeasureValueTypes. When the property get accessed by multiple threads, sometime the first thread is building up the dictionary while the second thread already get's return the incomplete dictionary.