PdmSwPlugin.Common/Util/CustomPropertyUtil.cs
@@ -212,8 +212,9 @@ /// </summary> /// <param name="doc"></param> /// <returns></returns> public static bool ClearAllCustomProperties(ModelDoc2 doc) public static bool ClearAllCustomProperties(ModelDoc2 doc, out bool needSave) { needSave = false; if (doc == null) return false; Configuration activeConfig = doc.GetActiveConfiguration() as Configuration; if (activeConfig == null) @@ -230,8 +231,8 @@ } foreach (var name in names) { cpm.Delete2(name); needSave = true; } return true; }