# Custom Ground

![](/files/-MihnwqlRbBjGmgK4Gml)

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

Set the boundary conditions of Rooms to be Ground vs. Outdoors using a surface or polysurface that represents the ground.

Room faces that are coplanar with the ground surface or have a center below it will get a Ground boundary condition. Existing Faces with a Surface/Adiabatic condition, AirBoundary type, or assigned Apertures/Doors will be unaffected.

Note that this component will not intersect the Faces with the ground surface and this is intersection should be done prior to the creation of the Honeybee Rooms.

### Inputs

* **rooms \[Required]**

Honeybee Rooms which will have their Face boundary conditions set based on their spatial relation to the \_ground geometry below.

* **ground \[Required]**

Rhino Breps or Meshes that represent the Ground.

* **reset**

A Boolean to note whether the \_ground geometry simply adds additional ground boundary conditions to the \_rooms (False) or it resets all existing ground boundary conditions to only exist at or below the \_ground geometry (True). (Default: False).

### Outputs

* **rooms**

The input Rooms with their Ground boundary conditions set.


---

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