Skip to content

Commit afc02ff

Browse files
committed
update nugets
1 parent f2d1066 commit afc02ff

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

sources/RevitDBExplorer/Application.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public Result OnStartup(UIControlledApplication application)
5050
MemberStreamerForTemplates.Init();
5151
RevitDocumentationReader.Init();
5252
RevitDatabaseQueryService.Init();
53-
BoundingBoxVisualizerFactory.Init(UIApplication);
53+
RevitDatabaseVisualizationFactory.Init(UIApplication);
5454
EventMonitor.Register(application);
5555

5656
ApplicationModifyTab.Init(panel.GetRibbonPanel(), AppSettings.Default.AddRDBECmdToModifyTab);

sources/RevitDBExplorer/MainWindow.xaml.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ internal partial class MainWindow : Window, IAmWindowOpener, IAmQueryExecutor, I
5656
private string mouseStatus;
5757
private readonly DispatcherTimer isRevitBusyDispatcher;
5858
private readonly IAutocompleteItemProvider databaseQueryAutocompleteItemProvider = new AutocompleteItemProvider();
59-
private readonly IBoundingBoxVisualizer boundingBoxVisualizer;
59+
private readonly IRDV3DController boundingBoxVisualizer;
6060

6161

6262
public ExplorerTreeViewModel ExplorerTree => explorerTreeViewModel;
@@ -227,7 +227,7 @@ public MainWindow()
227227
UtilityTree.ScriptForRDSHasChanged += RDSOpenWithCommand;
228228
OpenScriptingWithQueryCommand = new RelayCommand(RDSOpenWithQuery);
229229
SaveQueryAsFavoriteCommand = new RelayCommand(SaveQueryAsFavorite, x => !string.IsNullOrEmpty(DatabaseQuery) );
230-
boundingBoxVisualizer = BoundingBoxVisualizerFactory.GetInstance();
230+
boundingBoxVisualizer = RevitDatabaseVisualizationFactory.GetRDV3DController();
231231
}
232232

233233

@@ -319,10 +319,11 @@ private async void Tree_SelectedItemChanged(SelectedItemChangedEventArgs eventAr
319319
{
320320
RightView = RightView.List;
321321
await List.PopulateListView(snoopableObjectTreeItem);
322-
boundingBoxVisualizer.Show(snoopableObjectTreeItem.Object.Object as Autodesk.Revit.DB.Element);
322+
boundingBoxVisualizer.AddElement(snoopableObjectTreeItem.Object.Object as Autodesk.Revit.DB.Element);
323+
boundingBoxVisualizer.AddXYZ(snoopableObjectTreeItem.Object.Object as Autodesk.Revit.DB.XYZ);
323324
return;
324325
}
325-
boundingBoxVisualizer.HideAll();
326+
boundingBoxVisualizer.RemoveAll();
326327
if (eventArgs.NewOne is GroupTreeItem groupTreeItemVM)
327328
{
328329
//if (AppSettings.Default.FeatureFlag)

sources/RevitDBExplorer/RevitDBExplorer.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" />
6363
<PackageReference Include="CircularBuffer" Version="1.3.0" />
6464
<PackageReference Include="LoxSmoke.DocXml" Version="3.5.0" />
65-
<PackageReference Include="RevitDBExplorer.Augmentations" Version="0.1.0.$(RevitYear)" />
66-
<PackageReference Include="RevitDBScripting" Version="0.1.2.$(RevitYear)" />
65+
<PackageReference Include="RevitDBExplorer.Augmentations" Version="0.3.0.$(RevitYear)" />
66+
<PackageReference Include="RevitDBScripting" Version="0.1.3.$(RevitYear)" />
6767
<PackageReference Include="SimMetrics.Net" Version="1.0.5" />
6868
<PackageReference Include="System.Buffers" Version="4.5.1" />
6969
<PackageReference Include="System.Memory" Version="4.5.5" />

0 commit comments

Comments
 (0)