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