> For the complete documentation index, see [llms.txt](https://docs.ladybug.tools/honeybee-primer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ladybug.tools/honeybee-primer/components/2_organize/rooms_by_floor_height.md).

# Rooms by Floor Height

![](/files/-Mihnwb_YyafUXvwgq6e)

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

Separate and group honeybee rooms with the same average floor height.

## Inputs

* **rooms \[Required]**

  A list of honeybee Rooms or honeybee Models to be separated by floor height.&#x20;
* **min\_diff**

  An optional float value to denote the minimum difference in floor heights that is considered meaningful. This can be used to ensure rooms like those representing stair landings are grouped with floors. If None, any difference in floor heights greater than the Rhino model tolerance will be considered meaningful.&#x20;

## Outputs

* **flr\_hgts**

  A list of floor heights with one floor height for each branch of the output rooms.&#x20;
* **rooms**

  A data tree of honeybee rooms with each branch of the tree representing a different floor height.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.ladybug.tools/honeybee-primer/components/2_organize/rooms_by_floor_height.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
