AutoCAD Self-paced Learning Modules ®
AutoCAD 2D Module 5 Layers Learning Outcomes: When you have completed this module, you wil l be able to:
1. Describe AutoCAD's layering system and apply the LAYER command to create, toggle on/off, thaw/freeze, lock/unlock, select color, and set the current layer for the active drawing.
Geometry Lesson Points and Lines A point is defined as a single XY coordinate. It does not have width, height or depth. depth. A line is the shortest distance distance between two XY locations. Lines can be horizontal horizontal,, vertical or inclined . Lines that are the same same distance apart apart are called parallel lines. Perpendicular lines are at right right angles to each other or 90 degrees apart. See Figure 5-1.
Figure 5-1
Points and Lines
Layers
The CAD Guys Ltd. Copyright © 1993 - 2007
Module 5
5-2
AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-11
Layers AutoCAD's layering system is one of the most important features to the AutoCAD Operator. Layers allow you to organize, segregate, control the visibility, and manage plotting of the drawing. Think of layering as being able to draw on transparent overlays with each overlay containing relevant or grouped objects, see Figure 5-2. When all of the overlays are stacked together, see Figure 5-3, you can see and work with all of them. At any time during the drawing Figure 5-2 process, you Layers Seen as Overlays can turn off, freeze, or lock layers. This allows you to control the drawing drawing and plotting process of the drawing. There is no limit to the number of layers you can create in each AutoCAD drawing. As you create them, you can give Stacked Layers them a name or allow AutoCAD to automatically name them. You can also assign a color, linetype, lineweight, and plot style to each one. In this module, we will will only be discussing naming and assigning assigning the color. Figure 5-3
In addition to the items just mentioned, you can also control the visibility of each layer by toggling layers off and on or freezing/thawing them. You can also lock or unlock unlock a layer to prevent them from being edited.
AutoCAD's Special Layer AutoCAD has a special layer named 0 (the number number zero). Each new drawing created in AutoCAD will automatically automatically contain this layer. It cannot be deleted or renamed. Layer 0 will be discussed further in future modules.
The Current Layer The current layer is the layer that AutoCAD will place place all newly created objects. One layer must be current at all times. times. The current layer can be turned off but never frozen. You can change the current layer at any time.
ByLayer AutoCAD assigns the color, linetype, and lineweight properties to objects either ByLayer or ByObject. In the modules, we w will ill keep things simple to start start with so we will work ByLayer ByLayer in all lab exercises unless you you are instructed differently. An easy way to check to see ifif you are working ByLayer is to look at the Properties toolbar as shown in Figure 5-4. Layers
The CAD Guys Ltd. Copyright © 1993 - 2007
Module 5
AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-11
5-3
2004-2008
2000-2002 Figure 5-4
Properties Tool Bar Showing all of them set to ByLayer The three left boxes should always display the words ByLayer as shown in Figure 5-4. Simply, ByLayer means that when an object is inserted into the drawing or an existing object is regenerated, it looks in the drawing’s data base to see what color, linetype and lineweight it should display. If it is set to ByLayer, it will then check what layer it is located on and displays the color, linetype and lineweight assigned to that layer. Most companies companies require their drawings to be drawn using a layering scheme.
AutoCAD Command:
LAYER
The LAYER command is used to open the Layer Property Manager dialogue box.
Shortcut: LA
2004-2008
2000-2002
On/Off:
Toggles the objects objects on the layer on or off. In other words, words, visible or not visible.
Freeze/Thaw:
Toggles the layer to be frozen or thawed. thawed. The objects on a frozen layer are not visible and do not regenerate. regenerate. The objects on a thawed layer layer are visible and will regenerate.
Lock/Unlock :
Toggles the layer locked or unlocked. Objects on a locked layer layer are visible but cannot be edited or deleted.
Color:
Layers
Sets the color for the layer. All objects on the layer with the property property ByLayer, will be display the color assigned to the layer.
The CAD Guys Ltd. Copyright © 1993 - 2007
Module 5
5 -4
AutoCAD Se Self-paced Learni ng ng Mo Modules - AutoCAD 2D 2D - Re Revised 20 2007-04-11
The current layer is the layer that any newly inserted object will reside reside on. It is important to always be aware of what the current layer is before inserting objects.
Using the LAYER Command in 2005-2008 For AutoCAD 2005-2008 2005-2008 users only. If you are using 2000-2004, skip to page 5-7) Workalong and complete the steps below. Using the NEW command, start a new drawing using the template Module Template A. Step 1
Save and name the drawing AutoCAD 2D Workalong 05-1 and save it in the folder: CAD Courses/AutoCAD 2D/Lab Exercises Step 2
Enter the LAYER command. You can do this by clicking the icon shown in Figure Step 3A. This will open the Layer Properties Manager dialogue box as shown in Figure Step 3B. Step 3
Figure Step 3A
Figure Step 3B
Take note of layer 0 (zero). It is automatically automatically created in all new drawings and cannot be deleted or renamed. The other two layers are part of the template drawing. drawing. Ignore them for now. The Current Layer is 0. Step 4
Click the New Layer icon, Figure Step 5A, and AutoCAD will create a new layer. It will automatically automatically name the layer Layer1 as you can see in Figure Step 5B. Step 5
Step 5A
...continued on page 5-5
Layers
The CAD Guys Ltd. Copyright © 1993 - 2007
Module 5
AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-11
5-5
Using the LAYER Command in 2005-2008 - continued
Figure Step 5B
Step 6
Rename the layer to Object as shown in Figure
Step 6. Figure Step 6
Figure Step 7A
Set the color for the Object layer by clicking the color name, white in this example, as shown in Figure Step 7A. This will open the Select Color dialogue dialogue box as in Figure Step 7B. Select the color by clicking clicking it or enter the name name in the Color box. In this example, it is red. Then click OK. Step 7
...continued on page 5-6
Layers
Figure Step 7B
The CAD Guys Ltd. Copyright © 1993 - 2007
Module 5
5 -6
AutoCAD Se Self-paced Learni ng ng Mo Modules - AutoCAD 2D 2D - Re Revised 20 2007-04-11
Using the LAYER Command in 2005-2008 - continued Click layer Object to highlight it and then click Set Current icon as shown in Figure Step 8A. Step 8
The Green Checkmark icon will display under Status indicating that the current layer is Object as you can see in Figure Step 8C.
Figure Step 8A Figure Step 8B
Figure Step 8C
Change the on/off, thaw/frozen and lock/unlock properties of the layers as shown in Figure Step 9. The icons will toggle as you click them. Step 9
Figure Step 9 Step 10 Click OK to end the command command and close the dialogue box. Skip to page 5-9.
..continued on page 5-9
2005-2008 Unless otherwise instructed while working in the AutoCAD Modules, select the colors from the Standard Color Palette as shown to the right. The colors included in this palette are the common colors and are named. The colors from the chart above it are numbered colors and should not be used unless instructed to do so in a lab exercise. White and black are the same same color to AutoCAD. AutoCAD. White will display black on a white background and black will display white on a black background.
Layers
The CAD Guys Ltd. Copyright © 1993 - 2007
Module 5
AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-11
5-7
Using the LAYER Command in 2000-2004 For AutoCAD 2000-2004 2000-2004 users only. If you are using 2005-2008, skip to page 5-9) Workalong and complete the steps below. Using the NEW command, start a new drawing using the template Module Template A. Step 1
Name the drawing AutoCAD 2D Workalong 05-1 and unless otherwise instructed, save it in the folder: CAD Courses/AutoCAD 2D/Lab Exercises Step 2
Figure Step 3A
Enter the LAYER command. You can do this by clicking the icon shown in Figure Figure Step 3A. This will open the Layer Properties Properties Manager dialogue box as shown in Figure Step 3B. Step 3
Figure Step 3B
Take note of layer 0 (zero). (zero). It is automatically created created in all new drawings and cannot be deleted or renamed. The other two layers are part of the template drawing. drawing. Ignore them for now. The Current Layer is 0. Step 4
Figure Step 5A
Click the New button, Figure Step 5A, and AutoCAD will create a new layer. It will will automatically name the layer Layer1 as you can see in Figure Step 5B Step 5
Figure Step 5B Step 6 Rename the layer to Object as shown in the figure on the right.
Figure Step 6
Layers
...continued on page 5-8
The CAD Guys Ltd. Copyright © 1993 - 2007
Module 5
5 -8
AutoCAD Se Self-paced Learni ng ng Mo Modules - AutoCAD 2D 2D - Re Revised 20 2007-04-11
Using the LAYER Command in 2000-2004 - continued Step 7 To set the color for the layer, click the color name. In this example, white. This will open the Select Color dialogue box as in Figure Step 7. Select the color by clicking it or enter the name in the col or box as shown in Figure Step 7 where where it is red. Then click OK.
Figure Step 8A
Click layer Object to highlight it and then click the Current button as shown in Figure Step 8A.. Take note that layer Object is now the current layer as shown in Figure Step 8B. Step 8
Figure Step 7
Change the properties of the layers as shown in Figure Step 9. The icons will toggle toggle as you click them. Step 9
Figure Step 8B
Step 10 Click OK to end the command
and close the dialogue box.
Figure Step 9
.. continued on page 5-9
2000-2004 Unless otherwise instructed while working in the AutoCAD Modules, select the colors from the Standard Color Palette as shown on on the right. The colors included in this palette are the common common colors and are named. The colors from the chart below it are numbered colors and should not be used unless instructed to do so in a lab exercise. White and black are the same color to AutoCAD. White will display black on a white background and black will display white on a black background.
Layers
The CAD Guys Ltd. Copyright © 1993 - 2007
Module 5
AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-11
5-9
Using the LAYER Command - continued Step 11 Once you have created your
layers, you can use the Layer toolbar menu to change the current layer or toggle the layer properties. properties. See Figure Step 11. This is much much faster then using the Layer Properties Manager dialogue box. This toolbar should always be enabled and located across the top of the graphic screen. Take note how the current layer will display. In this case it is Object as shown in Figure Step 11.
Figure Step 11
Figure Step 12A
Step 12 Pull down the layer list by
clicking the small triangle on the right r ight side as shown in Figure Step 12A. Change the current current layer to 0. You can do that by clicking the layer name as shown in Figure Step 12A. Figure Step 12B now displays the current layer 0.
Figure Figure Step 12B
Step 13 Pull down the layer list again
Figure Step 13
and this time toggle the layer properties so that all four layer are on, thawed and unlocked as shown in Figure Step 13.
Figure Step 14
Step 14 Change the current layer to Object as shown in Figure Step 14. Step 15 Save and close the drawing. AutoCAD 2000-2004 2000-2004 and 2005-2008 have a slightly different look as you can see below. Also take
note how in 2005-2008 the layer list is located in the Layers toolbar and in 2000-2004 it is located in the Object Properties toolbar menu.
2000-2004
2005-2008
AutoCAD has a special layer named 0 (the number zero). Each new drawing created in AutoCAD will automatically contain layer 0. It cannot be deleted or renamed. renamed. It has other special special attributes as you will see in future modules.
Layers
The CAD Guys Ltd. Copyright © 1993 - 2007
Module 5
5 - 10
AutoCAD Self-p lf-pa aced Learning ing Modules - Au AutoCAD 2D - Revise ised 2007-04-11
It is important to know the different between a layer that is Of f and a layer that is Frozen. A layer that is Off, does NOT display but WILL regenerate. A frozen layer does NOT NOT display and will will NOT regenerate. This is important as you will learn as you work your way through the modules.
To quickly set the current layer in the Layer Property Managers dialogue box, double click the Status icon icon beside the layer name as shown in the figures right. This works in AutoCAD 2005-2008 only.
AutoCAD does not know the difference between the colors black and white. On a black background, black will display white and on a white background, white will display black.
In Module 3, you were shown how to insert a key onto your drawing to check it for accuracy. The key resides on the layer Key. If you are required to work on your drawing after you inserted the key, toggle layer Key Off. To re-check your drawing drawing after you finish the editing, toggle toggle layer Key On as shown in the figures below.
Key On
Key Off
The Key Principles in Module 5 1. AutoCAD's layering system is one of the most important features to the AutoCAD Operator. Layers allow you to organize, segregate, control control the visibility, and manage plotting of the drawing. They are use extensively in companies companies using AutoCAD. AutoCAD. 2. The current layer is the layer that any newly inserted object will reside on. 3. A layer that is is Off, does NOT display but WILL regenerate. A layer that is frozen does NOT display and will NOT regenerate. 4. AutoCAD has a special layer named named 0 (the number zero). Each new drawing created in AutoCAD will automatically contain layer 0.
Layers
The CAD Guys Ltd. Copyright © 1993 - 2007
Module 5
AutoCAD Se Self-p lf-pa aced Le Learning ing Mo Modules - AutoCAD 2D 2D - Re Revise ised 20 2007-04-11
Lab Exercise 5-1
5 - 11
Time Allowed: 30 Min. Drawing Specifications
Name
Template
Units
Text Style
Font
AutoCAD 2D Lab 05-1
Module Template A
Inches
N/A
N/A
Note: Color, Linetype, and Lineweight are all
<
ByLayer < unless otherwise instructed.
Layering Scheme Objects on Layer
Name
Color
Linetype
Lineweight
All Lines
Object
Red
Continuous
N/A
Instructions: 1. Start a new drawing using the tem plate shown above. 2. Save and nam e the drawing with the name AutoCAD 2D Lab 05-1 in the folder: CAD Courses/AutoCAD 2D/Lab Exercises 3. Setup the layers using the Layering Scheme shown above. 4. Draw the object shown shown below using the layering scheme above. In this drawing, all the lines should be on layer Object and display red. 5. Check your drawing drawing with the key. The key name is the same as the drawing drawing name shown above. If you have trouble doing this, redo Module Module 3. 6. If you hav e any errors, correct your drawing. 7. Turn layer Key off. 8. Save and cl ose the drawing.
Layers
The CAD Guys Ltd. Copyright © 1993 - 2007
AUTOCADSELF-PACED LEARNINGMODULES
Completed Drawing
Module 5
5 - 12
AutoCAD Self-p lf-pa aced Learning ing Modules - Au AutoCAD 2D - Revise ised 2007-04-11
Construction Hints Do your best to complete the lab exercise drawing drawing without using the following hint(s). hint(s). If you get stuck and can't complete it on your own, use the following hint(s) to help you.
Hint 1
Figure Hint 1
Layers
The CAD Guys Ltd. Copyright © 1993 - 2007
Module 5
AutoCAD Se Self-p lf-pa aced Le Learning ing Mo Modules - AutoCAD 2D 2D - Re Revise ised 20 2007-04-11
Lab Exercise 5-2
5 - 13
Time Allowed: 30 Min. Drawing Specifications
Name
Template
Units
Text Style
Font
AutoCAD 2D Lab 05-2
Module Template A4
Millimeters
N/A
N/A
Note: Color, Linetype, and Lineweight are all
<
ByLayer < unless otherwise instructed.
Layering Scheme Objects on Layer
Name
Color
Linetype
Lineweight
All Lines
Object
Red
Continuous
Default
Instructions: 1. Start a new drawing using the tem plate shown above. 2. Save and nam e the drawing with the name AutoCAD 2D Lab 05-2 in the folder: CAD Courses/AutoCAD 2D/Lab Exercises 3. Setup the layers using the Layering Scheme shown above. 4. Draw the object shown shown below using the layering scheme above. In this drawing, all the lines should be on layer Object and display red. 5. Check your drawing drawing with the key. The key name is the same as the drawing drawing name shown above. If you have trouble doing this, redo Module Module 3. 6. If you hav e any errors, correct your drawing. 7. Turn layer Key off. 8. Save and cl ose the drawing.
Layers
The CAD Guys Ltd. Copyright © 1993 - 2007
AUTOCADSELF-PACED LEARNING MODULES
Completed Drawing
Module 5
5 - 14
AutoCAD Self-p lf-pa aced Learning ing Modules - Au AutoCAD 2D - Revise ised 2007-04-11
Construction Hints Do your best to complete the lab exercise exercise drawing without using the following hints. If you get stuck and can't complete it on your own, use the following hint(s) to help you.
Hint 1
Figure Hint 1
Layers
The CAD Guys Ltd. Copyright © 1993 - 2007
Module 5