public async Task <List <SpatialStructureModel> > GetSpatialStructureAsync(Stream ifcStream) { var ifcStoreGenerator = new IfcStoreGenerator(ifcStream); using (var ifcStore = await ifcStoreGenerator.GetIfcStoreAsync()) { var spatialStructure = await GetSpatialStructure(ifcStore); return(spatialStructure); } }
public async Task <string> ValidateIFCAsync(Stream ifcStream) { var ifcStoreGenerator = new IfcStoreGenerator(ifcStream); using (var ifcStore = await ifcStoreGenerator.GetIfcStoreAsync()) { string report = await ValidateModel(ifcStore); return(report); } }
public async Task <Stream> ConvertAsync(Stream ifcStream) { var ifcStoreGenerator = new IfcStoreGenerator(ifcStream); using (var ifcStore = await ifcStoreGenerator.GetIfcStoreAsync()) { var wexBimStream = await ConvertIfcToWexBimAsync(ifcStore); return(wexBimStream); } }