using System.IO; using System.Reflection; using Autodesk.Revit.UI; using Wpf.Ui.Controls; namespace Sai.RvKits; public static class Variables { public static readonly 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 = $@"{DirAssembly}\Libraries\"; public static string LogFolder = $@"{DirAssembly}\Log\"; public static DockablePaneId PaneId { get; } = new(new Guid(Properties.Settings.Default.DockPaneGuid)); public static System.Timers.Timer Timer { get; } = new(); public static SnackbarPresenter SnackbarPresenter { get; set; } }