Skip to content

Commit

Permalink
initialize revit async (#68)
Browse files Browse the repository at this point in the history
Co-authored-by: Connor Ivy <[email protected]>
Co-authored-by: Adam Hathcock <[email protected]>
  • Loading branch information
3 people authored Jul 23, 2024
1 parent 4237d8a commit 722d091
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Windows.Media.Imaging;
using Autodesk.Revit.ApplicationServices;
using Autodesk.Revit.UI;
using Revit.Async;
using Speckle.Connectors.DUI.WebView;
using Speckle.Converters.RevitShared.Helpers;
using Speckle.Core.Logging;
Expand Down Expand Up @@ -99,7 +100,7 @@ private void OnApplicationInitialized(object? sender, Autodesk.Revit.DB.Events.A
_revitContext.UIApplication = uiApplication;

// POC: might be worth to interface this out, we shall see...
//RevitTask.Initialize(uiApplication);
RevitTask.Initialize(uiApplication);
}

private void RegisterDockablePane()
Expand Down

0 comments on commit 722d091

Please sign in to comment.