| | |
| | | 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; |
| | | |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | static StandardModulePanel() |
| | | { |
| | | PropHolder.Register(typeof(StandardModulePanel)); |
| | | } |
| | | |
| | | public event PanelPropertyChanged UpdateProperty; |
| | | |
| | |
| | | [PropertySettingAttr(Name = NameConstant.weight, NeedSave = false)] |
| | | public string weight |
| | | { |
| | | get => CustomPropertyUtil.GetMass(doc); |
| | | get => CustomPropertyUtil.GetMassBySWDM(doc); |
| | | set |
| | | { |
| | | RaiseAndSetIfChanged(ref _weight, value); |