Citation information.
CSA logo Search the CSA site.

AutoCAD Tutorial

This tutorial (in HTML form) for AutoCAD beginners was developed by Professor Nancy Wilkie of Carleton College and Harrison Eiteljorg, II, Director of the Center for the Study of Architecture. It is copyrighted by them but may be freely downloaded, used, and distributed with the following conditions:
1) this heading must remain with the document
2) no charge of any kind may be made for distribution or usage by others
3) no changes in the document may be made by anyone in the chain of distribution.

This document is available on the Web, because we could include formatting in an HTML document but not in a simple ASCII file for downloading. Note, though, that you can download the source code and use it with your Web browser without being connected to the Web. Of course, you can also print it out from the Web. If you do print the tutorial from the Web, be sure to number the pages immediately; they may not be numbered when you print them.

This version of the tutorial was updated in May of 2001 by Mr. Eiteljorg to include changes required for users of AutoCAD 2000 and further modified in January, 2002, after review by Ms. Wilkie.

Note that more recent versions may be available at the CSA Web site if that's not where you got this:
Please let us know if you find problems or have suggestions for changes (nicke @ or nwilkie @ We will extend and modify the tutorial on an irregular basis.


Preface   Session One   Session Two   Session Three   Session Four   Session Five   Session Six

AutoCAD commands are normally in either italics or boldface, but those in boldface are commands you are being instructed to carry out as part of the tutorial. Those in italics are suggestions or other references to commands. Lines beginning with an asterisk contain instructions to carry out a process of some kind. We are probably not entirely consistent in these matters, but . . .

As the tutorial progresses, some of the instructions will become less complete, on the assumption that you have learned a good deal about the system and can figure out more on your own. If you find an incomplete description of a command, please check to see if a fuller description was provided earlier. We recommend that you work with the tutorial and otherwise work with AutoCAD for more than an hour at a time during your first week and that you try to work with the system daily for the first week. You will find that your comfort level increases and you will relax with the system more readily if you work with the system frequently and for longer stretches of time during the learning period.

Please note that we are instructing you to use keyboard commands exclusively. Virtually every one could be initiated with a menu selection instead. Feel free to experiment with other ways to activate the commands we've chosen; they should work the same whether started from the keyboard or a pull-down menu. We did choose to have you type commands, though, because we think that it's quicker in the long run - and because the keyboard commands are consistent from one version of AutoCAD to another, while the pull-down menus are not always consistent.

Finally, we have found through experimentation that you should read all of each command procedure before beginning to carry out the instructions. Sometimes things seem unclear but are quite obvious if you know the full sequence at the beginning; at other times, the first steps will be puzzling if you aren't aware of the ones to follow. In any case, the point is not to do the exercises; it is to understand how to use the commands.

Session One:

Basic Drawing commands - units, limits, redraw, regen, control-c (escape key), help, line, zoom, id, endpoint, F2, erase, undo, pline, qsave, 3dpoly, distance, move, copy, point specifying processes, text, editing objects, mslide, end

First begin AutoCAD.

* When the system is ready, type new and a carriage return or enter (hereafter <cr>) and give your file a name. (AutoCAD 2000 requires that you select the new file icon in the start-up menu and will not require a name until you are ready to save the file. When you start a new file, AutoCAD 2000 will ask you to select whether you want to work in English or metric dimensions. Please choose metric. Before you start working with your file, please type save and <cr> and give the file a name.) The name you choose is up to you, but we recommend a six-character name that will leave two characters (in a DOS, eight-character naming system) to identify different versions of the file. Thus, if you have any concerns about your progress in a given session, you can save the file under a new but related name and preserve the file from the prior session. AutoCAD automatically appends the .dwg extension to the file name.

Please note that there is now an icon with arrows in the lower left corner of the drawing window. The arrows indicate the directions for the x and y axes. There is also a W in it, indicating that you are working in the world coordinate system. Don't worry about that for now, but do note that the direction of the arrows can change as you manipulate the drawing, always indicating the x and y axes.


Before starting a drawing, you must determine the units with which the drawing will be made, the ways numbers are displayed, and some other drawing procedures. (If you are using AutoCAD 2000, the choices are similar, but there are now Windows-style dialog boxes for you to make your choices. It should be clear how to match the suggestions that follow for R14.

* Type units and <cr>. You will then be presented with a dialog box or asked, in sequence, to choose the following: If you have a dialog box instead of the list of questions, use it to make the same choices.
* the measuring system (choose decimals - the system does not care what the base unit is, only whether it will be divided into decimals or 12ths or whatever - for our purposes the base unit is the meter),
* the number of decimal points to be displayed (choose 3 so that we are dealing with millimeters as the smallest unit displayed),
* the way angles will be measured (choose decimal degrees),
* the number of fractional places to be displayed for angles (choose 4),
* where the zero angle will be (choose North- the default is East),
* and whether you will measure positive angles as clockwise (choose yes).

After the last choice, you should see your drawing window again. But, on some DOS systems, that won't happen, and you will still be looking at the text screen. If so, press the F1 key to return to the drawing screen.


Another set-up process is setting the drawing limits. You don't have to set limits, but if you do set them, you can protect yourself from erroneously drawing things outside those limits. Setting limits also makes it easy to call up in your viewing window only that area defined by the stated limits.

* Type limits and <cr> and then give two sets of coordinates (x and y only) for the limits.
* Type -10,-10 and <cr> for the lower left corner.
* Type 15,15 and <cr> for the upper right corner.
* To make the limits active, type limits and <cr> again and choose on and <cr>. (With limits set but turned off, you can draw outside the limits, something you may want to do on occasion.) Now you will be unable to draw anything with an x or y value greater than 15 or smaller than -10.

REDRAW, REGEN, Control-C (escape key)

Note that the commands redraw and regen (regenerate) can be used at any time to refresh the screen; these commands remove the marks left from various editing processes; the escape key geernally accomplishes the same task. Redraw simply draws the same image again; regen requires the system to start from the database and reconstruct all parts of the model from scratch. Feel free to use these commands at any time. Also note that control-c will interrupt most processes. If you find yourself in the midst of something you want to stop, just type control-c - but in Release 13 and later, use the escape key instead. (It's easy to type control-x instead of control-c; if you do type control-x the word delete may appear - depending on the version you're using. That does not mean that a part of the drawing has been deleted; control-x should just cancel a command that has been partially typed.)

Please note the use of the term model in the foregoing. A CAD model is more than a drawing, since you can zoom in and change viewing angles; so we will try always to use the term model to refer to the computer version of your work.


If, for any reason, this tutorial is not crystal clear -- perish the thought -- you can type help (or ?) and <cr> to get AutoCAD's help menu. The F1 key also takes you to the Help system on later versions.


* To begin our drawing, type line (or just l) followed by a space or <cr>. (If you make a mistake and cannot figure out how to correct it, look below at the <Undo> command.)

(AutoCAD treats a space as equivalent to a <cr>; so from here on, we will use <cr> to indicate either. Note, in addition, that AutoCAD will treat a <cr> or a space at the command prompt as a restatement of the last command. Thus, when we complete this command, we could use the <cr> key to start the line drawing process again. That can be very useful.)

Since the space is equivalent to the <cr>, we will continue to use a convention of command and <cr> or command<cr> to indicate that you should type first the command and then the <cr>, with no space between. Obviously, you must be sure not to type a space by habit.

* Type 3,4,0<cr> to specify the starting point of the line.
* Enter the ending point 6,5,0<cr>.
* Then type <cr> to end the command.

Let's make another line that meets the first one at its point of origin.

* Type line<cr> (or l<cr>) and use the mouse to mark the starting point of a new line. Start it just at the beginning of the last line. Use the mouse to select the point for the end of the line (wherever you like) and type <cr> to terminate the command. Now you have two lines that meet. Or do you?

ZOOM, ID, Endpoint

* Type z<cr> (for zoom). You have a series of options available, but if you just click, move, and click again with the mouse or type two sets of coordinates (x and y only), the system will assume that you mean to define the corners of a window for the new view. The first point needs a diagonally opposite one to define the window; again, either a mouse click or another set of coordinates. (There is an AutoCAD system variable that will change the window selection process to click-and-drag, but this is not the time to worry about changing system variables.)
* Enter the coordinates 2.6,4.6<cr> and then 3.4,3.6<cr> to define a zoom window with its diagonally opposite points (you could do that with the mouse, but I want you to have zoomed in very close for this). You have now zoomed in very close and can see that you may not really have the second line beginning precisely where the first one did. You may be able to move the crosshairs from one point to the other to see where the two points are; just look at the coordinate window at the top of the drawing window to see your location. Better yet, let the computer tell you precisely where the end of each line is located.
* Type id<cr> and then type endpoint<cr>. The cursor will become the shape of a small box. Move your mouse to put the box around the end of one of the lines and click to select it. The system will display the coordinates of the end of the line - using endpoint tells the system that you want it to find the end of a line, the corner of a rectangle, etc., not just a point in space.
( Do the same for the other line - type id<cr>, endpoint<cr>, and select the end of the line. Check the difference. Note that asking for the identification of a point requires that you specify that you want the endpoint of the line (you could also specify midpoint or center). Otherwise, you would simply receive the coordinates of the point where the cursor lay, not the end of the line. You should be able to use your mouse to indicate that you will pick an endpoint of a line, not just the point where the cursor lies. Try using the right button on your mouse. It should cause a pop-up menu to appear, with endpoint being one of the first words shown. If that works, try it the next time you need to use endpoint. When you're ready to choose the point, select the right mouse key to pop up the menu, select endpoint, and then pick the point you want. It's much quicker than typing endpoint. The right-click procedure does not work with AutoCAD 2000, and it is harder to work without always or never selecting line endpoints. Nevertheless, click the osnap button at the bottom of the AutoCAD 2000 window, and a dialog box will appear giving you too many choices. Put a check mark in the box for Object Snap On, but not for Object Snap Tracking On. Then choose Endpoint from the list of object tracking modes. Now any time you are near an endpoint and trying to select a point, the system will automatically select the endpoint near the cursor. Experimentation will show how close you need to be to an existing endpoint. If object snap mode is off, clicking on osnap at the bottom of the AutoCAD window will turn it on - or pop up the dialog box of no tracking modes have been selected. Unfortunately, if object snap mode is on, clicking on the button will not turn it off.

F2 in Windows versions (or F1 in DOS versions)

* You won't be able to see both sets of numbers at once with the small text area at the bottom of the drawing screen; so, in older versions of AutoCAD you may need to type the F2 key to call up the full-text screen. (You may have to use the F1 key if you are using a DOS version of AutoCAD. The F1 key was the standard until Windows, but all Windows programs are supposed to use F1 for help. From this point on, the tutorial will instruct you to use the F2 key on occasion, but you should understand that to mean either the F2 key or the F1 key, depending on the system you are using - or no key at all if the text window pops up by itself.) The full text screen will show much more text, including the numbers you asked for.
* After you've compared them, type F2 again to return to the model; you can just click in the drawing window if you're using AutoCAD 2000.

This exercise should have demonstrated that you can't rely on your hands and eyes for precision, though with AutoCAD 2000 you may have had unseen - and often unwanted - help from the system to attach your second line to the first one. So it is usually best to use the keyboard to enter point coordinates in your model directly. Or you can specify the use of an existing point in the model with a command such as endpoint. (A warning: it is not uncommon, even when using coordinates from the keyboard, to have the object snap feature over-ride an attempt to place a point very close to an existing point. If you need to place a point very close to another, be sure to turn off the object snap feature and then check your results to be sure the new point is where you intend it to be.)

Let's now get back to the original view and delete the lines we just drew. We only drew them to make the point that your model may not necessarily be as precise as it appears on screen.

* Type z<cr> and p<cr> to zoom to your previous view.


* Erase the two lines by typing erase<cr> and selecting both lines with the mouse. Then type <cr> to complete the command.

Now we'll start our model again.

* Type l<cr> to start a line.
* For point one, type 3.8,8,0<cr> - these are the x-, y-, and z-coordinates of the first point of the line. You can always enter coordinates directly from the keyboard like this.
* For point two, type 5.75,8,0<cr>, the coordinates for the second point.
* Oops. you should have typed 6.8,8,0.


* Type u<cr> now to undo the last choice. (In a sequence like this, you can keep typing u<cr> to undo all but the very first point in the sequence, but you may see the markers on the screen indicating the points you chose. Typing redraw<cr> after you finish with the line will remove them.)
* Now, for point two, type 6.8,8,0<cr>.
* For the third point, you are going to tell the system where the point is to be, not in absolute terms as you've done thus far, but relative to the second (last) point. Type @0,-.75,-1<cr> to indicate that the new point has those x-, y-, and z-coordinates relative to the prior point, i.e., the same x-value as point two, a y-value .75 units smaller than that of point two, and a z-value 1 unit smaller. So point three lies at 6.8, 7.25, -1.
* For the fourth point, you will use what are called polar coordinates to specify the position of the point. This type of specification is also based on the previous point. Type @3<270<cr> to indicate that the new point is 3 units distant and at a 270-degree angle from the third point; the < character indicates to the system that you are using polar coordinates in the same sense that the @ character tells the system you are entering coordinates relative to the prior point. (When using polar coordinates, the z-coordinate is omitted and the new point is placed at the same elevation as the previous one, but you can use a similar notation system to indicate an angle of elevation or an absolute elevation of the new point. We won't try to deal with those notation systems yet. Note that the variable you saw when setting the units will determine how the 270-degree entry is treated by AutoCAD.) Since 270 degrees will make the line go to our left, the new point will be at 3.8, 7.25, -1.
* Then type c<cr> to indicate that the figure should close onto its first point.

Now you have drawn a simple rectangle; we will call it Rect. B. You should note that the third and fourth points have elevations different from the elevation of the first two points. That does not show in a plan view, but it will be obvious in a 3D view.

* Type zoom<cr> or z<cr> to zoom in on the figure. You can make a window with your mouse to indicate the zoom window or give it coordinates, as we did before.
* Use the coordinates 3.3,9<cr> for the upper left corner and 7,6<cr> for the lower right corner.


* To draw a similar figure with a different process, type pline<cr>. This will make what AutoCAD calls a polyline (LW polyline or light-weight polyline in later versions).
* For the first point, type 3,8,0<cr>.
You can see that there is a problem here. The new figure does not show in the drawing window. So you can do what AutoCAD calls a transparent zoom, a zoom in the middle of a command without interrupting the command. Type 'z<cr> and then type .2x<cr> to indicate that you want the new display to reduce the size of the drawing to one fifth the current size. The apostrophe tells the system that you are invoking a command transparently, i.e., within another command. Now you can see enough to continue.
* For the second point, type @.75,0<cr>.
* For the third point, type @0,-6<cr>.
* For the fourth point, type @.75<270<cr>.
* Then type c<cr> to close the figure.

The process is not much different from the process you used to draw a line, and we have another rectangle that we will call Rect. A. There are two differences. First, a light-weight polyline is a 2D figure. All points must lie at the same elevation. Two, AutoCAD will treat all the pieces of a light-weight polyline as parts of a single entity in the model. If you drew the same figure with the line command, each line segment would be treated as a distinct entity. If you want to move or copy a line with many individual segments, it should be drawn as a polyline so that it can be treated as a single item.

Now your drawing is a bit small; so type

zoom<cr> extents<cr> (or z<cr> e<cr> - or z space-key e space-key) to indicate that the drawing window should include all of the pieces of the model. The model will be fitted tightly to the lower left corner of your window. (If we asked for the system to zoom to all of the drawing, the window would include all the area within the drawing limits, regardless of how much or how little had been drawn. However, if we asked it to zoom to "extents" (abbreviated e) it would show only the parts of the drawing actually containing drawing entities.)

During the course of these exercises you may need to zoom in to make your image larger. Feel free to do that at any time. But, since I will be trying to keep track of your drawing progress, please return to the previous image size after you zoom in. Return to the previous image size by typing zoom<cr> previous<cr>

You will see that this figure is another rectangle. However, for the second rectangle we gave all the points the same value for z; we entered a z-value only once, for the first point, because, as mentioned above, standard AutoCAD polylines must have the same elevation throughout. Once we supplied a z-value with the first point, all successive z-values were determined. (If you had tried to provide a z-value, the system would have rejected the input.)


Since you have drawn a couple of figures, you should now stop to save your work. As with any program, it's a good idea to save often to make sure you don't lose your work.

* Type qsave<cr>. Using qsave eliminates the need to type the file name; if you just type save, you have to remind the system of the file name. If you want to save the file under a different name, of course, just type save and then enter the new file name. Note: The pull-down menu commands are different here; save from the pull-down menu works as qsave from the keyboard does - saving the file under its current name. Use save as from the pull-down menu to save a file under a new name.


Another way to make a polyline, but a polyline with variable z-coordinates, is to use the command 3dpoly. This command creates a 3D polyline (not to be confused with a standard or light-weight polyline; there are differences we will talk about later).

* Type 3dpoly<cr>.
* For the first point, type 3.8,5,0<cr>.
* The system will prompt you for "Close/Undo/<Endpoint of line>:" The brackets indicate the system's default expectation.
* So for the second point, simply type @2,0,1<cr>.
* For the third point, type @.75<180<cr>.
* For the fourth point, type @-2,0,0<cr>.
* Then type c<cr> to close the figure.

Depending on your version of AutoCAD, the last corner of the figure may show some extra marks, but that's from the point choosing process. If you type redraw<cr>, the extra marks will disappear.

You have now drawn Rect. C. Note that you have three rectangles, one consisting of lines, one of a single polyline, and one of a single 3d polyline. It is not possible automatically to convert the polyline into lines or a 3d polyline, nor is it possible to convert a 3d polyline into lines. It is possible, though, to convert lines into a polyine if and only if the lines all lie in the same horizontal plane.

At this point, you should hear about the difference between choosing an object and then saying what to do to it (noun-verb) and the reverse process, stating the action and then picking the object to act on (verb-noun). AutoCAD will permit you to do either. Generally speaking, it's probably easier to select the item and then name the action if you are only working on one item, but better to state the action first if you are working on many items at once. If you state the action first, you can keep adding (or removing) objects to act on until you are satisfied. That's more difficult to do if you name the objects first. You may, however, use either procedure with equal results.

Please note that, if you have chosen an object, it will be highlighted (with a broken line and, in later versions, blue squares to indicate the crucial points of the entity), and it will remain highlighted until you do something to it or type control-C twice (escape key with Release 13 and AutoCAD 2000) to deselect all objects.

* Now let's move the last rectangle we drew so that the three rectangles form a letter F. As it is, the last rectangle looks a little too low; so we need to move it up. That is, we need to change the y-coordinates but not the x- or z-coordinates.

We must first know how far we are going to move it. We would like the rectangle to be in the middle of the vertical rectangle on the left. But where is the middle? To find out, you can query AutoCAD with the command distance ( or dist)<cr>. You must be sure, however, to ask AutoCAD to supply distances between the points in the model; so AutoCAD must be told to seek points on the objects, not points in space. As you saw earlier, it is not possible to identify such object points precisely with the mouse alone.


To use the distance command, you would type dist<cr> and then endpoint<cr> (end will also work, but, if you mistype dist, you may end your drawing session by accident when you type end, since AutoCAD will interpret that as the end command described below - but remember that the mouse probably lets you avoid typing altogether). When you would select the endpoint of a line with the mouse, type endpoint<cr> again and select the other end of the line with the mouse. In AutoCAD 2000 you will find that using endpoint works, but the designers assume you would rather use the object snap feature. The distance between the two points would then be displayed by AutoCAD.

* In this case, we really want to know what the distance is from the middle of the side of Rect. A to the middle of the facing end of Rect. C. We can use midpoint or mid instead of endpoint to find out more simply than by starting with endpoints. Type dist<cr>, then midpoint<cr>, then select the right side of Rect. A, then type midpoint<cr> again, and select the left side of Rect. C. You should find that the middle of the side of Rect. A is 0.627 units from the middle of Rect. C. But that's not really the right distance for us to move Rect. C, because we want the middles to be in line horizontally but not to be in the same place. The distance reported includes the distance the two points are apart in all three axes - that is, if you look closely, you will see that the difference in x-coordinates is 0.05; the difference in y-coordinates is .375, and the difference in z-coordinates is 0.50. The three-dimensional distance between the points is 0.627, but we are only concerned with the y-coordinate difference. So, to align them for our purposes, we just want to move Rect. C up by 0.375.


* To move Rect. C, select Rect.C by clicking on any part of it. The whole rectangle should be highlighted.
* Then type move<cr> and, when prompted for the "Base point or displacement:," you have two or three options. (That's what makes using AutoCAD either interesting or infuriating, depending on your point of view.)
* You know that the figure is to be moved .375 units up (.375 units in the y direction); so you could type 0,.375,0<cr> and then, when prompted for "Second point of displacement:," just type <cr> to complete the command. You would have entered the displacement at the first prompt, and nothing at the second. That would tell the system to move the object nothing in the x direction, .375 unit in the y direction, and nothing in the z direction.

* Alternatively, you may select a base point at the first prompt (with coordinates from the keyboard or with the mouse or with endpoint<cr> and the mouse) and then, at the second prompt, indicate the new location of that point with the mouse, new points from the keyboard, or vectors (the @-style locations we used before). For instance, you could first select, as the base point, a corner of the figure, and then, when prompted for the new location of that point, type @0,.375,0<cr>. That would accomplish the same result.


To place another rectangle along the bottom and to make our F into an E, you can copy the horizontal one from the top (Rect. B). To copy it and put it in the correct place, you will first select the item to copy, initiate the command if you have not already done so, and then indicate which point on the item should be used to determine its position (the "base point"). Finally, you will define the new location for the base point (the "second point of displacement").

* Begin by selecting Rect. B, either by enclosing it in a window or by just clicking on each line making the rectangle. (Be sure not to include any of Rect. A or C, and that's not easy.) You will need to be sure you have each line of Rect. B, since it was drawn using the line command instead of the polyline command. If you select too much so that Rect. A has also been selected, then you must deselect - using Control-C or the escape key twice - and start again.
* Then type copy<cr> and, when prompted for "<Base point or displacement>/ Multiple:," you should choose the lower left corner of Rect. B with the mouse; that's the point you will position accurately. (Be certain to type endpoint first. Note: if you had responded with m<cr> that would have indicated that you wanted to make multiple copies.)
* You will then be asked for the second point of displacement, and you want to place that new rectangle so that it fits the pattern - with its corner aligned with the bottom of Rect. A and the left side of Rect. B. Another way to look at that is to realize that the lower left corner of the new rectangle should have the x-value of the lower left corner of Rect. B and the y-value of the lower right corner of Rect. A.
* We can specify those coordinates in two steps, as follows: type .x<cr>, then endpoint<cr>, then pick the appropriate corner of Rect. B. (The period before the x in that sequence indicates that you are supplying only the x-coordinate for the new location.) The system will indicate that you still need a y-coordinate and a z-coordinate.
* Type .y<cr>, then endpoint<cr>, and then pick the appropriate corner of Rect A. The system will then indicate that you still need a z-coordinate. Type 0<cr>.

The new figure should now be in the correct place, and you have a Rect. D. (If you had typed .xy or .xz, the system would have used those, i.e., the x- and y-coordinates or the x- and z-coordinates of the point then selected, prompted you for the missing third coordinate, and then placed your object.)


* The rectangles should be labeled on screen so that we can refer to them more easily. The command for this is text and you will have to choose the location for the text with your mouse or with coordinates typed at the keyboard.
* Type text<cr>.
* Pick a point in the middle of rectangle B (the horizontal one at the top) with the mouse or type the coordinates.
* You will then be prompted for height; you should respond with the height of the text - in drawing units. We recommend .3<cr>.
* The next prompt asks for rotation angle; since we have specified 0 degrees as north, the system will use 90 degrees as the default. Accept the default.
* Type the text, Rect. B<cr>. (In AutoCAD 2000 you will need another carriage return, since multi-line text is permitted.

* You will probably find that the text is too far to the right. Click on it and note the blue square at the left end (the handle, in AutoCAD parlance). Instead of typing move, you can just click on the handle and drag the text to the left so that it falls entirely inside the rectangle.
* Label the other rectangles in the same fashion.

When you label Rect. A, you will want to rotate the text so that the label fits. What should the rotation angle be?

Type qsave<cr> to save your work.


* The lowest horizontal rectangle should be Rect. D, but it seems too short. It would look better as the leg of an E if it were about .4 unit longer. Let's change it using one of AutoCAD's easiest editing features. But we can't quite reach all the edges of the rectangle currently; so type zoom<cr>.8x<cr> (to make the new image only 80% the size of the current image). Now select the lines that make the top, right, and bottom of Rect. D (just click on the lines with the mouse). You should see the lines highlighted and a blue box in each corner. AutoCAD calls the blue boxes handles; you can move them easily. Pick the box in the upper right corner; it will turn solid red. Now you could just drag to a new point, but you know that using the mouse alone for location can be dangerous. So you can also type @.4,0,0<cr> to move the point. Do that, and then do the same for the bottom right point. (What would have happened if you had only selected the line on the right of the rectangle? The move would only have affected that line, and the rectangle would have been pulled apart.)


* Now save a screen image as a file for retrieval, by typing mslide<cr> and giving the slide the same name you have used for your model file plus the character "1." (For example, if your model file is named "jsmith," the slide file will be named "jsmith1.") AutoCAD automatically appends .sld to the file name. (This command allows any screen image to be saved - as an image only - and then retrieved for viewing. But it's only an image. Other than showing you how to make a screen image, this is built into the tutorial in case an instructor wants to be able to check your progress easily by seeing what the screen looked like at the end of the session. If you are using the tutorial alone, you need not save additional screen images.)


* Now you need to save the file and quit. Type end<cr>. (If you just say quit, your work since the last save will be lost, but AutoCAD will prompt you to be sure that's what you intend.) AutoCAD 2000 does not recognize the end command; so use quit<cr> instead; you will be prompted to save the drawing file if there have been changes since the last save.

End of Session One

* * * * * * *

Session Two:

vpoint, list, vports, pan, chprop, hide, vslide, osnap, 3dface, zoom, transparent commands, pedit, undo, erase, oops

Begin by opening your model, using the open<cr> command or the pull-down menu.

In plan view, the four rectangles you have drawn seem to present simple figures. If you view them three-dimensionally, however, they will look quite a bit different.


* To obtain a view from the southeast (assuming the x axis to be the east-west axis), with a viewing position that will give you a 45-degree angle looking downward, type vpoint<cr> and then type 1,-1,1<cr>. (Alternatively, using Release 13 or later you could use the VIEW pull-down menu, and select, under preset, southeast isometric. Later releases also have a view command that will provide access to preset views.)

As you can see, this isometric view makes the rectangles appear to be very irregular. They are, of course, in the sense that the corners have different elevations. You will also see that the Rect. B and Rect. D are not at the same elevation. Can you figure out why? When we copied Rect. B (a 3d polyline with each corner at a different elevation), we put its lower left corner at the elevation (z-value) of 0, but when we drew the original rectangle, we put the upper left corner at 0 elevation.

Rect. C looks very strange because its corners are at different elevations. Where are the labels? They are all drawn at an elevation of 0; so some of them look as though they are in the wrong place here. (There is a default value for elevation; that is 0 now, and it determined the elevation of the text, since we could only indicate the x- and y-values when we picked the point for the text. If you type elev or elevation, you can change that default - but please don't do that now.)


* Type list<cr>; then select the lines in Rect. B and Rect. D. Then type <cr>. You will find a new window or the text screen showing the beginning and ending points of the two lines, among other things. Note that elevations of the points show how we changed them when we copied Rect. B. (If you use list on a polyline, it will tell you the total length of the polyline and, if it is a closed polyline, the area enclosed.) To return to the drawing window, type F2.

Users of AutoCAD 2000 will find that nearly all the same information can be found in the Properties window.


* To see that, in plan view, the rectangles are still positioned as they were, let's divide the drawing window into two halves - AutoCAD calls them viewports. Type vports<cr> in later versions of AutoCAD and then select two vertical view ports. In older versions, you will need to type vports<cr> and then 2<cr> and just <cr> (to accept splitting the screen on a vertical line). The active viewport (some commands will affect only the active viewport) is the one with the heavy border and the only one in which the mouse cursor is indicated by a crosshair. If you want to change the active viewport, you can click with the mouse in the inactive one. (If you click in the active viewport, the system will assume that you are trying to select an object. In that case, you may need to click again to finish making a selection window, or you can type control-c - escape key in R13 - to interrupt the process.)

* Select the viewport on the right, if it's not the active one, and then type plan<cr><cr>. (The second <cr> tells the system to accept the default, which is shown in brackets. Don't worry about the choices for now.)


You will probably find that the figures are too close to the corner of the viewport; so you may want to use the pan command to shift your image so that the part you are interested in lies more nearly in the center of your drawing window. Just type pan<cr> and then pick a point and a second point to indicate the distance and direction of the pan. Experiment with this command to see how it can help you get the right part of the drawing where you want it. When you have finished, type plan<cr><cr> again to return to the basic plan view. The command will always show you the complete drawing.


* Use the viewport containing the plan view, and select Rect. A by clicking on it with the mouse.
* Having selected Rect. A, you should now type chprop<cr> to change one or more properties of the rectangle. If you are using AutoCAD 2000, you can accomplish the same changes by using the pull-down Modify command and selecting Properties. A new "docked" window (restricted to the right side of the AutoCAD window, with only its width adjustable) will appear; the properties of any selected entity or entities will be shown. They can be changed in this window or with the command sequence described in the following. It should be clear how to work in this window to accomplish the changes described, and it is more efficient for most purposes. For this set of changes - and any following uses of the chprop command, users of AutoCAD 2000 should use the Properties window.
* You are going to change the thickness of the lines; so you should type t<cr> and then set the new thickness to 1. Then you must type another <cr> to complete the command. (Note: Thickness does not mean what you would expect. It does not refer to the width of the line as drawn but to the height or depth of the line.)

Observe the change in Rect. A, a change which is visible only in the viewport with the 3D view. The lines for Rect. A now have thickness (in AutoCAD's terminology); furthermore, these thick lines are treated as surfaces.


* To see that these thick lines are treated as surfaces, switch to the isometric viewport and type hide<cr> in the command line. (An isometric view is a 3D view without foreshortening. It's quicker to generate and easier to move about in than a true perspective view. We will not bother with perspective views for a while.) That command shows how the model should really look with surfaces (or thick lines), but it only works on the active viewport; so you may have to change viewports and try again. Note that the hide command can be invoked from the View pull-down menu in recent versions of AutoCAD. There is also a hide command in the View, Shade pull-down and fly-out menu. That version of the command will make all views of the model hidden-line views until the command is countermanded by the View, Shade, 3D Wireframe command.

Notice what is hidden. It now looks as if Rect. A is a box with no top or bottom. For all practical purposes, it is. (But the box should hide the text and does not. I don't know why.)


* To show more clearly how surfaces and lines differ in a 3D model, there is a prepared image for you to examine on the server. (You must download the file to see it - click here to download the file in .ZIP format while you're on line. Unzip it - the zipped file is called and the unzipped one hlsurf.sld - and put it in the directory where your model is stored. If you are not on line while working on the model, you may want to go back to your networked computer to download the file. The tutorial does not depend on your seeing the image, but your understanding of 3d views may.) Type vslide<cr> and select (from the drawing directory) the file called "hlsurf." (This screen image overlays the drawing but does not replace it; when you type redraw<cr>, the model will reappear.) This drawing shows more clearly what happens when you have a fully surfaced model as opposed to a so-called wire-frame model. The wire-frame model is just that, a frame of wires that lacks surfaces so that all edges show. The surfaced model permits views as we have them in life, with some parts of the model hidden by others, because surfaces in the model are made explicit.

* Return to your model by typing redraw<cr>.


The only surfaces we have made so far are on the sides of a hollow box, Rect. A. To give the box a top, you must make an explicit surface, using the 3dface command. Since you are going to use only existing points in the model to make this surface, you can tell the system that all mouse clicks are intended to find the end of the nearest line (easier than typing endpoint before selecting the point, as we did before, when you're going to do so several times).

* Type osnap<cr> in later versions of AutoCAD and then check the indpoint choice. In older versions, you will need to follow the command with endpoint<cr>. (Osnap stands for object snap; this command simply allows you to select a standard part of an object - endpoint, midpoint, etc. - and have the cursor snap to it. Look in the manual to see what the other possibilities are and to see how else to trun the object-snap function on and off.) Now AutoCAD will try to find the nearest end of a line any time you specify a point with the mouse. You can turn the object snap off by typing osnap<cr> and then off<cr>. (Using the object snap can cause problems when you're trying to pick a point close to another. If a new point is to be very close to an existing one, the system may also choose the existing point rather than making a new one - even if you're typing the coordinates of a new one. So it is very dangerous to work with the object snap on all the time.)


* To make the new top surface, type 3dface<cr> and then pick the four top corners of the box with the mouse, starting with any corner and working counter-clockwise. (Be sure to work on the 3D view. You can't select the top corners, as opposed to the bottom ones, in the plan view.) Hit the <cr> after selecting the fourth point and again to finish the figure; do not select the first point as first and last point. (A 3dface may have more than four corners, but the use of more than four points is tricky. Check your manual.

* Type hide<cr> again to see the results. (Some people have reported problems with this command. If it does not work for you, look in the View pull-down menu for the hide command.) Now the hollow box has a lid, and the hidden line drawing looks a bit different. But the text still shows! If your figure does not look correct, did you use endpoint when you made the top of the box? If not, it's not in the right place.

* Since we've finished drawing the 3D face, we need to turn off the requirement that the system find the ends of lines; if we don't, difficulties can arise, as mentioned above. So type osnap<cr> and then off<cr>.

* This is a good time to save your work. Type qsave<cr>. (If you were to quit now, you would find that, when you start up again, there would still be two viewports.

CHPROP (again)

* Since we've seen that thick lines make good surfaces, let's make the lines for Rect. B and Rect. D thick as well. Using the plan view viewport, select one edge of Rect. B and one edge of Rect. D (using the direct click method, not a window). Now change the thickness to 1 (the command is chprop, remember? -- but this is the place to use the Properties window if you are using AutoCAD 2000).

* Now click on the other viewport and type redraw<cr>. Only part of each rectangle has thick lines. Why? Because each rectangle was constructed of lines; each line is independent and must be given a new thickness independently. Rect. A, though, was made of a polyline, and the entire polyline is one entity; so the entire polyline was made thicker when we selected one side of the rectangle. Now select the other sides of the two rectangles and make them 1 unit thick.

* Type hide<cr> again to see the results of adding these new surfaces.

One of the advantages of using a polyline is that it can be treated as a single entity; lines with multiple segments, on the other hand, are multiple entities. Polylines can be moved, rotated, colored, and altered in other ways with a single selection; lines cannot.

But polylines cannot have different elevations at different vertices. That's one thing that makes 3D polylines different. They can have a different elevation for each vertex. However, 3D polylines cannot have thickness. That's why you weren't asked to give thickness to Rect. C. That would not work. We can, however, add explicit surfaces (3D faces) to the basic rectangle with the 3dface command.

* Using either viewport (the 3D viewport is often best with complex shapes, but it can be confusing with a shape like this, one that has different elevations at the corners), find the coordinates of the northwest corner of Rect. C. To do that, type id<cr> and then, after typing endpoint<cr>, select the northwest corner of Rect. C. The system should respond with x=3.800; y=5.375; z=0.000. Using that information, we can define where the corners of our 3D face must be in order to make another box with sides one unit high. The first corner will be at 3.800,5.375,1.000 (1 unit above the corner we just located). You will need to work in the 3D viewport to make the 3dface; so be sure you understand the figure and then select the 3D viewport.

* So, type 3dface<cr>.
* Then enter the coordinates of the first point of the new surface, 3.8,5.375,1<cr>.
* Then, for the second point, type endpoint<cr> and pick the northwest corner of Rect. C.
* For the third point, type endpoint<cr> and pick the southwest corner.
* For the fourth point, type @0,0,1<cr> (to place the last point is 1 unit above the third one). You will need another <cr> to complete the command.

Now, if you start with the correct corner, you should be able to make another 3D face for each of the other sides of Rect. C without knowing any coordinates but knowing that the last point will always be 1 unit above the third one. (Remember that typing <cr> will invoke the last command; so you needn't keep typing 3dface again and again. (Don't try to use the osnap command to avoid having to type endpoint over and over again. This is one of those figures that will cause problems. But be sure to use endpoint!) You may want to zoom in on the figure before trying to draw all these faces. If so, remember to type z<cr>p<cr> (for zoom previous) when you finish.

* Type hide<cr> again, and you will see no real differences between the thick lines and the 3D faces. Note, however, that only rectangle A has a top; the others have only sides.

* Now change to the plan viewport and draw another polyline ( pline command)
* From point 9,0,0
* To 1,0
* To 1,9, and here type arc<cr> (a<cr> would do)
* and then 9,9, for the end of the arc.
* Type close<cr> (or cl<cr>) to close the polyline.


* In the plan view you may not be able to see the entire new polyline; so type zoom<cr> .5x<cr> to make it smaller; then type pan<cr> and use the mouse to get the model where you want it. You may need to use the command more than once.


* Now use the list command; type list<cr> and then l<cr>, for last object drawn, and then <cr> again to finish choosing objects. The coordinates of the vertices, the perimeter, and the size of the area enclosed by the polyline will be displayed.

PAN, ZOOM, Transparent Commands

The pan and zoom commands are valuable viewing aids, of course, but they can also be crucial ways of letting you see the appropriate part of a model while you are making a new figure. Sometimes, though, you can be in the middle of making the entity when you realize that you need to pan or zoom. In an earlier lesson, you used the command 'z to zoom in the midst of a pline creation. That's called a transparent zoom (I don't know why they call it that either); you can also use 'p to do a transparent pan, panning in the midst of another process. (The apostrophe before a command - many commands but not all - indicates to the system that it can interrupt the current process to perform the command and then return to finish the current process. Check the manual to see what other commands can be used in this way. Note that you can use the help command in this way; in fact, typing 'help<cr> or '?<cr> will not only bring up the help screen, it will display the section pertaining to the command in progress.)


* You can edit a polyline in two ways. The easiest way is to click on it so that the "handles" show. The handles are the little blue boxes at the vertices.
* To move the southwest vertex of the last-drawn polyline, click on the handle so that it is solid-filled.
Now type @0,1<cr>. The vertex should move up one unit. (If it does not, make sure osnap is off.) When you first clicked on the handle to make it solid, the prompt stretch to point . . . showed in the command prompt area. You typed the coordinates to indicate how far to move - stretch - the point. There were some other possibilities that we will ignore for now.

* The other way to edit a polyline is to type pedit<cr> and then select the polyline with the mouse. (The polyline will not be highlighted, but the editing possibilities will show at the command line.)
* Type e<cr> (edit vertex)
* and then keep typing n<cr> (for next point) until you have reached the last point in the polyline. Now type p<cr> (for previous point) and keep doing that until you get back to the first point. Using this system, you can select any point to change.
* Type m<cr> (for move) and type@0,1<cr>. Type x<cr> twice and you will have finished the command.

*You can also add a new vertex to a polyline with the pedit command. Type pedit<cr> and then select the polyline with the mouse.
* Type e<cr> (edit vertex)
* and then type i<cr> (for insert). You should now select the location of the point you want to insert; it will be the point after the first one in the polyline (assuming you did not move to another point before starting to insert the new point).
* To locate the point, type mid<cr> (for middle) and select the line that makes the bottom of Rect. D. Your new point will be in the middle of that line. * Type x<cr> twice and you will have finished the command.


*Since we don't want the point you just inserted to remain in the model, type undo<cr>.

You will be prompted for a response, with number being the default. The number you type will be taken to be the number of command operations to undo. Typing <cr> will be taken to indicate the last command only (equivalent to 1). So type a <cr> to undo the editing of the polyline.

* To erase the polyline, either type erase<cr> and select the polyline, or select the polyline and type erase<cr>.

Erase the polyline using one of the methods just described. Having done that, however, you have changed your mind

* so type oops<cr>.

Oops differs from undo, because it is intended only to change the last command, and it applies only to a small group of commands, including erase. Undo is a far more flexible command.

Save your work by typing qsave<cr>.

Then make slides of your current work. You will need two slides, because each viewport must be treated independently. Select one viewport, type mslide<cr>, then give your slide a name. Then switch viewports and repeat the process.

Now return to a single viewport using the vports command. Make sure you have a plan view showing.

Time to stop.

Type end<cr>.

End of Session Two

* * * * * * *

Session Three:

3dface (again), layer, ddlmodes, shade, copy (again), extrude rotate, (solmesh), perp, zoom, extend, trim

Open your model again.

3DFACE (again)

* Make a 3dface on the top of Rect. B. Be sure to use the endpoint command to put the corners in the correct spots. Use the hide command to be sure you have the top in the correct spot.


CAD models become very complex. Imagine, for instance, a model of a building with a complicated history of additions and alterations. If you show all the parts, since when some of them existed in the same place at different times, the result would be very confusing. You need to be able to show the parts you want when you want to see them. As you can imagine, there are many other reasons to separate pieces of a model from one another.

To deal with such complexity, CAD programs permit you to divide the model into pieces. All the pieces together make up the model, but not all have to be used at the same time. So the pieces that make up a particular phase of a building can be used at one time, and the pieces that make another phase be used at another time. Some of the pieces will be common to both phases; others not.

These different pieces of CAD models are called layers. (Despite the term, layers have no necessary physical relationship to one another. No layer need be above or below another; each is simply a portion of the model.) Each layer contains drawing entities - lines, surfaces, circles, etc. - which have something in common. A complex model really must be divided into various layers, though a simple model need not be.

When a new AutoCAD file is opened, the only layer is the one called layer 0. Others must be explicitly made. So we have been drawing everything on layer 0. (You will see a 0 displayed in the appropriate place to indicate the current layer; the place differs with different versions of AutoCAD.)

Even though our model is not really that complex, let's create some other layers so that we can begin to divide up the entities in the model. We can create any number of layers, and they can be named or numbered. We will name them, and our names will turn out to be very important; so be sure to type correctly. Everything we have drawn thus far will stay on layer 0 until we explicitly move something to another layer. (You can find out what layer anything is on with the List command.)

Type layer<cr> (-layer<cr> if you are using Release 14 or AutoCAD 2000) and then m<cr> to make a new layer. Make the name of the new layer VL (for Vertical rectangle, Left; we'll add a VR later), and type <cr> <cr> to exit the command. You will see that the box in the upper left now has VL in it. When you make a new layer with that process, it becomes the current one, meaning that any new model entities will be placed on that layer. VL is the current layer now instead of layer 0.

If you are using AutoCAD R14 or later, try the layer command without the beginning hyphen. You will see a dialog box that permits you to do the things we have been doing. Some of these tasks are easier with the dialog box, but you must be sure to click ok to exit the dialog box; just closing it will not suffice. Otherwise, the changes will be lost. Other tasks are easier to do by typing at the command line. From here on, you may use either command, but I would recommend that you make yourself familiar with the command line approach, because it can be much more efficient for turning layers on and off in groups. You should also note that some work with layers can be done via the layer pull-down tool bar if you are using a recent version of AutoCAD. You should check to see see what you can change there.

* Now type layer<cr> (-layer<cr> if you are using Release 14 or AutoCAD 2000) again, but this time follow with n<cr> to make new layers. Type HT,HM,HB,VLT,HTT,HMT,HBT,EXP<cr> to make eight new layers at once. (Note that you could not put any spaces in that sequence.) You can add several new layers at once with the new command but not the make command. From this point on, please understand that, when the instructions ask you to type layer<cr>, you should type -layer<cr> if you are using Release 14 or AutoCAD 2000.

* Now let's put the model entities on different layers rather than leaving them on layer 0 where they are. You need to use the chprop command again. Since it will be easier if you work in the plan view; type vports<cr> and then si<cr> or choose single viewport in the AutoCAD 2000 dialog box (for single viewport; oddly enough, "1" won't work here, though I've certainly tried it often enough). Note that if you had the 3D view in the active viewport, you now have a 3D view only. If so, type plan<cr><cr>.
* Select Rect. A; then type chprop<cr>.
* Type la<cr> to indicate that you want to change the layer for everything selected.
* Then give the system the new layer name, VL<cr> and then another <cr> to complete the task. Once again, AUtoCAD 2000 users will accomplish the same task via the Properties window.

Follow the same process for the other rectangles, using the appropriate layer name for each. HT for horizontal rectangle at the top of the drawing, HM for horizontal rectangle in the middle, and HB for horizontal rectangle at the bottom. As you can tell, using the names in this way will make it relatively easy to know what is on each layer.

Now you will find some difficulty selecting the rectangle you want; so it's time to talk more seriously about how to select entities for editing, moving, copying, etc. (Make sure you get the top of Rect. B on the correct layer with the rest of the figure. You may need to read the following to be sure.)

Earlier we talked about the difference between noun-verb commands and verb-noun commands. If you recall, you can state the process and then select the items to be processed (verb-noun) or do the reverse, select the items and then name the process (noun-verb). The items selected are called a selection set. The advantage of using the verb-noun system is that AutoCAD has offered a number of ways to create a selection set, and the selection set can be augmented or reduced rather easily until you have everything you want - and nothing more than you want - and are ready to initiate the process. These ways of dealing with selection sets work in all versions of the program. If you start with the object selection, on the other hand, you can't use all these helpful tools in older versions of AutoCAD. You can add and delete items from your selection set with windows and direct selection only in the older versions. In the newer versions, you can hold down the shift key while making a selection, and that will remove the item (or windowed group) from the selection set.

Let's start with the basics. You know how to select something. Just click on it. You also know that you can select something by using a window. But the window is more powerful and flexible than you probably realize. If you make a selection window by starting on the left, only objects entirely contained in the window will be selected. If, however, you start on the right and move left, any object even partially included in the window will be selected. That makes it possible for you to select objects much more effectively. You can also use a free-form polygon to select all objects inside it or a free-form crossing polygon to select all objects even partially within it. There is also a selection system called a fence, a free-form polygon that selects all objects the edge of the polygon passes through.

You can remove objects from the selection set as easily as you add them. You can simply use the shift key as you select to remove something from the set, though that will not work in older versions. In addition, only if you are selecting after stating the command (verb-noun process), once you have selected some objects, typing r<cr> (for remove) will tell the system that your selections are to be removed from the selection set. Any selections you make then - with a direct choice or with a window - will be removed from the selection set, and the removal process will continue until you type a<cr> (for add) to return to the process of adding items to the selection set. When you are satisfied that you have the correct items in your selection set, you just type <cr>, and the command will be carried out.

One last comment while we're on this subject. For any command that needs a selection set, you can automatically choose the items in your last selection set - if you are using the verb-noun system - by typing p<cr> (for previous) when prompted to select an object. That selection set, though, can still be added to or reduced before the command is initiated, just as if the items had been selected with a window or direct selection method.

* We want the text items to be on separate layers, too; so select the text "Rect. A" and change its layer to VLT. Change the label, "Rect. B" to HTT, and so on. The layer name is the same as the name for the rectangle, with the T appended.

What layer is the polyline that we drew last time on now? I can't tell you, because I don't know how you drew the selection window when you were changing layers for the rectangles. If you used the system we just discussed, it should still be on layer 0.

* Let's put the polyline on layer EXP. You can select it by clicking on it with the mouse or by using a window. The easy window would be one made from right to left, just touching a piece of the polyline and nothing else.
* Use the chprop command to change the layer to EXP. (If you don't know what layer the polyline is on, the list command can be used.)

When you have finished moving the polyline to layer EXP, try to change the layer for the north side of Rect. A (the vertical surface on the north side of the box). In the current plan view, you can't see the surfaces; so you must return to a 3D view.

* If your last view in this viewport was the 3D view, you can type z<cr> (for zoom) and l<cr> (for last) to go to your last view. Otherwise, type vpoint<cr> and then 1,-1,1<cr> to recreate the 3D view. (Using the coordinates 1,-1,1 to define an isometric view provides the angle defined by a line from the point 1,-1,1 to 0,0,0.)

* Now let's type chprop<cr> and try to select the north side of the box we made out of Rect. B by clicking on its upper edge. We will put it on layer EXP. Once again, users of AutoCAD 2000 will use the Properties window instead of the chprop command.

What is highlighted? It should be the top surface of the box, not the side surface. Why? Both surfaces (actually the side is a thick line, the top of the box is a 3D face, but we see them both as surfaces) include the edge you selected. When you pick such an edge or line that exists in two entities, AutoCAD will choose the last one drawn, in this case the top of the box.

* So now you can click on the other edge of the side of the box to select it as well. But what do you do about the top, which is still highlighted?
* Type r<cr> (for remove) and select the edge of the top surface again. That will remove the top surface from your selection set, and you will have only the side surface selected. (You could also hold down the shift key while picking the top surface. That would also remove it from the selection set. It's probably easier to do; it's a newer feature.)
* Now you can continue the command, moving the surface to layer EXP. (From Release 13 on there is a new way to deal with the problem of always picking the last item drawn - holding down the control key when picking the first item will make AutoCAD choose one object, the last one drawn, but also prepare the system for finding others that share the line. Picking again will make AutoCAD select the next oldest object sharing the line, and continuing the process will get the system to cycle through all the objects there so that you can select the one you need.) It is often a good idea to use a different color for each layer (until you run out of colors) so that you can tell the items on diferent layers apart.


* So type layer<cr> again, then c<cr> (for color), then b<cr> for blue, then VL<cr> as the name of the layer to make blue, then you can either exit the command or, better yet, repeat the color changes, giving each of our layers a different color (use r [red], g [green], and m [magenta]).
* Before you exit the command, change the color for all the layers that have text on them to white (which will display as white on a black screen or black on a white one) by typing c<cr> for changing color, w for white, and then ??T as the layer name. AutoCAD will understand that the command should be applied to all layers with three chracters, the last of which is a T (the ? is a wild-card character, indicating to the system that any character in that spot will do; so two question marks indicate any two characters); so it will make white the color for all entities on layers with two characters followed by a T. Then exit the command. (This is one of those tasks for which you will find the layer command-line approach is much quicker than using the dialog box.)

Now each layer has its own color; so the north side of our box on Rect. B is the wrong color. We should put it back on the correct layer.

* Type chprop<cr> but do not select anything.
* Type p<cr> instead. That tells AutoCAD to select the last used (previous) selection set. Now you can finish the command.

Now let's suppress the material on layer HB.

* Type layer<cr>, f<cr> (for freeze), and HB as the layer name. Then press the <cr> to end the command. Note that Rect. D is now gone - or at least it should be!

You could use the hide command or draw more objects, even in the space occupied by Rect. D, and Rect. D would not be affected. When you thaw the layer again, the rectangle will reappear.

* Type layer<cr>, t<cr> (thaw), and HB as the layer name. Then press the <cr> to end the command. You're back where you were.

Indeed, having layer HB not showing while the label, "Rect. D," was still showing seemed silly. So type layer<cr>, f<cr> (freeze), HB*<cr>, and <cr> to end the command. That will freeze all layers beginning with HB; so both HB and HBT will be frozen. The rectangle and the label will be gone. (The asterisk is another wild-card character, but it indicates any number of unspecified characters, including none.)

* Type layer<cr>, t<cr> (thaw), *<cr>, and <cr> to end the command. That will thaw all layers, since the asterisk indicates that any characters fit the pattern.

Using wild cards in layer names is very much like a DOS or UNIX search, but, unlike DOS or UNIX, AutoCAD will also let you search for characters after an asterisk. So, for instance, the character string *P would work to indicate our layer EXP. Using all the possibilities for specifying layers in groups makes it very easy to manipulate layers using typed commands. By comparison, it takes several steps to accomplish the same processes if you use the dialog box that is next on our list of topics.


You can click on the layer push-button to get a dialog box that will let you make the same adjustments to layers (Release 13 only). That dialog box can also be brought up with the command ddlmodes or by using the pull-down menu called settings in Release 12, data in Release 13. (Commands with dd at the beginning all open dialog boxes.) As already mentioned, the layer command alone in Release 14 or AutoCAD 2000 will bring up the dialog box in those versions of AutoCAD.

It is easier to do some operations with the typed command, as we did above.

Layers can be frozen (or thawed), on (or off), and locked (or unlocked). A layer that has been turned off will not be displayed, just like a layer that has been frozen. But the entities on a layer that has been turned off and left thawed will be part of the data the computer must handle as it redraws and regenerates images. A frozen layer, on the other hand, is completely ignored; so I think it's better only to use freeze and thaw, leaving all layers on.

A locked layer cannot be edited. This is very helpful for layers on which you have primary data. Once entered, the data can be more secure if the layers containing that data have been locked. (You can still use the data points on the layer with commands such as endpoint.)


You have used the hide command. Now try shade instead.

If your current view is not our isometric one, return to our isometric view and shade the drawing again. (vpoint <cr>1,-1,1<cr> to get our isometric view back again.) * Type shade<cr>. The surfaces are now solid-filled with the colors of the outlines. This is a good way to see that you really have surfaces where you need them. Notice that only the text for Rect. C still shows. It shows because the text is at an elevation of 0, but most of the rectangle is well above that elevation; so it does not hide the text.

It's time to save your work.

COPY (again)

* I want you to make a copy of the box called Rect. A - the basic rectangle without its top - and put it on the right side of Rect. C, just as far to the right of Rect. C as Rect. A is to its left. We will call it Rect. E, and we'll put it on layer VR, with a label on layer VRT. Make the color of layer VR cyan. You should be able to be all that without instructions, but it won't be easy.

(Here's how I did it. I started by copying Rect. A - but it's not easy to copy the rectangle without its top. To select only the rectangle for copying, I issued the copy command, used a right-to-left window to select the rectangle and the top quickly, typed R to remove something, selected an edge of the rectangle, knowing that the top was the last thing I drew and would be removed first, and then finished the process. I placed the rectangle using the corners of Rect. A and C to determine the x- and y-coordinates. I used 0 for the z-coordinate, because the z-coordinate does not affect how it will look to us. We've used the coordinates from other rectangles before. Remember? But that put Rect. E right on the edge of Rect. C; so I used the distance command to find out how far apart Rect. A and Rect. C are, and I moved Rect. E accordingly - moving it only in the x-direction, using only the distance between objects in the x-direction. I used the layer command to make two new layers, VR and VRT, and to make cyan the color of layer VR. Then I used the chprop command to put the new rectangle on layer VR. Finally, I set the current layer to VRT and used the text command to make the label, rotating it as we did with the label for Rect. A. Before putting in the text, I returned to a plan view.)


* If you did what I did and changed to the plan view, return to the isometric view. (You can probably use zoom-previous. Before you make this figure, be sure you are on layer VR. When you extrude a figure, even though the figure already exists on a specific layer, the new figure will be on the current layer.

* Select Rect. E. Change the thickness to 0. (Use chprop, remember?) It is now only a rectangle again.
* Type extrude<cr>, and select Rect.E again. (This command does not work as a noun-verb command.) Now give a height of 1 and a taper angle of 0.

Rect. E now looks as it did before, but it is more complex. The new figure has a top and a bottom, and the system understands that it is a solid object, not simply a collection of surfaces. That is an important distinction; this figure is quite different from a series of surfaces. It can be given mass and volume, and many calculations can be performed to determine properties of a solid object with the shape of this figure. (Unfortunately, the solid object has no surfaces if you are working with Release 12. You must issue the command solmesh and select the solid in order to add surfaces to the solid block if you are using Release 12. That is not necessary if you are using Release 13 or later, but please do it now if you are using Release 12.)

* Type hide<cr> to see how this looks. See what happens if you use shade instead. Note the effect of the lid we put on Rect. B. Note also that, in the hidden line drawing, AutoCAD does not produce a line where two surfaces intersect (where Rect. E passes into Rect. B).

* Let's put a truncated pyramid atop the box you just made. First make a polyline around the top of the box. You may need to regen first. (Be sure to use the endpoint sub-command to pick the points and to close the polyline.)
* Type extrude<cr> and then type l<cr> (last) to select the polyline. (It is the last entity drawn.) Extrude it for 1 unit with a taper of -15 degrees. (Use the solmesh command on this figure if you are using Release 12.)


* Now let's move the the truncated pyramid by rotating it.
* Select it. Issue the command, rotate<cr> and select the point about which it will be rotated; choose the nw corner of the base of the pyramid. Then enter the rotation angle of -45 degrees (counter-clockwise).

Now you will see that your 3D view seems wrong, but it isn't. Try hide and

shade to see how it looks. * Let's undo the rotation. (Don't forget to regenerate the image if your view is a shaded or hidden-line one.) Then rotate it again using an angle of -60 degrees. That looks better, but both were actually correct.

Now create a new layer, Trash, and put the truncated pyramid on that layer. Then freeze the layer trash.


Set the current layer to EXP.

Sometimes you need to make a line perpedicular to another but can't know the exact numbers to make it work. The perp command makes it easy.

* Draw a polyline starting at 12,5,0. Then type perp<cr> and select the polyline we drew earlier on layer EXP. (That should be a white or black line; we did not give the layer an explicit color.). Make the next point 12,2 and again type perp<cr> and select the polyline on layer EXP. Finish the command. Note that both line segments are perpendicular to the earlier polyline.

ZOOM - extents, previous, all, vmax, Xscale

Your lines may not show fully; type z<cr> (zoom) and then .5x<cr> to indicate that you want to zoom to half the scale of your current view.

There are several choices in the zoom submenu; all gives you the entire model, up to the limits, including empty space; extents gives you all the drawn objects and no unnecessary empty space; previous gives you the last view; a number gives you a magnification relative to the zoom-all view; a number with an x (as we just did) gives you a magnification relative to the current view; vmax gives you the largest magnification possible without a regeneration of the image. Zoom-window, of course, allows you to pick a window showing the area to be enlarged; you can specify the window corners with the mouse or with typed coordinates. With later versions of AutoCAD there are other options. You should experiment with them, especially the feature called dynamic zoom. Make sure you try the right-click to switch between dynamic zoom and pan and that you understand how to terminate the command.


* Make a new line from 10,8,0 to 10.2,5.2,0.

* You can extend the new line to meet the polyline you just drew. Type extend<cr> and then select the polyline as the boundary.
* Type <cr> to indicate that you have no more boundary lines to locate; then select the last line you drew as the one to be extended.

Your line only extended to the first crossing point on the polyline, but if you do the process again, the line will extend to the next crossing point. Don't exit the command but select the line to be extended again, and your line will make it to the last crossing point.

Now make a line that is parallel to the line you've extended.

* Type copy<cr>, select the line and make the new copy pass through the first point of the polyline. To do that, make the "base point" of your copy at the first intersection of the line and the polyline (use intersection as you have been using endpoint. Then make the second point of displacement at the first point of the polyline.


* Trim the original line you extended by typing trim<cr>. Then select the polyline as the trimming or cutting line and hit <cr> (gently!) to indicate that you've finished selecting trimming lines. Next select the line to be trimmed - but where? Try the end that you extended. Then type u<cr> and try the middle section of the line. Keep undoing and reselecting until you are comfortable that you know what to expect when you select a part of a line. Then end the command with the two ends of the line still in place but the middle section gone.

* Put the polyline and your two parallel lines on the layer Trash. You will note that they disappear, because that layer is frozen.

Time to save again.

Make a slide of your model again.

Then quit. (Making the slide did not change the model; so we don't need to save again.)

End of Session Three

* * * * * * *

Session Four:

grid, snap, ortho, plot, tablet, move and rotate with reference angle

Open your model again. Make sure you have a plan view.


* Type grid<cr> and on<cr> or select the appropriate box at the bottom of the screen (more recent versions). You should see small dots indicating the corners of one-unit squares; it is possible to specify the grid spacing, but one-unit squares is the default.

Note that this grid is an on-screen grid only; it will not print out. (If you have not set the limits, the grid will only cover a small portion of the model; if you have set them, the grid will cover the area defined by the limits.)


* With the grid turned on, you can force the system to choose only points on the grid. Type snap<cr> and choose on<cr> - or, here again, select the appropriate box at the bottom of the screen if you are using a more recent version. The cursor will now snap to the grid corners, but you still can specify a point not on the grid with the keyboard.

You can determine the size of the grid and the configuration of the snap points independently. They will be the same if you set the grid spacing to 0; that tells the system to set the grid spacing to equal the snap spacing. You can also choose snap as a choice in the sub-menu after typing grid. But if you want the grid and snap spacing to be different, then set the grid spacing to any number except 0, and your snap spacing to a different number.

To use the grid and snap features, now use the mouse to draw a polyline (staying on layer EXP from 1,1 to 3,4 to -5,4 to 5,6. (If you haven't noticed before, the coordinates of the current cursor location show in the box at the top of the model, more or less in the center.) Put the new polyline on the layer trash.

* Now turn off the grid and the snap requirement. Type grid<cr> off<cr> and then snap<cr> off<cr>.


* This might seem a good way to draw a horizontal or vertical line, but it's easier to use the ortho command. Type ortho<cr> and select on<cr>, all lines drawn with the mouse or a digitizer will be horizontal or vertical. Draw a few lines to see how this works. (Control-O serves as a "toggle" switch. If you type it, it will turn on or off the ortho mode.)

Save your work.

LAYERS (again)

The importance of layer can't be overstated. Let's try a couple of layer manipulations to see how we can use the layers creatively.

Make sure you have a plan view. Make your current layer VL. Freeze all others (type la<cr>f<cr>* <cr> and then <cr> again to complete the command. You will have instructed the system to freeze all layers, and that may seem pointless, but the system will not freeze the current layer; so VL will still be on.

You have a letter I. Thaw layers H? (layers with two letters, the first of which is an H. You have an E.

Freeze layer HB; you have an F.

Freeze layer HT and thaw VR; you have an H.

For more information about layers and naming them, see the CSA Web document, CSA Layer Naming Convention.


Skip this if you don't have a plotter attached to your system. You may need help from someone to set up your plotter and to make sure the paper and pens are properly installed. If you are using a recent version, the Windows system printer will work.

* To make your first paper drawing, first set the current layer to VL; then freeze all other layers.
* Now type plot<cr>; you will get a dialog box with many choices. For now, you can ignore many of them. First, make sure that there is no check mark in the plot-to-file box. (That may be hard to find if you are using AutoCAD 2000. Note that there are two tabs in the dialog box that pops up in AutoCAD 2000.)
* Then select the window push button so that you can specify the window to be plotted by outlining a window on your model with the rodent. (The window check-box may automatically be checked.) Select the pick choice and make a window around Rect. A, making the window only as large as necessary to include that rectangle. You have specified the part of the model to be drawn. (This process will be slightly different with AutoCAD 2000, but it should be easy to figure out the requirements.)
* Now you must specify the scale of the drawing. The system for doing so is odd. There is a place where you can indicate whether your drawing is to be measured in mm. or inches. Select mm. You will see two boxes, one for plotted mm. and one for drawing units. You need to fill in the boxes with the appropriate numbers. You should be able to say that 40 mm. on paper (plotted) equals 1 drawing unit in the model. (Assuming that our drawing units are meters; that means a scale of 1:25 - check the math to be sure you understand that.) There are checkboxes for full or partial previews - or simply a selection button for each.
* Select full preview and then ask for a preview. Make certain that the area you outlined will fit on the paper. If it doesn't, start over with the window specification. (Don't use the transparent pan command on your model while trying to specify the window. At least in my version of AutoCAD, it causes an error. If you need to pan, stop the plot process, do a regular pan, and then type plot<cr> again.) If all is set correctly, make the drawing. (I often get an error message telling me that the drawing won't fit on the paper, but it is usually a spurious message; so, if you get the same message, try going ahead with the drawing.)

* Measure the rectangle on your drawing. Apply the scale factor, and calculate the size of the rectangle. Compare that to the model. Forget how to get the size of the rectangle in the model? Use dist and endpoint to get the measurements. I think you will find that the long side came out to be a round number (6 meters) and, as a result, was measured more or less exactly, but the shorter side of the rectangle, not being a round number, may not be measured so accurately.


Skip this if you don't have a digitizer attached to your system.

Now let's use the drawing we just produced to make a copy of the rectangle. We'll see how accurately we can use a drawing to enter information. We will trace it on the digitizer. (If you don't have a drawing to use, make a scaled drawing of a rectangle that is 6m. high and .75m. wide and use that drawing instead.)

Note at the beginning that the digitizer has a sighting device, called a puck, that has crosshairs and perhaps some magnification. You will have to place the crosshairs precisely on the points you're trying to pick; so experiment now. Is it better to align the crosshairs with lines when picking a corner, or to try to have all the lines stand clear of one another? It will vary from person to person, but I have found that I prefer not to align the crosshairs with the drawing lines when I have a sharp, clear corner. But I do usually align them when I have a less clear corner. You must be the judge for your own style.

* First, you must get the system to recognize that the digitizer is working at a scale other than one-to-one. That is, the system must repond to a specified movement on the digitizer as equivalent to a larger movement in the real world. You do that by picking two points on the model and identifying the coordinates of the points in real-world terms (x and y only; you can't expect the digitizer to figure out an elevation when it's flat). To start the process, tape the drawing on the digitizer surface. Check your model and use the id command (with endpoint) to get the coordinates of two diagonally opposite corners of the rectangle. (If you are using a paper drawing, consider the lower left point to be 3,2 and the upper right to be 3.75,8.)
* Start the process of calibrating the tablet with the command tablet<cr>; then type cal<cr> (for calibrate). You will be asked for a point on the digitizer. Pick one of the corners for which you know the coordinates. Then you will be asked for the coordinates of the point. Type them in. Do the same for the other known point. The digitizer is now scaled to match the scale of the drawing.
* Before tracing the rectangle, make a new layer called trace. Make trace the current layer, and freeze VL. To trace the rectangle, you need only issue the command - line or pline or 3dpoly - and pick the four corners with the digitizer puck. (Make sure snap and osnap are off.) Close the line to make your rectangle. Now check your new rectangle (with endpoint and either id or dist) to see how close you are to the original size 6 m. x .75 m. Also check the coordinates of each point and compare them to the coordinates for Rect. A.

When you traced the rectangle, what did you do about the elevation of each point? If you only entered the point picked with the digitizer, the elevation was assumed to be the default elevation. (That can be changed with the command elevation<cr>.) If, however, you wanted to make a specific elevation for any of the points you selected, you could have typed .xy before picking the point. The system would have accepted the x- and y-coordinates chosen and prompted you for the z-coordinate, which you would have entered with the keyboard. So you can't enter all three coordinates from the digitizer, but you can use it for two and type the third coordinate.

We chose to calibrate the tablet in a specific way for a reason. Using the diagonally opposite corners of the rectangle, rather than one of the sides, for instance, meant that we used the longest distance between points available on the drawing. That, in turn, meant that the same absolute error in our digitizing process was spread over the largest distance possible. Thus, the error inevitably introduced when we tried to pick specific points was the smallest achievable percentage of the distance. When digitizing any drawing, it's best to calibrate with the best points you have (the ones you know most certainly) and the two such points farthest apart. (Note that the tablet calibration will not survive if you exit AutoCAD. You will have to recalibrate in that case; so you would want to start digitizing with points at the extremities of your drawing and recalibrate with them if you must quit and restart the program.)

* Although we calibrated with the actual coordinates from the model, we could have calibrated with the correct scale but not the actual model coordinates. We'll do that now. First find the distance between the two diagonally opposite points of Rect. A that you used before. (Get the computer to find the distance; it will be more accurate.) Then make another new layer called trace2; make it the current layer and freeze all others. Now recalibrate the tablet by picking the same two points on your drawing, but label the first point 0,0 and the second one x,0 (x being the distance from corner to diagonally opposite corner - I think it should be 6.0467 - 6.047 when rounded off to three decimal places, as we instructed the computer to do). The scale is correct but the position is arbitrary, and the axes are capriciously oriented. Draw the rectangle as before; now we will move it to the correct location, and rotate it to fit.

You may have trouble with the next command, because the tablet is calibrated. You can turn the calibration off and back on (so long as you don't quit AutoCAD in the interim - if you do, it will lose the calibration) with Control-T. It acts as a toggle, changing the tablet mode back and forth from calibrated to normal.


If you do not have a digitizing tablet and therefore do not have the new rectangle to use, please draw one, using the pline command, from 0.021,1.551,1, to -3.884,6.106, to -3.315,6.594, to .591,2.039. Don't forget to close the figure; use it in the following. Put it on layer trace.

* Now turn back on layer VL so you have Rect. A to guide you. Return to the isometric view. Move the new rectangle with the aid of the endpoint feature so that one corner lies precisely on the appropriate corner of Rect. A. Use the id or list command to check your move, making sure that both rectangles have one corner in exactly the same place.

* Now type rotate<cr> to start the process of rotation.

This time, let's match the angle from corner to corner of the new rectangle to the comparable angle in the original one, which we can't do with numbers, since we don't know the rotation required. We want to tell the system to use the angle from corner to corner of our new rectangle as a starting reference and to rotate the rectangle so it matches the angle from corner to corner of Rect. A.

* After you've picked the rectangle and located the base corner around which to rotate it, the prompt will be "/Reference:." Type ref<cr> to indicate that you will provide the reference angle. The new prompt is "Reference angle <90.000>:." Pick the ends of the diagonal on the new rectangle to define the reference angle. Start with the end at the base point, and be sure to use endpoint. Then the system will prompt you for the new angle. Again using endpoint, select the corner of Rect. A where the corner of your new rectangle belongs. That should complete the rotation.

Time to save your work again.

End of Session Four

* * * * * * *

Session Five:

copy multiple, array, mirror, bhatch

Open your model. Get a plan view, and make sure that all the layers that are not text layers are displayed.

Make a layer called GRID, and make it the current layer.


* Making multiple versions of something is one of the things a CAD program does very well. Draw a line from -10,10 to -8,12 To copy that line, you know that you can type copy and make a new line in another place. You can also type copy and make many new lines in several places. But first you may need to zoom to be able to see the line you just drew.
* So select the line, and type copy<cr>.
* Then type m<cr> to indicate multiple copies.
* Now pick one end of the line (using endpoint) and indicate where the copies will go by typing @2,0<cr>, @4,0<cr>, @6,0<cr>, and @8,0<cr>. Then type another <cr> to end the sequence. You have just made four copies of the line, each two units apart.


An easier way to make multiple copies for a regular grouping of items is to use the array command.

* Type array<cr> and pick the last of the lines you just made (the rightmost line). Then you need to type <cr> to indicate that you have no more objects to select.
* You will be prompted for whether your array is to be rectangular or polar (rotational); choose r<cr> for rectangular.
* Then indicate that you want 2 rows and 5 columns .
* Then tell the system that you want the rows and columns to be 3 units apart. The results are similar to those we obtained with the multiple copy command, but we requested two rows and five columns. (The system counts the existing line as part of the completed array.)


Make your current layer VL, and freeze grid and trash. If you want to make a mirror image of an object instead of a copy, use the mirror command.

* Type mirror<cr> and select the polyline that surrounds the rectangles.
* Now you must choose a mirror line - a line that will mark the half-way point between the original and its mirror image. (This line need not be an actual line in the model, but may be a line implied by two sets of coordinates. In practice, you may need to construct a mirror line to use the command.)
* In this case, use an imaginary horizontal line tangent to the arc of the polyline at the top. To make such an imaginary line, type tan<cr> and select the top of the arc; then type @5,0<cr> to define the end of the line. Now indicate that the original polyline should not be removed. Done! You may need to zoom out to see your handiwork, but you now have a image of the original polyline. (Note that the mirror image is on the same layer as the original, though the current layer was VL.) I have had trouble with the part of this process when I indicate the beginning of the tangent line. I'm not sure what happens, but it sometimes does not work correctly. If you have trouble, try again. It should work. If all else fails, make the mirror line first, use the mirror command, and then erase the line.

* Make layer EXP the current layer.


The command bhatch puts cross-hatching of some sort in a bounded area.

* Type bhatch<cr>.
* You will get a very complicated dialog box that varies rather dramatically from version to version of AutoCAD. The easiest way to use the command is to begin by picking a point in the model that has boundaries. (This is a 2D notion; so the lines that make the boundary in plan view may or may not constitute a true boundary, since they may be at different elevations. Lines that are not in a horizontal plane will be ignored. So it may be hard to get the results you want.).
* In the dialog box indicate that you are going to pick a point and do so, choosing one or more points that lie inside bounded areas.
* Then use the <cr> to indicate that you have picked the point(s) you want. The dialog box will reappear.
* Now, if you are using R12, pick hatch options to get yet another dialog box. (There are more to come!)
* In this one, you should pick patterns to see the available patterns (you can make your own if you don't like these).
* Pick one of the existing patterns (trust me on this, don't try to make your own yet).
* Having picked the pattern, you will see that in the hatch options dialog box there are indicators of scale, angle, and spacing. Don't try to change those now, but accept the defaults and select ok to go back to the BOUNDARY HATCH dialog box..
* If you are using R13 or later, all the choices (except "advanced" are in the first dialog box.
* Select preview hatch to see the command. Try several possibilities to see what is possible before finishing the command with some part of the area hatched. Then make a new layer called HATCH, and put the hatching on it. Freeze that layer.

Make a slide of the current screen.

Save and quit. (You can always use end instead, but not on later versions. I prefer to save as a separate process before quitting so that I can be more certain that the model has been saved before I have quit working. It also means that I am not in the habit of using the end command. That's good, because I don't want to save when I am only looking at a model rather than editing it; so the quit command is better there.)

End of Session Five.

* * * * * * *

Session Six:

3dface and complex surfaces, edge, splframe

Open your model. Get a plan view, and make sure that all the layers that are not text layers are displayed. Freeze HATCH, GRID, and TRASH as well.

Make a layer called FACES, and make it the current layer.

We have been making combinations of lines, polylines, and 3D faces so far, but let's now make a figure that consists entirely of faces, surfaces. These are the kinds of figures we should make, in fact, when constructing 3D models. So let's begin by making a box, entirely constructed of faces, to contain all the horizontal and vertical rectangles we've drawn so far.

* Use the 3dface command to make a face with the following corners: 2.5, 8.5, -2; 7.5, 8.5, -2; 7.5, 1.5, -2; 2.5, 1.5, -2.

* That surface will lie below all the lines and surfaces of the rectangle we've drawn. Now copy it and put the copy at an elevation of 2.5.

* Now you have a top and bottom surface. Put sides on the "box" by using the 3dface command.
Remember that you will want to use an isometric view and the osnap with endpoint option to make the sides of the box.

* You should now have a six-sided box consisting only surfaces. To prove that there are surfaces, let's move around the box and see how it looks from various angles. Use the vpoint command to make views from 1,1,1; -1,-1,-1; 1,-1,1; and -1,1,-1. After generating each viewpoint, use the hide command to see how the box appears. You will find that the views from below the level of the box (the ones with -1 as the z-coordinate) to be very deceptive. But you should find that, in each view, the rectangles we drew before are hidden and the polyline is not, because it lies entirely outside the box. Part of the polyline will be hidden, because the box will be in front of it.

* So far, we've only worked on four-sided boxes, quadrilateral shapes. Now let's try to make a box with five sides, one that contains the box we just drew (let's call it Box 1) but not the polyline. First, make a new layer called PENT; make it the current layer. Now let's make a 3dface using these 5 points: 1.7,1.3,3; 8.3, 1.3, 3; 8.3, 8.5, 3; 5, 11, 3; 1.7, 8.5, 3. (You will need to use <cr> twice to complete the command.)

* The results should be quite unsatisfactory. You will have picked five points, but you will have drawn one quadrilateral face, using the first four points specified, and one triangular face, using the last three points specified. Use the hide command and the list command to see what has happened.

* We can try this again, entering the points in a different order, to get a pentagonal figure. First erase your last surfaces (there are two separate ones) and enter the points in this order: 1.7,1.3,3; 8.3, 1.3, 3; 8.3, 8.5, 3; 1.7, 8.5, 3; 5, 11, 3. (You will, again, need to use <cr> twice to complete the command.) What do you have this time? You should have another quadrilateral figure and another triangular one, but this time they should cover the entire area correctly. Try the hide command to be sure.

* However, there are still two figures, with a line separating them, rather than a single pentagonal surface. We can make them appear to be a single surface by hiding the line of separation. Type EDGE and select the line of separation. You will probably have to do that twice, since there as a boundary line on each of the surfaces. In addition, there are still two separate surfaces, even though they appear to be one. If you were to try to erase the pentagonal surface, you would need to erase both the quadrilateral and the triangular ones.

* Let's copy the surfaces you just made and put them at an elevation of -3. Make sure you get both surfaces.

* Now you should have four new surfaces, two at an elevation of 3, and two at an elevation of -3. Choose a viewpoint of 1, 1, 1. Now let's put sides on the box, but let's use more complex surfaces to do that. In order to see what we're doing better, freeze all the layers except PENT. You should see the two pentagonal figures from a reasonable viewing angle.

* As we just learned, we can make figures with more than four sides, but we have to be careful about choosing the points in the right order. We must enter the points so that the first four points will define a quadrilateral figure and the next point (or two points) will make a second figure, either a triangular or a quadrilateral figure, out of points three, four, and five (or three, four, five, and six), in that order. In fact, it is possible to keep adding new points indefinitely, but each time we finish a quadrilateral figure, we start a new quadrilateral or triangular figure based on the last two points entered and the next one or two points. (Only the last figure can be a triangle.) The ordering of the points is crucial; each new figure is based on the last three or four points entered, always in the order entered. Let's see just how effective this command can be by putting sides on our pentagonal box, which only has a top and bottom so far.

* Set the osnap to end so that you will be choosing endpoints in the following. Type 3dface and then select points in this order. Start on the upper pentagon, at the corner furthest from you (the SW corner), then pick the same corner of the lower pentagon, then the next corner of the lower pentagon (going clockwise), then the corresponding corner of the upper pentagon, then the next corner (continuing clockwise) of the upper pentagon, then the corresponding corner of the lower pentagon, the next corner of the lower pentagon (still clockwise), and so on until you come back to the first two points, which you will have to pick again. Type hide to see the results. If there are incorrect surfaces, it is probably the result of selecting points out of order. You should do this over again, if necessary, to get it right.

* Now thaw again the layers HM, HB, HT, VR, VL, and FACES. (Remember, you could use H? and V? to get all the rectangles.) Use the hide command to see what happens.
* Making larger surfaces can become rather complex. Let's see how to approach that task, using a polyline as the boundary so that we can re-work the surfacing possibilities without typing coordinates again and again. Return to the plan view. Draw a closed polyline (still on layer PENT) using these coordinates: 11, 9, 0; 10, 4; 12, 0; 15, 1; 16, 3; 15, 5; 13.5, 7. Now let's try to make a surface within the boundary of that polygon. (Remember that, once you specified an elevation for the first point, all succeeding elevations were determined, and no z-values could be entered after the first point of the polyline.)

* First, zoom in to make the polyline occupy most of your screen area.

* If you look at this figure, I think you will find that it would be impossible to make a surface with this boundary with a single 3dface command. We may be able to do it with only two, but we will want to use a feature we have not previously discussed. When using the 3dface command, typing I with a space or <cr> before specifying a point causes the system to make the edge coming up (the one indicated by the point about to be specified and the following one) invisible. We made the common edge of the triangular and quadrilateral surfaces invisible before (but after the fact) to make our pentagon look like a pentagon. We could have done it while drawing the figure. We will do that here.

* Type 3dface and, using your rodent with osnap set to endpoint, select the starting point of the polyline (11, 9, 0), then type I<cr>, then select the next point (10, 4), then type I<cr> again, then select the point at 15, 1, then select the point at 13.5, 7. Don't complete the command yet, but notice that you have selected four points but specified that the lines from the second to the third and the third to the fourth points be made invisible. Now select the points at 15, 5 and 16, 3. Complete the command.

You have a hexagonal figure, but one edge of it is not visible (and, as you realize, the hexagon is actually two adjacent quadrilateral figures with the common edge not showing.

* Now we will make another figure to complete the surface. But first we should make certain that the surface we have drawn is really a surface. Draw a polyline from 10, 7.5, -1 to 15, 7 to 10, 6 to 15, 3 to 10, 1. Issue the hide command. You can see clearly where there are surfaces.

* Start the 3dface command again. Select the point at 10, 4; then the one at 12, 0; then type I<cr>; then select the point at 15, 1. Complete the command. That will make a tringular figure, this one adjacent to the original one. Here again, the common edge has been made invisible. Re-issue the hide command. Now the figure is complete.

* Now zoom back out so that you can see our boxes and the surface(s) we just made. Type splframe. Make the value 1 instead of the default value of 0. You have just changed one of the AutoCAD system variables; this one controls the visibility of the lines we have declared to be invisible. Sometimes we want to see them. Type regen. Notice now that all the invisible lines, the ones in the figures we just constructed and the ones in the boxes, are now visible. Type splframe again, change the value back to 0, and type regen again. The lines are invisible again.

* This may be a good time to check your AutoCAD manual. The 3dface command is not easy to use; more than one explanation may help.

Time to save and stop.

End of Session Six.

* * * * * * *

About this document: