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);
|
|
}
|
}
|