> For the complete documentation index, see [llms.txt](https://groundhoglighting.gitbook.io/groundhog-bible/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://groundhoglighting.gitbook.io/groundhog-bible/tutorials-and-learning/grouping-windows.md).

# Grouping Windows

*THIS TUTORIAL HAS NO BEEN REVISED IN A WHILE, SO IT MIGHT NOT WORK WELL*

When performing annual daylighting simulations, it might be very useful and efficient to group windows and treat them as if they were only one. This is a feature that was planned from the beginning of Groundhog development and is now a reality.

This can be easily done by right-clicking two or more selected windows. Groundhog will ask for a name for the group (i.e. 'Kitchen south-facing windows' or 'First floor east windows'), which will be lately used for naming the files when exporting in "Groundhog distribution". Windows without groups will be exported in files using their names (assigned by right-click --> assign name). It a window does not have a group or a name, it will be exported by assigning a generic name. This is not recommended, since it is difficult to recognize different windows by the content of the .rad file.

There is a button in the Groundhog Toolbar that allows seeing the groups. This button assigns random colors to each group, and is deactivated like any other tool (i.e. by pressing the space-bar). When deactivated, everything goes back to normal and the previous materials are assigned.


---

# 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://groundhoglighting.gitbook.io/groundhog-bible/tutorials-and-learning/grouping-windows.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.
