# Add Subface

![](/files/-MihnsS2wqtHDJiGYd_q)

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

Add a Honeybee Aperture or Door to a parent Face or Room.

### Inputs

* **hb\_obj \[Required]**

A Honeybee Face or a Room to which the \_sub\_faces should be added. This can also be an entire Honeybee Model in which case Apertures will be added to all FAces of the Model (including both Room Faces and orphaned Faces).

* **sub\_faces \[Required]**

A list of Honeybee Apertures and/or Doors that will be added to the input \_hb\_obj.

* **project\_dist**

An optional number to be used to project the Aperture/Door geometry onto parent Faces. If specified, then Apertures within this distance of the parent Face will be projected and added. Otherwise, Apertures/Doors will only be added if they are coplanar and fully bounded by a parent Face.

### Outputs

* **report**

Reports, errors, warnings, etc.

* **hb\_obj**

The input Honeybee Face or a Room with the input \_sub\_faces added to it.

* **unmatched**

A list of any Apertures or Doors that could not be matched and assigned to a parent Face.


---

# 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/add_subface.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.
