1234567891011121314151617181920212223242526272829303132333435363738 |
-
- using System;
- using System.Collections.Generic;
- using System.IO;
- using System.Linq;
- using System.Text.RegularExpressions;
- using Autodesk.Revit.DB;
- using SAGA.DotNetUtils;
- using SAGA.RevitUtils.Extends;
- using ServiceRevitLib.Common;
- namespace ServiceRevitLib.Extend
- {
-
-
-
- public static class DocExtend
- {
-
-
-
-
-
-
- public static List<Element> GetEqEcElements(this Document doc)
- {
- List<Element> elements = new List<Element>();
-
- elements.AddRange(doc.GetElements(typeof(FamilyInstance)));
- return elements.Where(t=>t.IsMbiEquipment()).ToList();
- }
- }
- }
|