chr
2025-01-03 31a636e735a0addc56e4f4527f500b7aa0874eb5
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;
        }