命名优化,达芬奇字体修改工具
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user