public static IEnumerable <GCMass> CollectSelectedLevels(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCMass>(doc, GCMass.IsMass, GCMass.CreateGCMass)); }
public static IEnumerable <GCColumnInPlace> CollectAllInPlaceColumns(GCRevitDocument doc) { return(GCElementCollector.CollectAllElementsOfCategory <GCColumnInPlace>(doc, BuiltInCategory.OST_StructuralColumns, GCColumnInPlace.IsColumnInPlace, GCColumnInPlace.CreateGCColumnInPlace)); }
public static IEnumerable <GCColumnSlanted> CollectAllSlantedColumns(GCRevitDocument doc) { return(GCElementCollector.CollectAllElementsOfCategory <GCColumnSlanted>(doc, BuiltInCategory.OST_StructuralColumns, GCColumnSlanted.IsColumnSlanted, GCColumnSlanted.CreateGCColumnSlanted)); }
public static IEnumerable <GCGridMulti> CollectAllMultiGrids(GCRevitDocument doc) { return(GCElementCollector.CollectAllElementsOfCategory <GCGridMulti>(doc, BuiltInCategory.OST_Grids, GCGridMulti.IsGridMulti, GCGridMulti.CreateGCGridMulti)); }
public static IEnumerable <AGCColumnCurveDriven> CollectAllCurveDrivenColumns(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.CollectAllElementsOfCategory <AGCColumnCurveDriven>(doc, BuiltInCategory.OST_StructuralColumns, 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 <GCViewDrafting> CollectAllDraftingViews(GCRevitDocument doc) { return(GCElementCollector.CollectAllElementsOfCategory <GCViewDrafting>(doc, BuiltInCategory.OST_Views, GCViewDrafting.IsViewDrafting, GCViewDrafting.CreateGCViewDrafting)); }
public static IEnumerable <GCViewDrafting> CollectSelectedDraftingViews(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCViewDrafting>(doc, GCViewDrafting.IsViewDrafting, GCViewDrafting.CreateGCViewDrafting)); }
public static IEnumerable <GCFrameBrace> CollectAllBraceFraming(GCRevitDocument doc) { return(GCElementCollector.CollectAllElementsOfCategory <GCFrameBrace>(doc, BuiltInCategory.OST_StructuralFraming, GCFrameBrace.IsBrace, GCFrameBrace.CreateGCFrameBrace)); }
public static IEnumerable <GCFrameBrace> CollectSelectedBraceFraming(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCFrameBrace>(doc, GCFrameBrace.IsBrace, GCFrameBrace.CreateGCFrameBrace)); }
public static IEnumerable <GCFrameBeam> CollectSelectedBeamFraming(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCFrameBeam>(doc, GCFrameBeam.IsBeam, GCFrameBeam.CreateGCFrameBeam)); }
public static IEnumerable <GCFrameBeam> CollectAllBeamFraming(GCRevitDocument doc) { return(GCElementCollector.CollectAllElementsOfCategory <GCFrameBeam>(doc, BuiltInCategory.OST_StructuralFraming, GCFrameBeam.IsBeam, GCFrameBeam.CreateGCFrameBeam)); }
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 <GCFoundationFloor> CollectSelectedFoundationFloors(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCFoundationFloor>(doc, GCFoundationFloor.IsFoundationFloor, GCFoundationFloor.CreateGCFoundationFloor)); }
public static IEnumerable <GCViewLegend> CollectAllLegendViews(GCRevitDocument doc) { return(GCElementCollector.CollectAllElementsOfCategory <GCViewLegend>(doc, BuiltInCategory.OST_Views, GCViewLegend.IsViewLegend, GCViewLegend.CreateGCViewLegend)); }
public static IEnumerable <GCFoundationInstance> CollectAllFoundationInstance(GCRevitDocument doc) { return(GCElementCollector.CollectAllElementsOfCategory <GCFoundationInstance>(doc, BuiltInCategory.OST_StructuralFoundation, GCFoundationInstance.IsFoundationInstance, GCFoundationInstance.CreateGCFoundationInstance)); }
public static IEnumerable <GCViewLegend> CollectSelectedLegendViews(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCViewLegend>(doc, GCViewLegend.IsViewLegend, GCViewLegend.CreateGCViewLegend)); }
public static IEnumerable <GCLevel> CollectAllLevels(GCRevitDocument doc) { return(GCElementCollector.CollectAllElementsOfCategory <GCLevel>(doc, BuiltInCategory.OST_Levels, GCLevel.IsLevel, GCLevel.CreateGCLevel)); }
public static IEnumerable <GCViewLive> CollectAllLiveViews(GCRevitDocument doc) { return(GCElementCollector.CollectAllElementsOfCategory <GCViewLive>(doc, BuiltInCategory.OST_Views, GCViewLive.IsViewLive, GCViewLive.CreateGCViewLive)); }
public static IEnumerable <GCGrid> CollectSelectedGrids(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCGrid>(doc, GCGrid.IsGrid, GCGrid.CreateGCGrid)); }
public static IEnumerable <GCViewLive> CollectSelectedLiveViews(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCViewLive>(doc, GCViewLive.IsViewLive, GCViewLive.CreateGCViewLive)); }
public static IEnumerable <GCGridMulti> CollectSelectedMultiGrids(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCGridMulti>(doc, GCGridMulti.IsGridMulti, GCGridMulti.CreateGCGridMulti)); }
public static IEnumerable <GCViewSheet> CollectAllSheetViews(GCRevitDocument doc) { return(GCElementCollector.CollectAllElementsOfCategory <GCViewSheet>(doc, BuiltInCategory.OST_Views, GCViewSheet.IsViewSheet, GCViewSheet.CreateGCViewSheet)); }
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 <GCViewSheet> CollectSelectedSheetViews(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCViewSheet>(doc, GCViewSheet.IsViewSheet, GCViewSheet.CreateGCViewSheet)); }
public static IEnumerable <GCColumnInPlace> CollectSelectedInPlaceColumns(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCColumnInPlace>(doc, GCColumnInPlace.IsColumnInPlace, GCColumnInPlace.CreateGCColumnInPlace)); }
public static IEnumerable <GCFoundationFloor> CollectAllFoundationFloors(GCRevitDocument doc) { return(GCElementCollector.CollectAllElementsOfCategory <GCFoundationFloor>(doc, BuiltInCategory.OST_StructuralFoundation, GCFoundationFloor.IsFoundationFloor, GCFoundationFloor.CreateGCFoundationFloor)); }
public static IEnumerable <GCColumnSlanted> CollectSelectedSlantedColumns(GCRevitDocument doc) { return(GCElementCollector.CollectSelectedElements <GCColumnSlanted>(doc, GCColumnSlanted.IsColumnSlanted, GCColumnSlanted.CreateGCColumnSlanted)); }
public static IEnumerable <GCMass> CollectAllLevels(GCRevitDocument doc) { return(GCElementCollector.CollectAllElementsOfCategory <GCMass>(doc, BuiltInCategory.OST_Mass, GCMass.IsMass, GCMass.CreateGCMass)); }