--- title: "Assigning an Image to a Layer, Locking it in Place and Re-Scaling an Image" slug: "assigning-an-image-to-a-layer-locking-it-in-place-and-re-scaling-an-image" updated: 2023-07-31T13:34:39Z published: 2023-07-31T13:34:39Z canonical: "docs.avontus.com/assigning-an-image-to-a-layer-locking-it-in-place-and-re-scaling-an-image" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.avontus.com/llms.txt > Use this file to discover all available pages before exploring further. # Assigning an Image to a Layer, Locking it in Place and Re-Scaling an Image To prevent the accidental moving or editing of a drawing or plan in Avontus Designer, you can lock it by assigning it to a layer. ## Assigning an Image to a Layer Avontus Designer enables you to assign a layer to a drawing layer, which groups with other elements on that layer. Once assigned, the image can only be changed if that layer is active. If it is not, the image cannot be moved or edited. To assign an image or drawing to a layer: 1. Click the **Drawing** tab and then click **Layers** and select **Assign to Layer** from the menu that appears. ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/799c2455-3663-424a-9e4d-33238c7be37f.png) The *Layer Properties* dialog appears. 2. Click **New**. ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/4c044fa3-0a9d-460d-89d9-349ceb533a65.png) The *New Layer* dialog appears. 3. Click in the **Layer Name** text field, enter the name of the layer. 4. Click **OK** ****![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/3c2c5610-90b5-46b3-b53b-e2dba63f650c.png)**** The new layer appears in the list of layers in the *Layer Properties* dialog, with the new layer automatically selected ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/40106fb4-106e-49a9-8a83-131a22ddef35.png) 5. Click **OK**. ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/85cbe461-5bba-4836-9d3e-9ba07969be97.png) ## Locking an Image into Place With the image or drawing assigned to the appropriate Layer, you can now go back into *Layer Properties* dialog and lock the layer. To lock a drawing or plan into place: 1. Click the **Layers** dropdown and select **Layer Properties**. ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/af606e40-e5c7-4a8a-88bd-16ba7e9a6bdd.png) The *Layer Properties* dialog appears. 2. To enable/disable options, click the **Lock** checkbox in the **Drawing** row. 3. Click **OK**. ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/cc7b360b-0851-449e-b5d1-49f917aa2469.png) All of the images/drawing assigned to the layer are now locked and cannot be edited. If the image must be edited after this, the Lock checkbox must be unchecked in the *Layer Properties* dialog. ## Re-Scaling an Image Occasionally, you will need to re-scale an image to work with a drawing. Avontus Designer makes that process quick and easy. To re-scale an image: 1. Click  the image to select it, then click the **Drawing** tab. 2. Click the **Edit Image** dropdown and select **Edit Image.** **![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/999da12e-be31-4af2-9edc-3cae4b1a1b8d.png)** The *Image Edit* dialog appears. 3. Click **Select Reference Points**. ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/ef83b8e0-a3c9-4c5f-ab89-4ee7204a04c5.png) Avontus Designer hides the *Image Edit* dialog and exposes the image, enabling you to draw a line. 4. Select a line or a wall on the drawing with a known dimension, click one end of the line and drag the tool all the way to the end of that line. ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/ffbb83ca-a359-4aad-a23e-58a145c804b1.png) When you release the mouse button the Image *Edit dialog* returns. The length of the line you drew appears under the **Reference Distance** text field. 5. Click in the **Target Distance** and enter the length you want that line to be, ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/8389aee3-f00b-49af-af61-aecde719fcc3.png) 6. Click **Apply Transformation** ****![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/1091af8a-684f-4bf1-9ab2-4c9a74225ea6.png)**** Avontus Designer re-scales the whole image based on the information you entered. 7. Click **Close** when ready. ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/ffc13321-f398-45be-9f34-ff579216987a.png)