|
@@ -11,8 +11,8 @@ using System.IO;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
-using Autodesk.RevitAddIns;
|
|
|
using SAGA.DotNetUtils;
|
|
|
+using SAGA.DotNetUtils.Revit;
|
|
|
|
|
|
namespace ExportStart
|
|
|
{
|
|
@@ -29,7 +29,6 @@ namespace ExportStart
|
|
|
var revitVision = $"{vision}";
|
|
|
return SAGA.DotNetUtils.Revit.RevitProductUtility.GetAllInstalledRevitProducts().Where(t => t.Item1==(revitVision)).Select(t => t.Item2).ToList();
|
|
|
#if DEBUG
|
|
|
- return RevitProductUtility.GetAllInstalledRevitProducts().Where(t => t.Name == "Revit 2017").Select(x => x.InstallLocation).ToList();
|
|
|
#else
|
|
|
return new List<string>(){GetRevitDllPath()};
|
|
|
#endif
|