# Apply Window Construction

![](/files/-MihpfNAIDZwWyzzWPGc)

![](/files/-Mihpes4B3dabWzl4Mlb) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-energy/blob/master/honeybee_grasshopper_energy/src//HB%20Apply%20Window%20Construction.py)

Apply WindowConstruction or WindowConstructionShade to Honeybee Apertures or glass Doors. Alternatively, it can assign WindowConstructions to the child apertures of input Faces or the apertures within Room walls.

This component supports the assigning of different constructions based on cardinal orientation, provided that a list of WindowConstructions are input to the \_constr.

### Inputs

* **hb\_objs \[Required]**

Honeybee Apertures, Faces, Doors, Rooms or a Model to which the input \_constr should be assigned. For the case of a Room or a Model, the construction will only be applied to the apertures in the the Room's outdoor walls. Note that, if you need to assign a construction to all the skylights, glass doors, etc. of a Room, the best practice is to create a ConstructionSet and assing that to the Room.

* **constr \[Required]**

A Honeybee WindowConstruction or WindowConstructionShade to be applied to the input \_hb\_objs. This can also be text for a construction to be looked up in the window construction library. If an array of text or construction objects are input here, different constructions will be assigned based on cardinal direction, starting with north and moving clockwise.

### Outputs

* **hb\_objs**

The input honeybee objects with their constructions edited.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ladybug.tools/hb-energy-primer/components/1_constructions/apply_window_construction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
