|
@@ -40,14 +40,13 @@ namespace RevitToJBim
|
|
|
*/
|
|
|
var result = BimJsonUtil.Serializer(mbiDocument);
|
|
|
var resultResponse = UploadService.UploadExportFile(result);
|
|
|
- string fileName = DateTime.Now.ToString("yyyyMMddHHmmss");
|
|
|
- string path = Path.Combine(@"D:\", $"{fileName}.json");
|
|
|
- File.WriteAllText(path, resultResponse.ToString());
|
|
|
- System.Diagnostics.Process.Start("notepad.exe", path);
|
|
|
+ //string fileName = DateTime.Now.ToString("yyyyMMddHHmmss");
|
|
|
+ //string path = Path.Combine(@"D:\", $"{fileName}.json");
|
|
|
+ //File.WriteAllText(path, resultResponse.ToString());
|
|
|
+ //System.Diagnostics.Process.Start("notepad.exe", path);
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|
|
|
-
|
|
|
Console.WriteLine(ex.StackTrace.ToString());
|
|
|
}
|
|
|
}
|