Skip to content

Commit

Permalink
update nugets
Browse files Browse the repository at this point in the history
  • Loading branch information
NeVeSpl committed Oct 26, 2023
1 parent f2d1066 commit afc02ff
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sources/RevitDBExplorer/Application.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public Result OnStartup(UIControlledApplication application)
MemberStreamerForTemplates.Init();
RevitDocumentationReader.Init();
RevitDatabaseQueryService.Init();
BoundingBoxVisualizerFactory.Init(UIApplication);
RevitDatabaseVisualizationFactory.Init(UIApplication);
EventMonitor.Register(application);

ApplicationModifyTab.Init(panel.GetRibbonPanel(), AppSettings.Default.AddRDBECmdToModifyTab);
Expand Down
9 changes: 5 additions & 4 deletions sources/RevitDBExplorer/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ internal partial class MainWindow : Window, IAmWindowOpener, IAmQueryExecutor, I
private string mouseStatus;
private readonly DispatcherTimer isRevitBusyDispatcher;
private readonly IAutocompleteItemProvider databaseQueryAutocompleteItemProvider = new AutocompleteItemProvider();
private readonly IBoundingBoxVisualizer boundingBoxVisualizer;
private readonly IRDV3DController boundingBoxVisualizer;


public ExplorerTreeViewModel ExplorerTree => explorerTreeViewModel;
Expand Down Expand Up @@ -227,7 +227,7 @@ public MainWindow()
UtilityTree.ScriptForRDSHasChanged += RDSOpenWithCommand;
OpenScriptingWithQueryCommand = new RelayCommand(RDSOpenWithQuery);
SaveQueryAsFavoriteCommand = new RelayCommand(SaveQueryAsFavorite, x => !string.IsNullOrEmpty(DatabaseQuery) );
boundingBoxVisualizer = BoundingBoxVisualizerFactory.GetInstance();
boundingBoxVisualizer = RevitDatabaseVisualizationFactory.GetRDV3DController();
}


Expand Down Expand Up @@ -319,10 +319,11 @@ private async void Tree_SelectedItemChanged(SelectedItemChangedEventArgs eventAr
{
RightView = RightView.List;
await List.PopulateListView(snoopableObjectTreeItem);
boundingBoxVisualizer.Show(snoopableObjectTreeItem.Object.Object as Autodesk.Revit.DB.Element);
boundingBoxVisualizer.AddElement(snoopableObjectTreeItem.Object.Object as Autodesk.Revit.DB.Element);
boundingBoxVisualizer.AddXYZ(snoopableObjectTreeItem.Object.Object as Autodesk.Revit.DB.XYZ);
return;
}
boundingBoxVisualizer.HideAll();
boundingBoxVisualizer.RemoveAll();
if (eventArgs.NewOne is GroupTreeItem groupTreeItemVM)
{
//if (AppSettings.Default.FeatureFlag)
Expand Down
4 changes: 2 additions & 2 deletions sources/RevitDBExplorer/RevitDBExplorer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" />
<PackageReference Include="CircularBuffer" Version="1.3.0" />
<PackageReference Include="LoxSmoke.DocXml" Version="3.5.0" />
<PackageReference Include="RevitDBExplorer.Augmentations" Version="0.1.0.$(RevitYear)" />
<PackageReference Include="RevitDBScripting" Version="0.1.2.$(RevitYear)" />
<PackageReference Include="RevitDBExplorer.Augmentations" Version="0.3.0.$(RevitYear)" />
<PackageReference Include="RevitDBScripting" Version="0.1.3.$(RevitYear)" />
<PackageReference Include="SimMetrics.Net" Version="1.0.5" />
<PackageReference Include="System.Buffers" Version="4.5.1" />
<PackageReference Include="System.Memory" Version="4.5.5" />
Expand Down

0 comments on commit afc02ff

Please sign in to comment.