chr
2025-03-04 3f62d18e4361cd1d7a49c126765d95b2ad9c8246
PdmSwPlugin.PropertySetting/Panel/StandardPartPanel.xaml.cs
@@ -7,6 +7,7 @@
using PdmSwPlugin.Common.Util;
using PdmSwPlugin.PropertySetting.Interface;
using PdmSwPlugin.PropertySetting.Panel.Attr;
using PdmSwPlugin.PropertySetting.Util;
using SolidWorks.Interop.sldworks;
using SolidWorks.Interop.swconst;
@@ -39,6 +40,11 @@
            }
        }
        #endregion
        static StandardPartPanel()
        {
            PropHolder.Register(typeof(StandardPartPanel));
        }
        private Dictionary<string, string> InitData = new Dictionary<string, string>();
@@ -93,7 +99,7 @@
        [PropertySettingAttr(Name = NameConstant.weight, NeedSave = false)]
        public string weight
        {
            get => CustomPropertyUtil.GetMass(doc);
            get => CustomPropertyUtil.GetMassBySWDM(doc);
            set
            {
                RaiseAndSetIfChanged(ref _weight, value);