Skip to content

Commit

Permalink
re
Browse files Browse the repository at this point in the history
  • Loading branch information
chuongmep committed Nov 20, 2024
1 parent ef0739d commit d23b684
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion AddInManager.sln
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ Global
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug R25|Any CPU.ActiveCfg = Release R25|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug R25|Any CPU.Build.0 = Release R25|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug R23|Any CPU.Build.0 = Debug R23|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R22|Any CPU.Build.0 = Release R22|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug R22|Any CPU.ActiveCfg = Debug R22|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug R22|Any CPU.Build.0 = Debug R22|Any CPU
{21460D85-C4AD-49D5-963F-CF13C4AE99EB}.Debug R22|Any CPU.ActiveCfg = Debug R22|Any CPU
Expand Down
1 change: 1 addition & 0 deletions Test/Sample/BenchmarkCommand/BenchmarkCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ public class ItemReport
public string ProjectGuid { get; set; }
public string ModelGuid { get; set; }
public string ModelName { get; set; }
public string Version { get; set; }
}
7 changes: 1 addition & 6 deletions Test/Sample/UnloadAndSaveModelAsCloudCommand.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading;
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using CsvHelper;
using Microsoft.Win32;
using Application = Autodesk.Revit.ApplicationServices.Application;

Expand All @@ -25,7 +20,6 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme
Guid accountId = new Guid("1715cf2b-cc12-46fd-9279-11bbc47e72f6");
Guid projectId = new Guid("ca790fb5-141d-4ad5-b411-0461af2e9748");
string folderIdMech = "urn:adsk.wipprod:fs.folder:co.kHlWc1ajSHSxey-_bGjKwg";
// string folderIdElec = "urn:adsk.wipprod:fs.folder:co.xm8eECPARESSL00xbO7qLw";
string dir = OpenDirectoryDialog();
List<string> revitPaths = GetAllRevitPaths(dir);
List<string> report = new List<string>();
Expand Down Expand Up @@ -62,6 +56,7 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme
}
catch (Exception e)
{
writer.WriteLine($"{DateTime.Now} - {fileName} - Failed: {e.Message}");
Trace.WriteLine(e.Message);
}
}
Expand Down

0 comments on commit d23b684

Please sign in to comment.