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