命名优化,达芬奇字体修改工具

This commit is contained in:
GG Z
2025-10-04 08:52:23 +08:00
parent 0d0afbc78e
commit 4722a4c881
121 changed files with 1801 additions and 1368 deletions

View File

@@ -37,9 +37,9 @@ public class RvApp : ExternalApplication
var doc = app.ActiveUIDocument.Document;
#if REVIT2018
if (doc.IsModified && !string.IsNullOrEmpty(doc.PathName))
if (doc.IsModified && !string.IsNullOrEmpty(doc.PathName) && !doc.IsReadOnlyFile)
#else
if (!doc.IsBackgroundCalculationInProgress() && doc.IsModified && !string.IsNullOrEmpty(doc.PathName))
if (!doc.IsBackgroundCalculationInProgress() && doc.IsModified && !string.IsNullOrEmpty(doc.PathName)&&!doc.IsReadOnlyFile)
#endif
{
try