Ver código fonte

Merge branch 'master' of http://39.106.8.246:3003/revit/RevitExport

xulisong 5 anos atrás
pai
commit
1dfc3ba785

+ 2 - 1
JBIM/ExportStart/ReadMe.txt

@@ -1,4 +1,5 @@
 RevitNet使用注意:
 Main方法加[STAThread]标记
 平台目标 当前项目改为:X64
-目标框架 注意与引用的项目一致
+目标框架 注意与引用的项目一致
+注意RevitAPIUI.dll可能会出错

+ 0 - 33
JBIM/ServiceDataCheck/DocumentUtils.cs

@@ -1,33 +0,0 @@
-/* ==============================================================================
- * 功能描述:DocumentUtils  
- * 创 建 者:Garrett
- * 创建日期:2019/5/31 17:06:30
- * ==============================================================================*/
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Autodesk.Revit.DB;
-using SAGA.RevitUtils.Extends;
-
-namespace ServiceRevitLib
-{
-    /// <summary>
-    /// DocumentUtils
-    /// </summary>
-    class DocumentUtils
-    {
-        /// <summary>
-        /// 由路径获取Doc,
-        /// 获取Doc的方法可以更改,可用RevitNet
-        /// </summary>
-        /// <param name="filePath"></param>
-        /// <returns></returns>
-        public static Document GetDocument(string filePath)
-        {
-            
-            return ExternalDataWrapper.Current.App.OpenDocumentFile(filePath); ;
-        }
-    }
-}

+ 0 - 1
JBIM/ServiceDataCheck/ServiceDataCheck.csproj

@@ -78,7 +78,6 @@
     <Compile Include="CheckFactory.cs" />
     <Compile Include="Common\MBIConst.cs" />
     <Compile Include="Common\RegexConstPattern.cs" />
-    <Compile Include="DocumentUtils.cs" />
     <Compile Include="Extend\DocExtend.cs" />
     <Compile Include="Extend\ElementExtend.cs" />
     <Compile Include="DataCheck.Mode\CheckBase.cs" />