using System.IO; using System.Reflection; using Autodesk.Revit.UI; using Wpf.Ui.Controls; namespace Sai.RvKits; public static class Variables { public static string AddInPath => Assembly.GetExecutingAssembly().Location; // public static IntPtr RevitWindowPtr //{ // [DebuggerStepThrough] // get => ComponentManager.ApplicationWindow; //} //public static readonly string DllPath = typeof(Variables).Assembly.Location; public static string DirAssembly => Path.GetDirectoryName(AddInPath); public static string FamilyFolder => Path.Combine(DirAssembly, "Libraries"); public static DockablePaneId PaneId => new(new Guid(Properties.Settings.Default.DockPaneGuid)); public static System.Timers.Timer Timer => new(); public static SnackbarPresenter SnackbarPresenter { get; set; } }