zhangyuekai
2024-08-17 2ea53b9fbd3fc318f1c02c1888c22aec5abab8ef
HStation.RevitDev/RevitDataExport/Utility/DockablePaneUtils.cs
@@ -1,5 +1,6 @@
using Autodesk.Revit.UI;
using HStation.RevitDev.Model.ModelEnum;
using HStation.RevitDev.RevitDataExport.Common;
using System;
namespace HStation.RevitDev.RevitDataExport.Utility
@@ -16,5 +17,14 @@
            DockablePane pane = uiapp.GetDockablePane(paneId);
            pane.Show();
        }
        public static void ShowInstancePanel(ExternalCommandData commandData)
        {
            UIApplication uiapp = commandData.Application;
            Guid guid = new Guid(GlobalResource.InstancePaneGuid);
            DockablePaneId paneId = new DockablePaneId(guid: guid);
            DockablePane pane = uiapp.GetDockablePane(paneId);
            pane.Show();
        }
    }
}