Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        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));
        }
Ejemplo n.º 3
0
        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));
        }
Ejemplo n.º 4
0
        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));
        }
Ejemplo n.º 5
0
        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));
        }
Ejemplo n.º 6
0
 public static IEnumerable <GCFoundationInstance> CollectSelectedFoundationInstance(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCFoundationInstance>(doc, GCFoundationInstance.IsFoundationInstance, GCFoundationInstance.CreateGCFoundationInstance));
 }
Ejemplo n.º 7
0
 public static IEnumerable <GCLevel> CollectSelectedLevels(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCLevel>(doc, GCLevel.IsLevel, GCLevel.CreateGCLevel));
 }
Ejemplo n.º 8
0
 public static IEnumerable <GCViewSheet> CollectSelectedSheetViews(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCViewSheet>(doc, GCViewSheet.IsViewSheet, GCViewSheet.CreateGCViewSheet));
 }
Ejemplo n.º 9
0
 public static IEnumerable <GCFoundationFloor> CollectSelectedFoundationFloors(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCFoundationFloor>(doc, GCFoundationFloor.IsFoundationFloor, GCFoundationFloor.CreateGCFoundationFloor));
 }
Ejemplo n.º 10
0
 public static IEnumerable <GCConnection> CollectSelectedConnections(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCConnection>(doc, GCConnection.IsConnection, GCConnection.CreateGCConnection));
 }
Ejemplo n.º 11
0
 public static IEnumerable <GCViewLive> CollectSelectedLiveViews(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCViewLive>(doc, GCViewLive.IsViewLive, GCViewLive.CreateGCViewLive));
 }
Ejemplo n.º 12
0
 public static IEnumerable <GCColumnInPlace> CollectSelectedInPlaceColumns(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCColumnInPlace>(doc, GCColumnInPlace.IsColumnInPlace, GCColumnInPlace.CreateGCColumnInPlace));
 }
Ejemplo n.º 13
0
 public static IEnumerable <GCGridMulti> CollectSelectedMultiGrids(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCGridMulti>(doc, GCGridMulti.IsGridMulti, GCGridMulti.CreateGCGridMulti));
 }
Ejemplo n.º 14
0
 public static IEnumerable <GCFrameBeam> CollectSelectedBeamFraming(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCFrameBeam>(doc, GCFrameBeam.IsBeam, GCFrameBeam.CreateGCFrameBeam));
 }
Ejemplo n.º 15
0
 public static IEnumerable <GCFrameBrace> CollectSelectedBraceFraming(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCFrameBrace>(doc, GCFrameBrace.IsBrace, GCFrameBrace.CreateGCFrameBrace));
 }
Ejemplo n.º 16
0
 public static IEnumerable <GCWallCurtain> CollectSelectedWallCurtains(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCWallCurtain>(doc, GCWallCurtain.IsWallCurtain, GCWallCurtain.CreateGCWallCurtain));
 }
Ejemplo n.º 17
0
 public static IEnumerable <GCMass> CollectSelectedLevels(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCMass>(doc, GCMass.IsMass, GCMass.CreateGCMass));
 }
Ejemplo n.º 18
0
 public static IEnumerable <GCFloorInPlace> CollectSelectedFloorsInPlace(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCFloorInPlace>(doc, GCFloorInPlace.IsFloorInPlace, GCFloorInPlace.CreateGCFloorInPlace));
 }
Ejemplo n.º 19
0
 public static IEnumerable <GCRoofExtrusion> CollectSelectedRoofExtrustions(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCRoofExtrusion>(doc, GCRoofExtrusion.IsRoofExtrusion, GCRoofExtrusion.CreateGCRoofExtrusion));
 }
Ejemplo n.º 20
0
 public static IEnumerable <GCColumnVertical> CollectSelectedVerticalColumns(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCColumnVertical>(doc, GCColumnVertical.IsColumnVertical, GCColumnVertical.CreateGCColumnVertical));
 }
Ejemplo n.º 21
0
 public static IEnumerable <GCGrid> CollectSelectedGrids(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCGrid>(doc, GCGrid.IsGrid, GCGrid.CreateGCGrid));
 }
Ejemplo n.º 22
0
 public static IEnumerable <GCRoofFootPrint> CollectSelectedRoofFootPrints(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCRoofFootPrint>(doc, GCRoofFootPrint.IsRoofFootPrint, GCRoofFootPrint.CreateGCRoofFootPrint));
 }
Ejemplo n.º 23
0
 public static IEnumerable <GCViewDrafting> CollectSelectedDraftingViews(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCViewDrafting>(doc, GCViewDrafting.IsViewDrafting, GCViewDrafting.CreateGCViewDrafting));
 }
Ejemplo n.º 24
0
 public static IEnumerable <GCWallCurtainPanel> CollectSelectedWallCurtainPanels(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCWallCurtainPanel>(doc, GCWallCurtainPanel.IsWallCurtainPanel, GCWallCurtainPanel.CreateGCWallCurtainPanel));
 }
Ejemplo n.º 25
0
 public static IEnumerable <GCColumnSlanted> CollectSelectedSlantedColumns(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCColumnSlanted>(doc, GCColumnSlanted.IsColumnSlanted, GCColumnSlanted.CreateGCColumnSlanted));
 }
Ejemplo n.º 26
0
 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));
 }
Ejemplo n.º 28
0
 public static IEnumerable <GCLink> CollectSelectedLinks(GCRevitDocument doc)
 {
     return(GCElementCollector.CollectSelectedElements <GCLink>(doc, GCLink.IsLink, GCLink.CreateGCRevitLink));
 }