# Partial Drawings

In the combination element, sub-drawings can be inserted. These are sub-drawings that were created in the plan program with the function '1-5-4 sub-drawing' or in the structure (model areas 1 to 8) with the function '1-5-4 sub-drawing'.

When inserting the sub-drawing, the manual insertion is replaced by an automatic process:

* A saved sub-drawing is located in a coordinate system. Its position in this coordinate system corresponds to its position relative to the current coordinate system at the time the sub-drawing was saved.
* When the sub-drawing is inserted, it is first placed exactly with its coordinate system into the current insertion coordinate system (or projected insertion coordinate system).
* The sub-drawing is then shifted with its coordinate system according to the translations in the X, Y, and Z directions.
* Finally, the sub-drawing is rotated in the drawing plane around the origin of its shifted coordinate system.
* The translations and rotation offered depend on the situation, in particular on the type of combination element and into which building element the sub-drawing is to be inserted.
* A further description of the process can be found in the chapter: Translation and projections of insertion coordinate systems.

When a sub-drawing is created, it is automatically assigned a number: 1, 2, etc.

* The number is displayed on the left in the tree element of the composite element.
* A preview of the sub-drawing is displayed on the right in the preview image.
* A description can be entered on the right below the auxiliary image. This serves for documentation purposes. The first part of the description is also displayed on the left in the tree element of the combination element. This makes it possible to identify the sub-drawing much faster in the tree element.

Sub-drawing:

* Any sub-drawings can be selected. To ensure that the combination element can be used in other installations, the sub-drawings should be located in the same subdirectory as the combination element. See also chapter 'Combination elements: Structure, file structure'.
  * From version 13.01, sub-drawings can also be inserted as variables. Variables with the unit Text or Enum as well as intermediate values with the unit Text can be used. Sub-drawings that are handled in the same way and with the same long/short changes can thus be managed via a single entry. The decision regarding the library element is then usually made in the intermediate values.

'insert in composite element' and conditions:

* Here, the conditions under which the sub-drawing is to be inserted can be defined. Further information can be found in the chapter 'Conditions'.

Insert into:

* The sub-drawing is inserted into the drawing area of the specified building element.

X, Y, Z translation, base angle:

* These are the translations and rotations used according to the procedure described above.

List with long/short information: When saving a sub-drawing, long/short information can be used to define points at which the sub-drawing can be extended or shortened during insertion.

* No. and long/short are used to describe the length change, e.g. the direction in which the length change occurs.
* Actual length shows the actual length of the sub-drawing in its original state. It is measured in the direction of the length change at the maximum extent of all components of the library element. Only lines, circles, etc. are taken into account; dimensions or labels are not.
* Target length: Here, the desired length in this direction is entered directly or via a formula. The sub-drawing is extended or shortened by the difference between target length and actual length at the corresponding location.

Distributions in sub-drawings

Repetitions can be defined in the coordinates of the position points (X, Y, Z translation) of sub-drawings:

* Each coordinate receives an entry in the form (**start value\~increment\~count**). Count 1 means that no increment is performed, so only one object is created at the start value.
* If repetitions are defined, they must be described in X and Y or in X and Z.

> **X(1.0\~0.1\~5)Y(0.0\~0.0\~1)** Row along X with 5 elements, starting at 1.0 with increment 0.1
>
> **X(1.0\~0.1\~5)Z(0.0\~0.2\~4)** Row along X with 5 elements, starting at 1.0 with a step size of 0.1, this row repeated 4 times along Z with spacing 0.2.

* With these repetitions, rows or grids of sub-drawings can be generated in a single step.


---

# 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/create-edit-combined-elements/partial-drawings.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.
