Openings
Querying Openings
| 
                
 In Revit API, Openings of all types are represented by the DB.Opening  | 
        
You can use the combination of the Openings component shared here, passed to 
    
Category Filter
 and 
    
Query Elements
 components to collect the openings in a model:

    
    Openings
Place under Grasshopper User Objects folder. Find in  Revit > Custom  panel
Analyzing Openings
Wall Openings
Use the Analyse Wall Opening component shared here to extract information about the wall opening element:

Output parameters are:
- HE: Host Element
 - BC: Base Constraint Level
 - BCO: Base Offset
 - TC: Top Constraint Level
 - TCO: Top Offset
 - H: Height
 - P1: Rectangle Point 1
 - P2: Rectangle Point 2
 
    
    Analyse Wall Opening
Place under Grasshopper User Objects folder. Find in  Revit > Custom  panel
Shafts
Use the Analyse Shaft component shared here to extract information about the shaft element:

Output parameters are:
- HE: Host Element
 - C: Boundary Curves
 - BC: Base Constraint Level
 - BCO: Base Offset
 - TC: Top Constraint Level
 - TCO: Top Offset
 - H: Height
 
    
    Analyse Shaft
Place under Grasshopper User Objects folder. Find in  Revit > Custom  panel
Openings By Face
Use the Analyse Opening component shared here to extract information about the opening elements that are created by face on a host component e.g. Ceilings Openings, Roof Openings, Floor Openings, etc.

Output parameters are:
- HE: Host Element
 - C: Boundary Curves
 
    
    Analyse Opening
Place under Grasshopper User Objects folder. Find in  Revit > Custom  panel
Creating Wall Openings
Creating Shafts
Use the Create Shaft component shared here to create a shaft element from boundary curves and is bounded by two levels:

    
    Create Shaft
Place under Grasshopper User Objects folder. Find in  Revit > Custom  panel