chr
2024-08-07 22beee93f14d042aa184148c53efb79e23416526
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using PdmSwPlugin.Common.CustomHandler;
using SolidWorks.Interop.sldworks;
using System.Collections.Generic;
 
namespace PdmSwPlugin.PropertySetting.Interface
{
    public interface IPropertyOpt
    {
        /// <summary>
        /// 属性变更事件
        /// </summary>
        event PanelPropertyChanged UpdateProperty;
 
        /// <summary>
        /// 
        /// </summary>
        /// <param name="properties"></param>
        /// <param name="errMsg"></param>
        /// <returns></returns>
        bool SetProperties(ModelDoc2 doc, object properties, bool docChange, out string errMsg);
 
        bool SaveDoc(ref int err, ref int warn);
 
        bool SetSettings(object settings);
 
        Dictionary<string, string> GetAllProperties();
 
        bool ClearAllProperties(out string ErrMsg);
 
        bool UpdateSingleProperty(string name, string value);
 
        bool GetDocChanged();
 
        bool ResetProperty(out string errMsg);
 
    }
}