# Recalculate Combined Elements

Combined elements can be recalculated: generally by calling function 7-9-1, for doors with 4-5, and for windows and niches with 4-04.

### Recalculation not possible, missing components

(22.01) If it is not possible to modify or execute the combined element due to missing libraries, partial drawings, or point symbols, a message is displayed. In this dialog, the first missing file is now also shown. This makes it possible to add the missing files step by step if necessary.

### Missing text and dimensioning styles

(24.02) Combined elements enable the creation of dimensions, texts, and labels. When applying a combined element, the originally intended dimensioning and text styles are required. If these were not found in the current building or in the saved settings, a warning message was previously issued and the affected elements could not be created. This procedure has now been revised.

If a combined element contains partial drawings, these are also checked for missing text and dimensioning styles. If the required style is found in a partial drawing of the combined element, it is taken from there. This has significantly expanded the search range for missing text and dimensioning styles.

If dimensioning and/or text styles are still missing after this extended search, a dialog window offers the option of selecting a replacement style. This replacement style is then used as a substitute for all missing styles. It is important to note that the selection of the replacement style is not stored in the inserted combined element. If the combined element is later recalculated or modified, a replacement style must be selected again.

If you now receive a combined element from a colleague or partner company for testing or trial use, for example, it can be inserted quickly and easily without the need to create or replace text and dimensioning styles. For permanent use, however, it is recommended to add the missing text and dimensioning styles in your own settings.

### Reload and recalculate combined elements

(22.01) Many combined elements have already been entered in projects; especially in windows, but also in any other form. One or more of these combined elements have been modified. To use the new version of the combined elements, the combined elements in the windows (doors and niches) now had to be reselected. For other types of combined elements, the already inserted combined element had to be removed and the modified one re-entered completely. With function 7-9-8 *Reload and recalculate combined elements* any number of already inserted combined elements can now be selected directly. The associated modified combined element is reloaded, while input values of variables, selected points and components, etc. are retained. The newly loaded combined element is then recalculated.

The prerequisites are:

* The combined element is still located in the same directory. The system directory %DHPKOL% may be changed; the underlying directories are what matters.
* The file name of the combined element file and the name of the combined element must still match exactly.
  * For combined elements supplied by Dietrichs, note that directory names, file names, and combined element names are partially translated. Internally, not the plain text but the language-neutral identifier is stored, e.g. #203 for "*window*".
* The type of the combined element must match: a combined element for insertion in the plan view can only be replaced with one of the same type.
* Variables are handled as follows:
  * the value of already existing variables is retained
  * newly added variables receive the default value
  * variables that no longer exist are simply removed.
* The number of query points and the number of query bodies must match exactly.
* The point symbols and libraries used in the modified combined element must also be available.

If the prerequisites are not met:

* the existing combined element remains unchanged
* A corresponding message is displayed, describing the reason.
* The message displays the directory, file names, and combined element name both in plain text and in internal form with language-neutral identifiers. This makes it easy to locate the file with Explorer or Total Commander.

This function saves a great deal of input work for modified combined elements. Errors and loss of information caused by re-entry are avoided. The function also provides very good support for the development of combined elements: often, the changes made can be checked without having to re-enter the combined element.


---

# 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.dietrichs.com/dietrichs-intelligent-documentation/docs-de-en/combined-elements/recalculate-combined-elements.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.
