优化更新
This commit is contained in:
@@ -138,6 +138,10 @@ public static class CollectorAssist
|
||||
&& e is not Panel
|
||||
&& e is not Mullion
|
||||
&& e is not RevitLinkInstance)).Select(e => e.Id).ToList();
|
||||
if (li.Count == 0)
|
||||
{
|
||||
return new FilteredElementCollector(doc);
|
||||
}
|
||||
return new FilteredElementCollector(doc, li);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user