Beispiel #1
0
 public static IEnumerable <GCLink> CollectAllLinks(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectAllElementsOfClass <GCLink>(doc, typeof(RevitLinkInstance), GCLink.IsLink, GCLink.CreateGCRevitLink));
 }
Beispiel #2
0
 public static IEnumerable <GCInstance> CollectAllInstances(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectAllElementsOfClass <GCInstance>(doc, typeof(FamilyInstance), GCInstance.IsInstance, GCInstance.CreateGCInstance));
 }