public static IEnumerable <AGCRoofBase> CollectSelectedRoofSystems(GCRevitDocument doc) { var isElem = new List <GCElementCollector.IsElement> { GCRoofExtrusion.IsRoofExtrusion, GCRoofFootPrint.IsRoofFootPrint }; var createElem = new List <GCElementCollector.CreateElement <AGCRoofBase> >() { GCRoofExtrusion.CreateGCRoofExtrusion, GCRoofFootPrint.CreateGCRoofFootPrint }; return(GCElementCollector.CollectSelectedElements <AGCRoofBase>(doc, isElem, createElem)); }
public static IEnumerable <AGCFrameCurveDriven> CollectSelectedCurveDrivenFraming(GCRevitDocument doc) { var isElem = new List <GCElementCollector.IsElement> { GCFrameBeam.IsBeam, GCFrameBrace.IsBrace }; var createElem = new List <GCElementCollector.CreateElement <AGCFrameCurveDriven> >() { GCFrameBeam.CreateGCFrameBeam, GCFrameBrace.CreateGCFrameBrace }; return(GCElementCollector.CollectSelectedElements <AGCFrameCurveDriven>(doc, isElem, createElem)); }
public static IEnumerable <AGCGridBase> CollectSelectedGridsAndMultiGrids(GCRevitDocument doc) { var isElem = new List <GCElementCollector.IsElement> { GCGrid.IsGrid, GCGridMulti.IsGridMulti }; var createElem = new List <GCElementCollector.CreateElement <AGCGridBase> >() { GCGrid.CreateGCGrid, GCGridMulti.CreateGCGridMulti }; return(GCElementCollector.CollectSelectedElements <AGCGridBase>(doc, isElem, createElem)); }
public static IEnumerable <AGCColumnCurveDriven> CollectSelectedCurveDrivenColumns(GCRevitDocument doc) { var isElem = new List <GCElementCollector.IsElement> { GCColumnSlanted.IsColumnSlanted, GCColumnVertical.IsColumnVertical }; var createElem = new List <GCElementCollector.CreateElement <AGCColumnCurveDriven> >() { GCColumnSlanted.CreateGCColumnSlanted, GCColumnVertical.CreateGCColumnVertical }; return(GCElementCollector.CollectSelectedElements <AGCColumnCurveDriven>(doc, isElem, createElem)); }
public static IEnumerable <AGCViewBase> GetSelectedViews(GCRevitDocument doc) { var isElem = new List <GCElementCollector.IsElement> { GCViewDrafting.IsViewDrafting, GCViewLegend.IsViewLegend, GCViewLive.IsViewLive, GCViewSheet.IsViewSheet }; var createElem = new List <GCElementCollector.CreateElement <AGCViewBase> >() { GCViewDrafting.CreateGCViewDrafting, GCViewLegend.CreateGCViewLegend, GCViewLive.CreateGCViewLive, GCViewSheet.CreateGCViewSheet }; return(GCElementCollector.CollectSelectedElements <AGCViewBase>(doc, isElem, createElem)); }
public static IEnumerable <GCFoundationInstance> CollectSelectedFoundationInstance(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCFoundationInstance>(doc, GCFoundationInstance.IsFoundationInstance, GCFoundationInstance.CreateGCFoundationInstance)); }
public static IEnumerable <GCLevel> CollectSelectedLevels(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCLevel>(doc, GCLevel.IsLevel, GCLevel.CreateGCLevel)); }
public static IEnumerable <GCViewSheet> CollectSelectedSheetViews(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCViewSheet>(doc, GCViewSheet.IsViewSheet, GCViewSheet.CreateGCViewSheet)); }
public static IEnumerable <GCFoundationFloor> CollectSelectedFoundationFloors(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCFoundationFloor>(doc, GCFoundationFloor.IsFoundationFloor, GCFoundationFloor.CreateGCFoundationFloor)); }
public static IEnumerable <GCConnection> CollectSelectedConnections(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCConnection>(doc, GCConnection.IsConnection, GCConnection.CreateGCConnection)); }
public static IEnumerable <GCViewLive> CollectSelectedLiveViews(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCViewLive>(doc, GCViewLive.IsViewLive, GCViewLive.CreateGCViewLive)); }
public static IEnumerable <GCColumnInPlace> CollectSelectedInPlaceColumns(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCColumnInPlace>(doc, GCColumnInPlace.IsColumnInPlace, GCColumnInPlace.CreateGCColumnInPlace)); }
public static IEnumerable <GCGridMulti> CollectSelectedMultiGrids(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCGridMulti>(doc, GCGridMulti.IsGridMulti, GCGridMulti.CreateGCGridMulti)); }
public static IEnumerable <GCFrameBeam> CollectSelectedBeamFraming(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCFrameBeam>(doc, GCFrameBeam.IsBeam, GCFrameBeam.CreateGCFrameBeam)); }
public static IEnumerable <GCFrameBrace> CollectSelectedBraceFraming(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCFrameBrace>(doc, GCFrameBrace.IsBrace, GCFrameBrace.CreateGCFrameBrace)); }
public static IEnumerable <GCWallCurtain> CollectSelectedWallCurtains(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCWallCurtain>(doc, GCWallCurtain.IsWallCurtain, GCWallCurtain.CreateGCWallCurtain)); }
public static IEnumerable <GCMass> CollectSelectedLevels(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCMass>(doc, GCMass.IsMass, GCMass.CreateGCMass)); }
public static IEnumerable <GCFloorInPlace> CollectSelectedFloorsInPlace(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCFloorInPlace>(doc, GCFloorInPlace.IsFloorInPlace, GCFloorInPlace.CreateGCFloorInPlace)); }
public static IEnumerable <GCRoofExtrusion> CollectSelectedRoofExtrustions(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCRoofExtrusion>(doc, GCRoofExtrusion.IsRoofExtrusion, GCRoofExtrusion.CreateGCRoofExtrusion)); }
public static IEnumerable <GCColumnVertical> CollectSelectedVerticalColumns(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCColumnVertical>(doc, GCColumnVertical.IsColumnVertical, GCColumnVertical.CreateGCColumnVertical)); }
public static IEnumerable <GCGrid> CollectSelectedGrids(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCGrid>(doc, GCGrid.IsGrid, GCGrid.CreateGCGrid)); }
public static IEnumerable <GCRoofFootPrint> CollectSelectedRoofFootPrints(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCRoofFootPrint>(doc, GCRoofFootPrint.IsRoofFootPrint, GCRoofFootPrint.CreateGCRoofFootPrint)); }
public static IEnumerable <GCViewDrafting> CollectSelectedDraftingViews(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCViewDrafting>(doc, GCViewDrafting.IsViewDrafting, GCViewDrafting.CreateGCViewDrafting)); }
public static IEnumerable <GCWallCurtainPanel> CollectSelectedWallCurtainPanels(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCWallCurtainPanel>(doc, GCWallCurtainPanel.IsWallCurtainPanel, GCWallCurtainPanel.CreateGCWallCurtainPanel)); }
public static IEnumerable <GCColumnSlanted> CollectSelectedSlantedColumns(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCColumnSlanted>(doc, GCColumnSlanted.IsColumnSlanted, GCColumnSlanted.CreateGCColumnSlanted)); }
public static IEnumerable <GCViewLegend> CollectSelectedLegendViews(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCViewLegend>(doc, GCViewLegend.IsViewLegend, GCViewLegend.CreateGCViewLegend)); }
public static IEnumerable <GCAdaptiveComponent> CollectSelectedAdaptiveComponents(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCAdaptiveComponent>(doc, GCAdaptiveComponent.IsAdaptiveComponent, GCAdaptiveComponent.CreateGCAdaptiveComponent)); }
public static IEnumerable <GCLink> CollectSelectedLinks(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCLink>(doc, GCLink.IsLink, GCLink.CreateGCRevitLink)); }