| | |
| | | using PdmSwPlugin.PropertySetting.Entity; |
| | | using PdmSwPlugin.PropertySetting.Interface; |
| | | using PdmSwPlugin.PropertySetting.Panel.Attr; |
| | | using PdmSwPlugin.PropertySetting.Util; |
| | | using SolidWorks.Interop.sldworks; |
| | | using SolidWorks.Interop.swconst; |
| | | |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | static JgjPartPanel() |
| | | { |
| | | PropHolder.Register(typeof(JgjPartPanel)); |
| | | } |
| | | |
| | | public void ccc<T>(ref T old, T @new, [CallerMemberName] string propertyName = null) |
| | | { |
| | |
| | | [PropertySettingAttr(Name = NameConstant.weight, NeedSave = false)] |
| | | public string weight |
| | | { |
| | | get => CustomPropertyUtil.GetMass(doc); |
| | | get => CustomPropertyUtil.GetMassBySWDM(doc); |
| | | set |
| | | { |
| | | ccc(ref _weight, value); |