# Skylights by Ratio

![](/files/-MihnzW_p_lSX0RrEhpr)

![](/files/-MihnzWa4Ic3HtHsXmus) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-core/blob/master/honeybee_grasshopper_core/src//HB%20Skylights%20by%20Ratio.py)

Add skylight apertures to a Honeybee Face or Room given a ratio of aperture area to face area.

Note that this component will only add Apertures to Faces that are Roofs and have an Outdoors boundary condition.

## Inputs

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

  A list of honeybee Rooms or Faces to which skylight Apertures will be added based on the inputs.&#x20;
* **ratio \[Required]**

  A number between 0 and 1 for the ratio between the area of the apertures and the area of the parent face.&#x20;
* **x\_dim**

  The x dimension of the grid cells as a number. (Default: 3 meters)&#x20;
* **y\_dim**

  The y dimension of the grid cells as a number. Default is None, which will assume the same cell dimension for y as is set for x.&#x20;
* **operable**

  An optional boolean to note whether the generated Apertures can be opened for ventilation. Default: False.&#x20;

## Outputs

* **report**

  Reports, errors, warnings, etc.&#x20;
* **hb\_objs**

  The input Honeybee Face or Room with skylight Apertures generated from the input parameters.&#x20;


---

# 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/honeybee-primer/components/0_create/skylights_by_ratio.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.
