|
@@ -4,6 +4,7 @@ using System;
|
|
using System.IO;
|
|
using System.IO;
|
|
using Newtonsoft.Json.Linq;
|
|
using Newtonsoft.Json.Linq;
|
|
using SAGA.DotNetUtils.Extend;
|
|
using SAGA.DotNetUtils.Extend;
|
|
|
|
+using SAGA.DotNetUtils.Logger;
|
|
|
|
|
|
//using RevitToJBim.Common;
|
|
//using RevitToJBim.Common;
|
|
|
|
|
|
@@ -39,8 +40,8 @@ namespace ExportStart
|
|
command = "DataExport";
|
|
command = "DataExport";
|
|
//command = "DataCheck";
|
|
//command = "DataCheck";
|
|
path = @"E:\导出测试\testSpace.rvt";
|
|
path = @"E:\导出测试\testSpace.rvt";
|
|
- path = @"E:\导出测试\系统图修改编码版\冷源系统图模型第一版V1129 .rvt";
|
|
|
|
- path = @"C:\Users\SAGACLOUD\Desktop\新建文件夹\b2-1964209.rvt";
|
|
|
|
|
|
+ path = @"E:\导出测试\系统图修改编码版\给排水系统图模型第一版V1129.rvt";
|
|
|
|
+ path = @"C:\Users\SAGACLOUD\Desktop\新建文件夹\b1-2172005.rvt";
|
|
JObject jObject=new JObject();
|
|
JObject jObject=new JObject();
|
|
jObject.Add("ResultFileName", @"C:\Users\SAGACLOUD\AppData\Local\RevitService\Result_e26be2fd-2097-462b-bdd0-a2a86b616928.txt");
|
|
jObject.Add("ResultFileName", @"C:\Users\SAGACLOUD\AppData\Local\RevitService\Result_e26be2fd-2097-462b-bdd0-a2a86b616928.txt");
|
|
param = jObject.ToString();
|
|
param = jObject.ToString();
|
|
@@ -52,7 +53,7 @@ namespace ExportStart
|
|
#endif
|
|
#endif
|
|
if (string.IsNullOrEmpty(command))
|
|
if (string.IsNullOrEmpty(command))
|
|
{
|
|
{
|
|
- Console.WriteLine("命令参数错误");
|
|
|
|
|
|
+ Log4Net.Debug("命令参数错误");
|
|
}
|
|
}
|
|
Console.WriteLine(command);
|
|
Console.WriteLine(command);
|
|
Console.WriteLine(path);
|
|
Console.WriteLine(path);
|