> For the complete documentation index, see [llms.txt](https://docs.dietrichs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dietrichs.com/dietrichs-intelligent-documentation/docs-de-en/holzrahmenbau-kompendium/prinzipien-des-hrb-systems/offsets-fur-lagen-und-bauteile/lagenbezug-fur-obere-anschlusse.md).

# Layer Reference for Upper Connections

At the upper connections to roof surfaces, vertical and right-angled distances for each layer could already be entered. This determined the extent of each layer independently of the roof pitch. If a layer was to refer to another layer, the displacement resulting from the roof pitch had to be calculated in formulas; this could only be done for a specified roof pitch (preset values). Since version 19.01, layers can refer to other layers. This ensures that distances between layer edges are automatically maintained for the actual roof pitch without the roof pitch having to be specified anywhere. Different roof pitches within a wall are also not a problem.

In the drop-down lists where previously the higher or lower layer edge could be selected, the other layers are now also available. If, for example, in layer 3 you select layer 0 here, layer 3 will first be moved to the same position as layer 0. Offsets can then additionally be used.

* For example, you can set layer 3 to always be 2 cm lower than layer 0.
* You can refer to any layer; it does not have to be the neighboring layer.
* You can also refer to layers that in turn refer to other layers. For example, layer 5 should be 4 cm lower than layer 3 and layer 3 should be 2 cm lower than layer 0.


---

# 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.dietrichs.com/dietrichs-intelligent-documentation/docs-de-en/holzrahmenbau-kompendium/prinzipien-des-hrb-systems/offsets-fur-lagen-und-bauteile/lagenbezug-fur-obere-anschlusse.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.
