AutoCAD Tutorial
AutoCAD Tutorial
introduction
autocad is a computer aided design (cad) program used by just about every
engineering and design office in the world. although there are alternative cad
packages, autocad is by far the most widely used system. autodesk's autocad is the
industry leader in cad packages. used by civil engineers, architects, mechanical and
electrical engineers, aeronautical engineers plus many other disciplines.
there have been several versions of autocad over the years, with each new version
introducing new and more powerful features than its predecessor. the latest version
of autocad (at the time of writing) is autocad 2005.
accurate, scale drawings can be created and published using autocad’s powerful
features. 3d 'models' can also be created giving the designer absolute control over
the design from start to finish. the computerized model can be viewed through a
360º angle, and even 'rendered' with a texture on screen to give an idea of the
finished product.
lesson 2
opening autocad
open up autocad, you should be greeted with a screen asking if you want to open an
existing drawing or start from scratch. (dependant on your version of autocad, the
screen will be slightly different - the image shown below is for autocad 2002).
select 'create drawings', then 'start from scratch'. ensure that you select metric
(i.e. you are telling autocad that you will be drawing in meters and millimeters not
feet and inches).
toolbars
there are many toolbars available in autocad. go to view > toolbars from the drop
down menu to see them all. for now make sure that the following toolbars are
checked:
arrange the icons to where is comfortable for you (a typical layout is shown below):
1) select the line command from the draw menu (alternatively select line from
the 'draw' drop down menu).
2) autocad asks you (in the command line area) to specify a start point. simply pick
an area central to the drawing area (left click of the mouse).
3) autocad now asks for an end point. select somewhere (left click) to the top right
of the drawing area.
4) now one line is drawn. autocad keeps the line command open so that another line
can be drawn beginning exactly where the previous finished. we want to end the
command so simply right click to end (autocad 2000 users and above - right click will
open a small menu - simply choose 'enter' to end the command).
let's imagine we are looking down over a plot of land (plan view). we are going to
draw the land boundary from some measurements taken. the land measures 25m x
40m.
1) select the line command as before. this time for a start point we will specify some
co-ordinates (simply an exact point in the drawing area.)
2) we will start our drawing at a point 50m horizontal and 50m vertical from the
default ucs location of 0,0. autocad is asking for a start point, type in the command
line: 50,50 followed by hitting enter.
note - autocad's normal co-ordinate system is always relative to the ucs icon position
of 0, 0.
3) for the next point we'll draw the bottom end of the plot of land. we want a line
25m horizontal from the start point. we can specify co-ordinates from a particular
point by including the @ symbol in front of the co-ordinates. this informs autocad
that the co-ordinates we are specifying are relative to the last point specified and not
to the ucs.
to enter a 25m length horizontal line from the start point the command would be
@25,0 (i.e. go 25m along, go 0m up).
4) we now need a 40m vertical line to represent the right side of the plot of land. this
command would be @ 0, 40 (i.e. go 0m along, go 40m up).
5) now for the top of the land. we need to go back horizontally by 25m from the
current end position of the vertical 40m line. the command would be @-25, 0 (i.e.
go back 25m, go up 0m).
6) to finish off we need to draw the last line. we need to go 40m vertically down so
the command is @0,-40 (i.e. go 0m along, go 40m down).
that's it! we've just drawn a scale drawing of the plot of land from the measurements
given from a start point of 50, 50 relevant to the ucs.
tip- if your drawing is only taking up a small area of the screen, try zooming in with
the various zoom commands. to quickly view your drawing close up choose zoom
extents to see the entire drawing.
drawing - rectangle command
erase the 4 lines we just drew. we will know try a command that would have drawn
the above land layout in one simple command.
1) choose the rectangle command or select it from the draw drop down menu.
2) autocad asks for the start point. as before, we want to begin 50m horizontally and
50m vertically from the ucs, so enter 50, 50 then hit return.
3) autocad now asks for the position of the top right corner of the rectangle we are
going to draw. to draw the plot of land we need 25m along and 40m up from the
start point, so the command is @25, 40
your drawing should be identical to the one we drew before, but was a lot simpler
and quicker to draw.
have a play around with the line and rectangle commands and familiarize yourself
with how they operate.
lesson 3
zoom commands
here we'll take a quick look at the various zoom commands available, and their uses.
this tutorial requires you to download the autocad drawing file lesson3.dwg
1) load up the file, the drawing is of a steel plate with 6 mounting screws.
to see all of the available zoom commands, the zoom toolbar needs to be visible.
load in the zoom toolbar (for those who can't remember: go to the 'view' drop down
menu, then select toolbars. check the 'zoom' box then choose close. move the
toolbar to a convenient location)
zoom window : select a window over the location to zoom into. autocad will zoom
in close to the object including everything within the selection box.
zoom dynamic: enables the user to set the size of a standard zoom window type
box, then use this box to select zoom in views of the drawing with this box with
clicks of the mouse button. (not as powerful as zoom window in my opinion)
zoom scale: enables the user to zoom into the drawing to a known scale (referred
to as an 'xp value'). this type of zoom is not required until you are ready to plot the
drawing. don't worry, you're not expected to understand the use of this command
yet! it will be covered in the paperspace/layout view tutorial.
zoom centre: specify a centre point, then a radius and autocad will centre this view
to fit your screen.
zoom in: pretty simple, zooms into the drawing slightly by each click! quick 'n'
simple!
zoom all: zooms to the extents of the drawing limits. don't worry about this just yet.
zoom extent: this is a very useful command. one press will zoom to the extent of
the entire drawing enabling a very quick overview of the project and an easy starting
point to zoom into a more precise area of the drawing with one of the above tools.
2) you should have the lesson3.dwg file open in autocad. if not then open it up now.
time to try some zoom commands out.
3) press the zoom window button. autocad asks for the first corner of the box you
are about to draw. this corner can be any corner of the zoom box we will specify.
choose an area just to the top left of the left side middle screw (see below). autocad
now asks for the opposite corner, select to the bottom right of the screw ensuring the
screw is clearly inside the zoom box.
you should now have a clear view of the screw.
4) now try the zoom in and zoom out buttons. notice how they knock the zoom in
and out by a set amount each time, just comfortable enough to get a wider/closer
view where required.
5) now press the zoom extents button. this zooms back to see the entire drawing
centered in the screen.
have a play with the commands, viewing different areas of the drawing until you feel
comfortable manipulating the zoom to suit the view you require.
2) this command will zoom in and out of the drawing dependant on how far you
move your mouse. left click and hold the left mouse button down. autocad will zoom
in further into the drawing the further you move you mouse up (away from you). try
pulling the mouse down with the left button still held down, autocad will zoom out.
once mastered, zoom real-time will become your preferred method of quickly
zooming into a drawing.
3) now we'll introduce a command which quickly enables you to change the view of
the screen without altering the zoom. you probably noticed that while zooming with
any of the above commands, you sometimes wanted to view either further left, right,
up or down on the drawing. this wasn't possible with the zoom commands without
zooming out and then zooming in again showing the area you require. the pan tool
enables us to control exactly which area we are viewing.
5) while holding the left mouse button, pull the mouse to the left, right, up or down.
notice how the pan tool reflects these mouse movements on screen so we can move
around the screen effortlessly.
top tip! - combining the zoom real time and pan commands is by far the quickest
way to navigate a drawing. while either command is open, try right clicking the
mouse in the drawing area to bring up a small menu where the most common and
useful zoom commands can be quickly selected: pan, zoom (real-time), zoom
window and zoom extents. get used to right clicking to change zoom commands to
easily navigate any autocad drawing.
just one last note, but an often misunderstood concept for new autocad users.
zooming does not affect the drawing scale in any way. the dimensions of the drawing
remain the same! we are simply manipulating the view.
for example; a car viewed from a plane traveling at 10,000ft appears quite small,
when viewed from 25,000ft it appears tiny! the size of the car however has not
altered; we are simply viewing it from further away!
lesson 4
drawing limits
in the previous tutorial, drawing limits were mentioned while explaining the use of
the zoom all command. when the zoom all command is chosen, autocad zooms to
the extent of the user defined limits. limits can be thought of as the extent of the
drawing area. the autocad drawing area is, in theory, infinite. as long as you continue
to draw, autocad will continue to give you the drawing space.
if thought of in practical terms, if we were to manually pencil draw a 1:1 scale (full
size) drawing of a wrist watch, why draw it on an a0 sized sheet of paper when a4
size is adequate? autocad drawing limits follow the same logic. we can tell autocad
the drawing space we require (although we have the option to increase this if we so
desire at a later stage). autocad will display a grid to the extent of the drawing
limits specified.
3) for the start point, enter 0.2,0.2 for the next point enter @0,0.52
6) to close the box, we'll try a new technique. normally, we would now enter @-
0.37,0 to draw a horizontal line back to the start position to close the box. as we
have drawn all 3 lines keeping the line command open, there is a quicker way to
draw the box. type the letter c in the command line (the c stands for close) to draw a
line from the current location back to the start point.
your screen should be similar to the screen shown below (you may have to zoom
extents to see the entire drawing).
7) now try using the zoom all command. the drawing will be barely visible (if at all).
this is because the default limits are not set correctly for our drawing. we need to
enter new drawing limits.
8) type limits directly into autocad's command line. you will be asked to specify the
lower left co-ordinates (remember - in relation to the ucs). hit enter to accept the
default value of 0.0000, 0.0000.
9) autocad now wants us to specify the upper right limit co-ordinates. there is no
right or wrong value, but it should be set to a sensible value for the drawing size. our
drawing is only 0.52m x 0.37m. let’s enter an upper limit of say, 1m, 1m from the
ucs. enter 1, 1 into the command line and hit enter.
10) now try the zoom all command again. the view should be much closer as it is
set to the drawing limits.
some professional autocad users manage to go their whole careers without ever
altering autocad's limit setting, and quite frankly: - it's easily done! there will be
many times (especially if like me, you never use the zoom all command and grid!)
that adjusting autocad's default limit settings has no advantage.
why mention it then? well... occasionally while panning your pan icon may gain a line
next to it (dependant on the pan direction) and you can't pan any further. this is
because the limits have been reached and autocad refuses to let you see beyond
your defined drawing areas. you may then require entering the limits command and
changing the default setting.
try panning away from the drawing we just made, as soon as you hit the 1m drawing
limit we set, we can't pan any further.
just in case you were curious, the drawing is of a dvd case (520mmx370mm). if we
were to have drawn the case in millimeters instead of meters (i.e. we decide one
autocad unit shall equal 1mm instead of 1m - perfectly acceptable to do) then a
much larger upper right drawing limit would have been required, perhaps 1000,
1000.
that's about all there is to know about drawing limits!
lesson 5
polylines
polylines draw lines similar to the line command we used in lesson 2, but are a lot
more powerful. let's start by drawing the same plot of land we drew in lesson 2, but
this type using polylines. the polyline command is situated on the 'draw' toolbar.
4) try selecting any part of the area we just drew with one click of the left mouse.
the lines will become dotted to show that you have selected the polyline.
you will notice that although we entered each line end point command separately,
because we drew the area with the polyline command left open, autocad treats the
polyline as one entity regardless of the shape or direction of the lines.
see the blue squares at each corner of the drawing?, these represent each line point
specified when we drew the polyine. they are also a handy quick editing tool to
adjust the shape of our drawing. try left clicking on one of the blue squares with the
centre of your crosshair; the corner follows your mouse movements. left click to
reposition the corner where your crosshair is, or press the escape key to let go.
these blue squares are called grips.
try using the grips to dramatically alter the shape of your land layout.
(tip- to undo any changes you make, simply select undo from the edit drop down
menu as often as required)
advanced polylines - arcs
there is more to polylines than just grips, a polyline can actually be any shape or
thickness. now we'll have a play with some more interesting polyline features.
1) undo any changes you made to the rectangular land layout we drew, and zoom
extents to be left with the layout as shown above.
2) select the polyline command. notice the command line is asking for a start point;
choose somewhere central within the upper area of our plot of land.
3) autocad now asks for a next point or we can choose further drawing options:
the options are: arc, halfwidth, length,undo,width. to select which option we require,
enter the letter from the command we require that is in upper case (which is most
often, but not always, the first letter of the word).
4) we are going to draw a pond on the land, so enter a for arc.
5) notice how the line becomes arced instantly? select a few points and close the
polyline to get something similar to the drawing shown below.
note: when you enter 'c' for close, autocad will ask you to clarify you want to use the
close command and not centre (as they both begin with c). enter cl for close which is
the two upper case characters).
the arc command is obviously not just for drawing free-hand ponds! we can enter
further commands within the arc command by using their upper case letters to have
more control over the arc, such as specifying a radius.
have a play with the arc command and get familiar with how it functions.
advanced polylines - width
1) now we'll draw a fence around the pond. select the polyline command again;
select a point close to the edge of the pond to begin the polyline.
2) press w to activate the polyline width command. by default the polyline width
command is set to 0. autocad asks for a width for the start of the line, enter 0.1
then hit enter. autocad now asks for the width for the end of the line, as we want it
to be the same thickness, enter 0.1 again. now just try drawing a free hand fence
around the pond.
the thickness command is very useful, the more that you use autocad the more
reasons you'll find to use it!
try drawing a new polyline with a starting width of 0, and an ending width of 1. a
handy arrowhead pointer?
that’s about it for polylines! they may not seem so great just yet, but when we start
using modify commands you'll see just how useful it is to be able to manipulate and
select a whole complex shape in one go rather than selecting all the separate
entities.
lesson 6
basic modify commands
here we'll cover the modify tools, which give us control over simple shapes we have
created. as the name suggests - we can modify drawing elements. this is what the
modify toolbar looks like (if you don't see it, check the modify box in 'view -
toolbars'):
1) open the drawing file. it should look like the one shown below:
2) select the mirror command from the modify toolbar (or choose 'modify - mirror'
from the drop down menus)
3) select the blue object (looks like half a wine glass?!)
4) we are now prompted to specify the first point of the mirror line, choose the
centre of the cross marked 'a'
5) we now need to enter the second point of the mirror line, select the centre of the
cross marked 'b'
handy tip!: to draw a true vertical or horizontal line, hit f8 or click 'ortho' at
the bottom of the command line to enable autocad’s ortho function, which
limits the available pointer selection points to horizontal or vertical
positions relative to the first point selected. ortho can be used with all
commands.
6) autocad now asks if we want to delete the source object. we need to enter 'y'
for yes or 'n' for no (simply hitting enter would accept the default setting of 'no').
deleting the source object results in a mirrored copy of the original object, without
the original object. in this case we want to keep the original object to complete the
drawing. enter n for no followed by enter.
you should now have a simple drawing of a wine glass as below.
offset - offset will make a copy of a line or series of selected lines by a specified
distance in the direction specified. the example below shows an original red box
(50mm x 50mm) with an offset yellow box 10mm to the outside of the original box.
the offset command simply creates a copy of the selected objects, at the distance
specified, to either side of the original object.
1) create a new drawing and draw a rectangle from a base point of co-
ordinates 10,10 at a size 50,50.
rectangular array
download the appropriate tutorial file for your version of autocad:
lesson6 - array.dwg (autocad 2000/2002 file version)
lesson6 - array r14.dwg (autocad r14 file version)
(autocad r14 array options are not in a dialogue box although the same
settings apply)
the drawing is a plan view of a chair. we will use the array command to create more
chairs at a regular spacing of 1000mm centers as shown in the above example.
an array will have been created with the rows, columns and spacings specified. your
drawing should be similar to the rectangular array drawing shown above.
polar array
download the appropriate tutorial file for your version of autocad:
lesson6 - polar array.dwg (autocad 2000/2002 file version)
lesson6 - polar array r14.dwg (autocad r14 file version)
(autocad r14 array options are not in a dialogue box although the same
settings apply)
move - the move command works exactly the same as the copy command described
above, except instead of creating a copy of the selected objects, the second objects
are moved.
rotate - the rotate command rotates any selected objects about a defined point by
the angle specified. by default autocad will rotate objects anticlockwise when an
angle is entered.
1) load the drawing lesson6 - polar array.dwg that we used in the polar array
example.
2) select the rotate button from the modify toolbar.
3) select the vertical line and circle.
4) select the base point for the rotation. this is the point which the selected
objects will be rotated about. select the bottom end of the vertical line.
5) autocad asks for a rotation angle. note how mouse movements rotate the object
in real time enabling quick rotations to be made. we will specify an angle of 45°.
enter 45 and hit enter.
the object should have been rotated as shown above.
scale - the scale command scales the size of a selected object(s) by a defined scale
factor from a selected base point. the selected objects can be scaled up to increase
size or down to reduce the size.
for example:
entering a scale factor of 2 would result in the object being doubled in size.
entering a scale factor of 0.5 would result in the selected object being halved in size.
try scaling the object we rotated in the above rotate tutorial, to get a feel for how
the scale command operates.
stretch - the stretch command will stretch a selected part of an object, and can be
used to lengthen or shorten a particular object.
looking at the stretch command introduces two very different ways of selecting
objects. so far you have probably been 'picking' an element of a drawing with one
single click of the mouse while the cursor is over the object. a quicker way is to pull a
window over the objects we want to select.
there are two ways to select objects with a window, with each method yielding
different results. a window drawing a box from top left to bottom right will select all
objects fully within the window. drawing a window with a box from bottom right
corner to top left will result in all objects being selected that any part of the window
passes through.
the selection window (shown green) with a box drawn top left to bottom right results
in the objects within the window being selected as shown on the second image
shown above. note that the circle only partially within the window does not get
selected.
the selection window shown green above (note how the different window selection
type is shown as dotted) results in all objects within and passing through the
selection window become selected.
now we know the different selection types we can have a go with the stretch
command.
1) download and open the original polar array lesson drawing above.
2) select the stretch command button
3) use the bottom right to top left window type to draw a dotted window around the
end of the object as shown below:
4) autocad asks for a base point, select around where the line and circle meet.
5) notice how where we move the mouse the object is becoming stretched. we can
simply select a point with the mouse to stretch the object, or enter a more accurate
position such as @0, 50.
lengthen - the lengthen command will lengthen a selected line.
when the lengthen command is activated, before the line is selected, we need to
tell autocad how we will lengthen the line.
de - delta: autocad asks for a distance to lengthen the line by, when the line is
selected it will then be lengthened by the specified distance only to the side of the
line where the line was selected. i.e. if when you selected the line, you selected it
just to the left of centre, then the left side of the line would be lengthened.
p - percent: autocad asks for a percent to lengthen by, and then asks you to select
the line. specifying 50% would reduce the size of the line by half (the same effect as
scaling by a factor of 0.5). specifying 100% would result in no change in length.
200% would double the length of the line. when specifying the percentage to
autocad only the numerical figure has to be entered and not the percent (%) symbol.
t - total: autocad asks for the distance you want the entire line to be, when you
select the line it will adjust the lines length to the distance specified.
dy - dynamic: autocad adjusts the length of the line as the mouse is moved in the
direction the line is to be lengthened. this is not an accurate technique, although is
useful for quickly lengthening construction lines for example.
trim - the trim command is an extremely useful tool which will erase all parts of an
object beyond or within its intersection with another object.
the protruding yellow lines on the image on the left have been trimmed to the edge
of the rectangle as shown on the right image
the trim command is easy to execute provided that this one very important rule is
obeyed:
when first prompted for an object, you must choose the object you wish to
use as the 'cutting edge' and not the object to be trimmed.
i.e. the cutting edge in the above example was the rectangle, the vertical and
horizontal lines were trimmed to this edge.
trim tutorial files:
lesson6 - trim.dwg (autocad 2000/2002 file version)
lesson6 - trim r14.dwg (autocad r14 file version)
we are going to trim the yellow lines in the drawing to end at the inside of the
rectangle as shown in the image above.
1) open the above tutorial file into autocad. choose the trim command
2) when asked to select object we need to select the object(s) which will be the
cutting edge! in this case it is the rectangle so select it and hit enter.
we now are asked to select the objects to trim. it is important to note that where we
select the object to be trimmed in relation to the object selected as the 'cutting edge'
determines which part of the trimmed object is deleted, and which remains. if we
were to select part of the yellow lines within the rectangle, then the selected objects
would be deleted up to the inside edge of the rectangle (cutting edge). we want to
remove the sections of the lines outside of the rectangle so:
3) select all 4 of the ends of the yellow lines outside of the rectangle. notice how
they are removed as we select them.
just remember, be aware what your cutting edge is! the trim command can be used
on most objects within autocad. one common mistake beginners make is that they
can't understand why autocad refuses to trim a circle to a single line which intersects
the circle at one point only. if the circle were to be trimmed to one line, it would be
deleted! any trim command on a circle must have two 'cutting edges' selected.
extend - the extend command is similar to the trim command in how it functions,
except it extends a selected line to a point of intersection of another selected object.
in order to successfully use the command, you have to make sure that when the line
is extended it will actually intersect the object selected which the line is to extend to!
1) download the trim tutorial file above and use the trim command we learnt to trim
the yellow lines to the circle as shown below:
we will now use the extend command to extend the yellow lines back up to the edge
of the rectangle
1) select the extend command
2) when asked to select an object select the boundary edge which the lines will be
extended to. in this case we want to extend to the rectangle, so select the
rectangle.
3) we are now asked to select the object to extend. as with the trim command, the
effect of the command is dependant upon whereabouts along the length of the object
it is selected. autocad will always extend the end of the line which is nearer to the
point where the line was selected. select each end of the yellow lines (near the
intersection with the circle) to extend each line up to the rectangular boundary edge
we selected.
4) hit enter to end the command.
break at point - the break at point command enables the user to break an object at
a specific point, creating two separate objects.
1) draw a line that is roughly horizontal; don't worry about its size.
2) select the break at point command . when prompted to select object, select
the line we just drew.
3) when prompted to select a break point, select somewhere along the length of
the line.
now try selecting the line, note how it is now broken into two separate lines, at the
point we selected. this command can be used on most drawn objects within autocad.
break - the break command is identical to the above break at point command,
except the break line isn't as neat as when using the above command i.e. the break
point leaves a significant gap between what is now two separate objects:
the top line was broken with 'break at point'. the bottom line was broken with the
standard 'break' command.
chamfer - the chamfer command will chamfer the intersection of two lines to a
specified distance. this is best shown with the example below:
the rectangle on the left is 50mmx50mm. the rectangle on the right has been
chamfered by a distance of 5mm.
1) draw a rectangle using the line command (not rectangle - we will see later) at a
size of 50mm x 50mm.
2) select the chamfer button
3) we are going to chamfer the 50x50 rectangle by a distance of 5mm (as seen
above). enter d for distance then hit return.
4) autocad asks for the first chamfer distance. enter 5 then enter.
5) autocad then asks for the second chamfer distance. in this case we are using the
same chamfer distance, although autocad can draw a chamfer with two separate
distances. as we want the same distance, input 5 then enter.
we now need to select the two lines to chamfer. this would be the two intersecting
lines we wish to chamfer.
6) select the first line to chamfer then enter.
7) select the second line then enter.
the two line segments should be chamfered similar to the diagram shown above.
repeat this procedure to chamfer the remaining 3 corners.
you may have wondered why we drew the rectangle using the line command instead
of the much quicker rectangle command. this is because the rectangle command
draws the rectangle in the same manner as a polyline. we can't select the individual
lines forming the rectangle, so we can't select the separate lines we wanted to
chamfer. there is however a way to chamfer two polyine segments:
1) draw a rectangle with dimensions 50x50.
2) select the chamfer button , and this time enter p for polyline.
3) autocad asks for a 2d polyline, select the rectangle we drew.
autocad automatically chamfers each intersecting line segment of the polyline to the
last specified chamfer distance used (which should be 5mm as specified in the first
part of the chamfer tutorial).
to change the chamfer distance simply select the chamfer button, specify distance,
enter the chamfer distance, when prompted to select an object simply hit return until
out of the chamfer command. your new chamfer distance will now be set.
handy tip: to join the ends of two separate lines, use the chamfer command
with a distance of 0!
fillet - the fillet command is very similar to the chamfer command above, except
instead of creating a straight line chamfer, autocad creates a radius between the two
points.
the rectangle on the left is 50mmx50mm. the rectangle on the right has been filleted
by a radius of 5mm.
the command works exactly the same as the chamfer command, except we must
specify a radius rather than a distance. we'll go through the process just incase
you're unsure:
1) draw a rectangle using the line command, with a size of 50x50.
2) select the fillet button
3) we will specify a radius, so enter r for radius
4) autocad asks for the fillet radius, enter 5 then hit enter
the fillet radius is now set.
5) select the first line segment to fillet then hit enter
6) select the second line segment to fillet then hit enter
the two lines will have been filleted with a radius of 5 as we specified. repeat the
procedure to fillet the remaining 3 corners.
as with the chamfer lesson above, we can apply the fillet command to a polyline
which will fillet all intersecting lines. while using the fillet command be careful not to
specify a radius too large.
explode- the explode command is very straightforward. it simply breaks down an
object object down to its basic line entities.
for example, a rectangle drawn with the rectangle command is drawn as a polyline;
the separate lines making the rectangle can't be selected or edited. if we choose the
explode button , then select the rectangle object, it will be broken down (or
exploded!) into its 4 separate lines.
explode can also be used to break apart a block and also hatching (covered later).
a basic rule of thumb would be: if you can't select an object you wish to edit, or wish
to edit only part of an object, try exploding it to break it down to its basic form of
lines and arcs.
that concludes our modify tools tutorial. with the modify commands covered in this
tutorial, you should be able to create most 2d drawings you would ever need too! (of
course - combined with the basic draw tools covered earlier).
lesson 7
layers
layers are a way of managing, tidying and also controlling the visual layout of a
drawing. a whole section of a drawing can be turned on or off, or simply one aspect
can be controlled - text for example. this is all done by using layers within autocad.
the concept of layers is used in other software applications, such as paintshop
programs. for those not aware of the concept, we'll start from the beginning:
when a new autocad drawing is created, everything which is drawn is drawn on the
one default layer, named 0. when creating drawings, the layer 0 shouldn't really be
used. new layers should be set up with names corresponding to the content
contained on them.
what is a layer?
a layer can be thought of as a large piece of clear plastic, as infinitely large as the
drawing area in autocad. when drawing in autocad, everything is drawn on the
default layer which is set current. only the objects you are drawing are visible on the
layer, the layer itself can never be seen - it is invisible. each new layer is created by
you, the user. normally, it is acceptable to have a layer for each different part of a
drawing. the layers created for a simple house plan could be as follows:
wall_external
wall_internal
doors
windows
fittings
text_notes
dimensions
the separate lines and shapes representing each part of the house would be arranged
on its relevant layer above. each layer could be assigned its own colour so that
everything drawn on that layer appeared the same colour.
remember we said that layers can be used to manage drawings? well for example, in
order to see the drawing more clearly, we may want to remove all the text and
dimensions from the drawing. we want to keep the information, just remove it from
view. deleting it wouldn't be appropriate as we would lose all of our work! all we
have to do is tell autocad to not display the text notes and dimensions layers by
turning off the layers in layer manager. the layers can then be turned back on again
whenever we choose.
add a new layer - press the new button to create a new layer.
delete a layer - press the delete button to delete the selected layer.
set current layer - press the current button to set the selected layer current. all
objects drawn will then be drawn on this current layer.
show details - press the show details button to see more detailed information
about the selected layer.
on - controls if the layer is on or off. select the light bulb to turn the layer off on the
drawing.
freeze in all vp - pressing this will freeze the layer in all viewports as well as the
current model view (see lesson 10 to learn about viewports)
lock - this handy feature locks a layer preventing any content of the layer from
being modified.
colour - change this to whichever colour you like. all objects drawn on the layer will
display the chosen colour provided that the objects colour setting in the object
properties toolbar (shown above) is set to 'by layer'.
linetype - set the default linetype for all objects drawn on the layer. i.e. continuous,
dashed, dotted etc.
lineweight - set the thickness a line appears .default is no thickness. this option can
be toggled on/off on the display by the lwt button above the command console.
plot - select if the layer will be shown when the drawing is plotted (printed).
the current layer, layer colour, linetype and lineweight can all be controlled outside of
the layer properties manager via the object properties toolbar.
that's it for basic layer controls! get used to using layers as you will be using them
often - especially when you find you need to start managing large drawing files that
contain a lot of information.
lesson 8
text
text can be added to an autocad drawing to create notes and labels on your
drawings. there are two different text commands used to add text to drawings: text
and mtext.
the text command is a simple way to add basic text notes. the height and rotation of
the text can be quickly specified and the text can be viewed on the drawing while
being typed.
try adding a small piece of text in a new drawing using the text command:
1) enter the command text into the command console then hit return
2) when prompted for a start point, select somewhere in the screen just left of
centre
4) when asked for a rotation angle, hit enter to accept the default of 0.
5) now simply enter your text. type: autocad central then hit return to start a new
line
type: lesson 8
try selecting the text. notice how each line is separately selectable and independent
of the previous line? although the text command is simple to use, as each line is
separately editable, modifying notes on a drawing can become a nightmare! this text
type is called single line text.
multiline text
multiline text is the more advanced text tool within autocad. it can be chosen from
the 'draw' toolbar by this icon: .
the multiline text command has its own editor, with all the options available that
you'd expect to see in a word processing program. also, all text on separate lines is
treated together, so editing notes and sentences is simple.
the main character tab of the text editor box is where we choose the font style, text
height, colour and also add symbols such as diameter or degrees symbols.
the properties tab is where we can change the text rotation and paragraph
justification settings.
when setting the text height, it is important to remember that it is relative to the
units you are using. for example, if you decide that 1 autocad unit is equal to a
metre, then setting a text height of 3 would result in 3m high text, and would tower
over the drawing! a text size of somewhere around 0.02 would probably be more
appropriate. when first using text, a small amount of trial and error is required to get
the text height to a suitable size. try to aim for a text height which measures
between 2 and 3mm in paperspace for general notes.
text can be added to an autocad drawing to create notes and labels on your
drawings. there are two different text commands used to add text to drawings: text
and mtext.
the text command is a simple way to add basic text notes. the height and rotation of
the text can be quickly specified and the text can be viewed on the drawing while
being typed.
try adding a small piece of text in a new drawing using the text command:
1) enter the command text into the command console then hit return
2) when prompted for a start point, select somewhere in the screen just left of
centre
4) when asked for a rotation angle, hit enter to accept the default of 0.
5) now simply enter your text. type: autocad central then hit return to start a new
line
type: lesson 8
try selecting the text. notice how each line is separately selectable and independent
of the previous line? although the text command is simple to use, as each line is
separately editable, modifying notes on a drawing can become a nightmare! this text
type is called single line text.
multiline text
multiline text is the more advanced text tool within autocad. it can be chosen from
the 'draw' toolbar by this icon: .
the multiline text command has its own editor, with all the options available that
you'd expect to see in a word processing program. also, all text on separate lines is
treated together, so editing notes and sentences is simple.
when setting the text height, it is important to remember that it is relative to the
units you are using. for example, if you decide that 1 autocad unit is equal to a
metre, then setting a text height of 3 would result in 3m high text, and would tower
over the drawing! a text size of somewhere around 0.02 would probably be more
appropriate. when first using text, a small amount of trial and error is required to get
the text height to a suitable size. try to aim for a text height which measures
between 2 and 3mm in paperspace for general notes.
lesson 9
hatching
hatching is used to add shaded patterns to objects and shapes within an autocad
drawing. hatch patterns can be used to indicate a material to be used, such as a
concrete hatch. alternatively it could be used to make an area of a drawing stand
out.
a foundation detail with the autocad default ar-conc hatch pattern applied.
the hatch command can be found on the draw toolbar, or the draw drop down
menu. when entered, a dialogue box appears as shown below:
type - custom hatch patterns can be created in autocad. leave it set to predefined to
use autocad’s built in hatch patterns.
pattern - this is where we select a hatch pattern from autocad’s default list. select
to view more patterns. the hatch pattern palette appears, with hatch patterns
arranged under the categories; ansi', 'iso', 'other predefined' and 'custom'. the most
common hatch patterns required are under the 'other predefined' tab.
angle - this sets the angle of the hatch pattern, the default value is 0.
scale - this sets the size of the hatch pattern. this must be set correctly dependant
on if you are drawing in metres or millimetres. a little trial and error is required to
obtain a suitable scale (see preview below).
pick points & select objects - these are autocad's two different methods of
hatching an area. using pick point, clicking inside an area (such as a rectangle) will
result in the hatch pattern being applied to all blank space within the boundary.
select object simply hatches within a selected object.
great care must be taken to ensure that the area to be hatched is closed, and all line
endpoints are meeting each other. if a small gap is left open, the hatch command will
fail, usually with the error: unable to hatch boundary.
preview - enables a quick preview of the hatch before applying it, letting us quickly
change and preview settings before we ok them. very useful when trying different
hatch scales.
inherit properties - this command enables the hatch settings of a hatch already in
use in the drawing to be brought into the boundary hatch dialogue box.
composition - this is how autocad is to treat objects to be hatched. for the moment,
leave it set to associative.
pick point
the above hatch was created by using the pick point method. the hatch stays within
all the solid lines.
select object
the above hatch was created by using the select object command. the rectangle was
selected, and as a result the entire rectangle becomes hatched. interestingly, if both
the hexagon and rectangle were selected (i.e. both boundaries) then the hatch
pattern would have had the same result as in the above 'pick point' example.
be careful to ensure that there are no gaps in the boundary to be selected (zoom in if
required). usually, this results in either unexpected results, or a hatch error as shown
below.
have a go with the hatch command with the following autocad drawing file:
lesson9.dwg (autocad 2000 file)
lesson9r14.dwg (autocad 14 file)
use the select object method to apply the hatch pattern ar-conc (found in other
predefined in the hatch pattern palette) to the concrete foundation. use a hatch scale
of 1 and angle 0.
use the pick point pattern to apply the hatch pattern ansi32 (found in ansi in the
hatch pattern palette) to the bricks. use a hatch scale of 3 and an angle of 0. note:
separate multiple areas can be selected with the pick point method, all in one go!
lesson 10
model space & layout (paper) space
there are two drawing areas within an autocad drawing, model space and paper
space. when autocad is loaded, the drawing area which we see is known as model
space. all drawing or 'modeling' done within autocad is drawn in model space. the
autocad screen tells us we are in model space in the two following locations:
the left hand model tab has two default tabs next to it named 'layout1' and 'layout2'.
these are shortcuts to the two default paper space views 'layout1' and 'layout2'.
by double clicking the right hand model button shown above, this will take us to the
default paper space view layout1.
notice how the model is zoomed extents to the viewport. we have now created a
viewport within paper space, ready for plotting.
working with viewports
once a viewport is created, it itself can be modified, and so can its view. to activate a
viewport, double click within the viewport window. the cross hair movement is now
restricted to the viewport window. the bottom status bar will now indicate that we
have entered model space, although we are still in paper space. effectively, we are in
model space, but working in model space through paper space. to exit out of the
viewport, simply double click out of the viewport (or double click the status bar at
the bottom of the screen to toggle between model/paper space).
once a viewport is created, its contents can be changed by activating it, and
zooming/panning throughout the drawing to change the view. we can even work on
the model through paper space, as all the usual commands are still active
.a viewport can be moved around in paper space using the move command, however
a viewport cannot be rotated. to change the size of a viewport, select it while in
paper space, and change its size by dragging the blue grips at each corner of the
viewport.
to hide the rectangular frame of a viewport, simply create a new layer, turn the layer
off then add the viewport to the layer. the viewport frame will then become invisible,
although the viewport still functions. of course, when you want to move/resize the
viewport, don't forget to turn the layer back on!
plotting to scale
to be able to plot an autocad drawing to scale, we need to set the zoom factor within
the viewport. setting the zoom factor enables us to fix the scale of the viewport when
plotting from paper space at 1:1 (not scale to fit!).
the zoom factor of a drawing is known as its xp value, and the xp value is
determined as below (if one autocad unit represents 1m):
example:
viewport scale required = 1:200
xp value = 1000/200 = 5
zoom factor = 5xp
if the model is drawn that 1 autocad unit represents 1mm, then the above formula
applies, but the zoom factor must then be divided by 1000.
example:
viewport scale required = 1:200
xp value = ( 1000/200 ) / 1000 = 5/1000 = 0.005
zoom factor = 0.005xp
the table below summarizes the xp zoom scale factors for the common scales:
don't forget that within paper space, we can have as many viewports as we like
(although the more viewports active, the more pc memory is used which can affect
your system's performance).
plotting
now that we know how to set up a paper space view with scaled viewports, we
simply have to plot it to a printer for a true scale, paper copy of the drawing.
printing from autocad is simple, we just have to ensure that a few settings are
correct.
to open the plot menu, click the plot icon on the standard toolbar, or select 'plot'
from the file drop down menu. the plot dialogue box will appear:
first of all, click the 'plot device' tab to select the printer you wish to plot to:
the printer can be selected from the drop down list, the properties of the printer can
also be selected to change print quality e.t.c.
plot style is where we can choose the colour of the plot, based on the on-screen
colours. for example, every red line within autocad can be set to print red, or could
be set to print out black. this setting can be left as none for now.
full preview is where we can preview the print, but only after we have chosen our
plot setup in 'plot settings'.
partial preview provides a simplified preview of the drawing, useful for previewing
large drawings which would take a while to regenerate all the viewports for the
preview.
back to the 'plot settings' tab:
paper size - select the paper size of the print out (this will usually be the size of the
frame drawn in paper space. in the case of the lesson10.dwg tutorial file, this should
be set to a4.
finally, to exit the preview, right click and select exit. this takes us back to the plot
dialogue box. go back to the 'plot settings' tab and select the 'plot' button to send
the drawing to the printer.
lesson 11
object snap
object snap tools are available from the object snap toolbar (view - toolbars to
enable). they allow for precise drawing within autocad. for example, a rectangle
could be drawn from the exact endpoint of an existing line by simply selecting the
'snap to endpoint' tool, or we could draw a line from the centre point of a circle using
the 'snap to center' tool. in many cases, object snap avoids the need to draw
construction lines, thus making it quicker and easier to create precise, accurate
drawings.
the first point of the rectangle above was drawn from the endpoint of the 45 degree
line.
the object snap tools can be used whenever a point has to be defined, which is in
nearly every drawing command used! when we use the snap tools, a yellow marker
will appear when the cursor is near a suitable snap point. a single left click of the
mouse will automatically select the marked point.
snap tools
from left to right on the above toolbar screen shot (note: dependant on your version
of autocad, some snap settings may not be available).
snap to endpoint - this will select the endpoint of any line or polyline segment. also
works on 'closed' objects such as rectangles.
snap to midpoint - very handy tool. this will select the mid-point of any line
segment.
snap to intersection - selects the exact point at which two lines cross.
snap to apparent intersection - similar to above, although the lines don't have to
intersect. this snap requires you to select a line, then hover the cursor over any
other line, the marker will let you select the point where the two lines would intersect
if they were extended.
snap to extension - this snap tool enables you to select a point along the same
orientation as an existing line, with a handy readout of the angle and position of the
point (see screen shot below).
snap to center - this handy snap function selects the perfect centre of an existing
circle. even more impressive however is that the centurion of an arc or semi-circle
can also be selected.
snap to quadrant - snap to the four quadrant points of a circle (top, bottom, left
and right).
snap to tangent - as it says, snaps to the tangent point of an arc.
the only way to 'break' the block apart, and split it into its separate line entities, is to
explode it. if one particular part of a block needs to be changed, the block has to be
exploded, the modification made, and the objects created back into a block.
why use blocks?
the most impressive feature of blocks is that if a block detail has to be amended,
simply changing the detail and 'redefining' the block applies the changes to every
instance of the block in the drawing!
block example
a simple example of the use of blocks is in a plan view of a classroom measuring
5.5m x 5.5m. you may be required to find the most suitable layout for 12 desks and
24 chairs. you would of course have to draw the chair and table. then simply turn
them each into a block. they can then be moved, selected and copied simply and
quickly.
1) download the drawing file for your version of autocad.
2) firstly we'll turn the table into a block. to open the 'block definition' box type the
command block into the autocad console then hit return.
3) we'll need to name the new block that we create. type chair into the name box.
4) click the select objects button to select the separate entities that we wish to
contain within the block. select all lines making the table then right-click or hit
enter to return to the block definition box. within the objects section we have 3
options to choose from: retain, convert to block and delete.
retain: once the ok button is hit, the block will be created and stored within the
drawing, although the selected entities will not have been turned into the block and
will be kept as separate entities. the block can be inserted from the 'insert -> block '
drop down menu.
convert to block: this is the opposite of retain, the selected entities will be
converted into a block, and will be the first instance of the block within the drawing.
delete: not as drastic as it sounds! the block will be created, although not displayed.
the seperate entities which make the block will be deleted. the block can be inserted
from the 'insert -> block ' drop down menu.
remember how we said we would arrange the 12 tables and 24 chairs to fit into the
room? let’s arrange them by making copies of the original blocks. it would be
acceptable to use the copy command to make copies, although it may be a little
tiresome to arrange them neatly. by far the quickest way is by using the array
command we looked into in tutorial 6.
use an offset of 1500mm for the row and column offsets, and array to 4 rows and 3
columns as shown below.
imagine that the school decides that the chairs aren't to have arms! all of the chairs
can be amended by simply exploding 1 chair, modifying it then saving back to the
block using the same block name:
1) zoom in on one of the chairs, and explode it. this will break the block.
2) delete the arms of the chair, as below.
3) now use the block command to turn the 'armless' chair back into a block. make
sure that you use the same block name as the existing block to be changed, for block
redefine to work correctly.
4) autocad will warn you: 'chair is already defined. do you want to redefine it?’
choose yes.
voila! every instance of the chair has now been changed by redefining the block. this
is where the power of creating blocks really comes into its own.
wherever your are copying the same information around in a drawing, always ensure
that you have turned it into a block first, it can save a lot of headache when you later
decide to alter the original detail!