xulisong hace 5 años
padre
commit
a3dbfa4618
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      JBIM/RevitToJBim/MbiExport.cs

+ 1 - 1
JBIM/RevitToJBim/MbiExport.cs

@@ -53,7 +53,7 @@ namespace RevitToJBim
                 var resultResponse=HttpUtils.PostFormDataFile("http://192.168.20.225:8080/revit-algorithm/upload-json-zip/upload", stream);
                 string fileName = DateTime.Now.ToString("yyyyMMddHHmmss");
                 string path = Path.Combine(@"D:\", $"{fileName}.json");
-                File.WriteAllText(path, resultResponse);
+                File.WriteAllText(path, resultResponse.ToString());
                 System.Diagnostics.Process.Start("notepad.exe", path);
             }
             catch (Exception ex)