zhangyk-c
2024-07-20 33c800c1bd24faa163bb8dac5fcdd307077478d2
HStation.RevitDev/RevitDataExport/Common/GlobalResource.cs
@@ -1,5 +1,5 @@
using Autodesk.Revit.DB;
using HStation.RevitDev.RevitDataExport.Enum;
using HStation.RevitDev.Model.Enum;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
@@ -16,28 +16,13 @@
        public static string UpdaterGuid = "345C723B-2244-46EE-B976-360FC14A543E";
        public static List<string> FamilyInstanceIds = new List<string>();
        public static List<string> ElementIds = new List<string>();
        public static Dictionary<YWFamilyType, string> DockablePanelDict => new Dictionary<YWFamilyType, string>
        {
            {YWFamilyType.YWFT_Pump, "8AF8DA72-120F-44A0-81DD-5DD24EDAB919"},
            {YWFamilyType.YWFT_Valve, "1A2728E3-51FF-4084-B0B6-F6DAD26A56FB"},
            {YWFamilyType.YWFT_Pipe, "CB879681-B8E8-4FE2-BF57-4C86068D2C89"},
        public static Dictionary<RevitFamilyType, List<string>> InstanceMap = new Dictionary<RevitFamilyType, List<string>>();
            {YWFamilyType.YWFT_Four_Joint, "AAB55EEE-8450-4848-9C89-0322BBE94F5A"},
            {YWFamilyType.YWFT_Elbow, "C357EC81-09FF-41C5-8E32-FE71E30EA394"},
            {YWFamilyType.YWFT_Blocker, "0250FA8F-56C3-4355-817D-60B515CAD90E"},
            {YWFamilyType.YWFT_Fire_Hydrant, "34E2EAD1-3D49-46C9-9942-451DD0192229"},
            {YWFamilyType.YWFT_Heat_Exchanger, "056EAACD-ED75-4854-8F3C-A4A43007BF31"},
        public static RevitFamilyType RevitFamilyType = RevitFamilyType.RFT_Unknown;
            {YWFamilyType.YWFT_Shower, "D4AA8261-406E-44FF-A1EE-531153FA9709"},
            {YWFamilyType.YWFT_Three_Joint, "1BAA114A-E355-402C-B91D-569882D12987"},
            {YWFamilyType.YWFT_Water_Box, "44951F67-0C2F-4B02-B988-8B5F06295A18"},
            {YWFamilyType.YWFT_Water_Meter, "28354DCD-C11F-4EE8-89F8-72B9A93FD9E6"},
            {YWFamilyType.YWFT_Water_Pool, "2DFB190E-1FD9-4CC6-8F85-AD3B19745ACF"},
        };
        public static int ThumbnailSize => 150;
        public static int ThumbnailSize = 150;
        public static string CurrentRevitVersion = string.Empty;
@@ -45,6 +30,25 @@
        public static bool PipePlacing = false;
        public static Dictionary<RevitFamilyType, string> DockablePanelDict => new Dictionary<RevitFamilyType, string>
        {
            {RevitFamilyType.RFT_Pump, "8AF8DA72-120F-44A0-81DD-5DD24EDAB919"},
            {RevitFamilyType.RFT_Valve, "1A2728E3-51FF-4084-B0B6-F6DAD26A56FB"},
            {RevitFamilyType.RFT_Pipe, "CB879681-B8E8-4FE2-BF57-4C86068D2C89"},
            {RevitFamilyType.RFT_FourJoint, "AAB55EEE-8450-4848-9C89-0322BBE94F5A"},
            {RevitFamilyType.RFT_Elbow, "C357EC81-09FF-41C5-8E32-FE71E30EA394"},
            {RevitFamilyType.RFT_Blocker, "0250FA8F-56C3-4355-817D-60B515CAD90E"},
            {RevitFamilyType.RFT_FireHydrant, "34E2EAD1-3D49-46C9-9942-451DD0192229"},
            {RevitFamilyType.RFT_HeatExchanger, "056EAACD-ED75-4854-8F3C-A4A43007BF31"},
            {RevitFamilyType.RFT_Shower, "D4AA8261-406E-44FF-A1EE-531153FA9709"},
            {RevitFamilyType.RFT_ThreeJoint, "1BAA114A-E355-402C-B91D-569882D12987"},
            {RevitFamilyType.RFT_WaterBox, "44951F67-0C2F-4B02-B988-8B5F06295A18"},
            {RevitFamilyType.RFT_WaterMeter, "28354DCD-C11F-4EE8-89F8-72B9A93FD9E6"},
            {RevitFamilyType.RFT_WaterPool, "2DFB190E-1FD9-4CC6-8F85-AD3B19745ACF"},
        };
        public static string BinDirectory
        {
            get