8/22/2007
Blocks
A block in Autocad is a collection of all of the line and arc entities that create an object, 'moulded' together to make one selectable object. Selecting one particular entity (such as a midpoint of a line for example) will select all objects contained within the block. They can be moved, rotated, mirrored etc and will always be treated by Autocad as one whole object.The only way to 'break' the block apart, and split it into its seperate line entities, is to explode it. If one particular part of a block needs to be changed, the block has to be exploded, the modification made, and the objects created back into a block.
Why use Blocks?
Blocks are an invaluable way of quickly arranging complex pieces of a drawing. Selecting the object is a breeze, it is no longer neccessary to painstakingly select each indivdual line. They also prevent accidental modification of parts of the object, as they cannot be modified unless the whole block has been exploded. Blocks also make it easy to duplicate the same object throughout a drawing, and as Autocad recognises that each copy of a block is identical to the previous, the memory & processing time required byAutocad is reduced.The most impressive feature of blocks is that if a block detail has to be amended, simply changing the detail and 'redefining' the block applies the changes to EVERY instance of the block in the drawing!
Autocad Object Snap

The first point of the Rectangle above was drawn from the Endpoint of the 45 degree line.
The object snap tools can be used whenever a point has to be defined, which is in nearly every drawing command used! When we use the snap tools, a yellow marker will appear when the cursor is near a suitable snap point. A single left click of the mouse will automatically select the marked point.
From left to right on the above toolbar screen shot (Note: Dependant on your version of Autocad, some snap settings may not be available).
Snap to Endpoint - This will select the endpoint of any line or polyline segment. Also works on 'closed' objects such as rectangles.
Snap to Midpoint - Very handy tool. This will select the mid-point of any line segment.
Snap to Intersection - Selects the exact point at which two lines cross.
Snap to Apparent Intersection - Similar to above, although the lines don't have to intersect. This snap requires you to select a line, then hover the cursor over any other line, the marker will let you select the point where the two lines would intersect if they were extended.
Snap to Extension - This snap tool enables you to select a point along the same orientation as an existing line, with a handy readout of the angle and position of the point (See screen shot below).
Snap to Center - This handy snap function selects the perfect centre of an existing circle. Even more impressive however is that the centurion of an arc or semi-circle can also be selected.
Snap to Quadrant - Snap to the four quadrant points of a circle (Top, bottom, left and right).
Snap to Tangent - As it says, snaps to the tangent point of an arc.
Snap to Perpendicular - Snaps to the the perpendicular point on an object from the original start point. Pretty straightforward, and very useful.
Snap to Parallel - Snaps parallel to a specified line.
Snap to Insert - Snaps to the insert point of an object, such as an inserted block. Not really that useful.
Snap to Node - Snaps to points drawn using the POINT command.
Snap to Nearest - Should be called snap to anything! Quite literally will snap to anywhere along any length of any object. Can be useful though while 'sketching' with Autocad, or perhaps laying down a few construction lines.
Object snap settings - Snap settings.
Object snap can be toggled to be permanently on or off via the OSNAP tab situated to the bottom of the CAD window above the Windows start menu. Alternatively simply press F3 to toggle.
To change which snap functions are to be used, either right click the OSNAP tab and select 'settings', or select the object snap settings button from the Object Snap toolbar.
8/11/2007
Autocad Hatching



Pattern - This is where we select a hatch pattern from Autocad's default list. Select to view more patterns. The hatch pattern palette appears, with hatch patterns arranged under the categories: ;ANSI', 'ISO', 'Other Predefined' and 'Custom'. The most common hatch patterns required are under the 'Other Predefined' Tab.
Angle - This sets the angle of the hatch pattern, the default value is 0.
Scale - This sets the size of the hatch pattern. This must be set correctly dependant on if you are drawing in metres or millimetres. A little trial and error is required to obtain a suitable scale (See Preview below).
Pick Points & Select Objects - These are Autocad's two different methods of hatching an area. Using pick point, clicking inside an area (such as a rectangle) will result in the hatch pattern being applied to all blank space within the boundary. Select object simply hatches within a selected object.Great care must be taken to ensure that the area to be hatched is closed, and all line endpoints are meeting each other. If a small gap is left open, the hatch command will fail, usually with the error: Unable to hatch boundary.
Preview - Enables a quick preview of the hatch before applying it, letting us quickly change and preview settings before we ok them. Very useful when trying different hatch scales.
Inherit Properties - This command enables the hatch settings of a hatch already in use in the drawing to be brought into the boundary hatch dialogue box.
Composition - This is how Autocad is to treat objects to be hatched. For the moment, leave it set to Associative.
Pick Point
The above hatch was created by using the pick point method. The hatch stays within all the solid lines.Select Object
The above hatch was created by using the select object command. The rectangle was selected, and as a result all of the rectangle becomes hatched. Interestingly, if both the hexagon and rectangle were selected (i.e BOTH boundaries) then the hatch pattern would have had the same result as in the above 'pick point' exampleBe careful to ensure that there are no gaps in the boundary to be selected (zoom in if required). Usually, this results in either unexpected results, or a hatch error as shown below.
Have a go with the hatch command with the following Autocad drawing file:Your finished drawing should look like the one below:

Autocad Text
2) When prompted for a start point, select somewhere in the screen just left of centre
3) When asked for a height, enter 3
4) When asked for a rotation angle, hit enter to accept the default of 0.
5) Now simply enter your text. Type: Autocad Central then hit return to start a new lineType: Lesson 8
6) Hit return twice to exit the text command.
The text should be on two separate lines as shown below:

Try selecting the text. Notice how each line is separately selectable and independent of the previous line? Although the text command is simple to use, as each line is separately editable, modifying notes on a drawing can become a nightmare! This text type is called single line text.
Multiline Text
Multiline text is the more advanced text tool within Autocad. It can be chosen from the 'draw' toolbar by this icon:
. The multiline text command has its own editor, with all the options available that you'd expect to see in a word processing program. Also, all text on separate lines is treated together, so editing notes and sentences is simple.
1) Select the multiline command button 
2) We are prompted to select a first corner then second corner. This invisible boundary sets the horizontal extent of the text. When text is entered into the multiline text editor, it will automatically start a second line when it comes to the edge of the text box we specified. Similar to getting to the right hand margin in a text editor. Select a box roughly a quarter of the drawing area.
3) The Multiline Text Editor then appears:
The main character tab of the text editor box is where we choose the font style, text height, colour and also add symbols such as diameter or degrees symbols.
The Properties tab is where we can change the text rotation and paragraph justification settings.
Change the text style to 'Arial'
4) Set text height to 3
5) Enter the following text into the text editor window: Autocad Central
6) Hit enter for a new line, then enter: Lesson 8
7) Press the ok button to place the text into the drawing (The text placement will be justified as set in the properties-justification setting in the text editor, relative to the text area box we selected in step 1)
Notice how when the text is selected, it is treated as one entity rather than separate lines? This makes it much easier and quicker to edit. To edit the text in the drawing area, simply double click the text with the cursor to open up the text editor.
Text in Autocad is treated like every other object, it can be rotated, mirrored, exploded, moved layers etc.
When setting the text height, it is important to remember that it is relative to the units you are using. For example, if you decide that 1 Autocad unit is equal to a metre, then setting a text height of 3 would result in 3m high text, and would tower over the drawing! A text size of somewhere around 0.02 would probably be more appropriate. When first using text, a small amount of trial and error is required to get the text height to a suitable size. Try to aim for a text height which measures between 2 and 3mm in paperspace for general notes.
Layers

button which is located on the object properties toolbar:


Name - Displays the layer name.
On - Controls if the layer is on or off. Select the light bulb to turn the layer off on the drawing.
Freeze in all VP - Pressing this will freeze the layer in all viewports as well as the current model view (see lesson 10 to learn about viewports)
Lock - This handy feature locks a layer preventing any content of the layer from being modified.
Colour - Change this to whichever colour you like. All objects drawn on the layer will display the chosen colour provided that the objects colour setting in the object properties toolbar (shown above) is set to 'By Layer'.
Linetype - Set the default linetype for all objects drawn on the layer. i.e continuous, dashed, dotted etc.
Lineweight - Set the thickness a line appears .Default is no thickness. This option can be toggled on/off on the display by the LWT button above the command console.
Plot - Select if the layer will be shown when the drawing is plotted (printed).
The current layer, layer colour, linetype and lineweight can all be controlled outside of the layer properties manager via the object properties toolbar.
That's it for basic layer controls! Get used to using layers as you will be using them often - especially when you find you need to start managing large drawing files that contain a lot of information.
Modify Commands(2)
The object should have been rotated as shown above

The selection window (shown green) with a box drawn top left to bottom right results in the objects within the window being selected as shown on the second image shown above. Note that the circle only partially within the window does not get selected.

1) Select the stretch command button


is activated, before the line is selected, we need to tell Autocad how we will lengthen the line.
DE - Delta: Autocad asks for a distance to lengthen the line by, when the line is selected it will then be lengthened by the specified distance ONLY to the side of the line where the line was selected. i.e If when you selected the line, you selected it just to the left of centre, then the left side of the line would be lengthened.P - Percent: Autocad asks for a percent to lengthen by, then asks you to select the line. Specifying 50% would reduce the size of the line by half (The same effect as scaling by a factor of 0.5). Specifying 100% would result in no change in length. 200% would double the length of the line. When specifying the percentage to Autocad only the numerical figure has to be entered and not the percent (%) symbol.
T - Total: Autocad asks for the distance you want the entire line to be, when you select the line it will adjust the lines length to the distance specified.
DY - Dynamic: Autocad adjusts the length of the line as the mouse is moved in the direction the line is to be lengthened. This is not an accurate technique, although is useful for quickly lengthening construction lines for example.
The protruding yellow lines on the image on the left have been trimmed to the edge of the rectangle as shown on the right image


The rectangle on the left is 50mmx50mm. The rectangle on the right has been chamfered by a distance of 5mm.
4) Autocad asks for the first chamfer distance. Enter 5 then enter.
5) Autocad then asks for the second chamfer distance. In this case we are using the same chamfer distance, although Autocad can draw a chamfer with two separate distances. As we want the same distance, input 5 then enter.
We now need to select the two lines to chamfer. This would be the two intersecting lines we wish to chamfer.
6) Select the first line to chamfer then enter.
7) Select the second line then enter.
The command works exactly the same as the chamfer command, except we must specify a radius rather than a distance. We'll go through the process just incase you're unsure:
3) We will specify a radius, so enter R for radius
4) Autocad asks for the fillet radius, enter 5 then hit enter
The fillet radius is now set.
5) Select the first line segment to fillet then hit enter
6) Select the second line segment to fillet then hit enter
, then select the rectangle object, it will be broken down (or exploded!) into its 4 separate lines. Modify Commands(1)
The modify tools (from left to right):Erase - Select this button then a drawing element to erase it permanently from the drawing.
Copy - The copy command will copy any selected drawing elements and reposition where specified by the user, without affecting the original elements.
1)Select the copy button, then select the object(s) to copy then hit return (or right click)
2) Select the base point where to copy from (For example if copying a circle, it would be sensible for the base point to be the centre of the circle)
When quickly copying an object it is quite acceptable to simply pick a rough point to copy and then position an object without specifying co-ordinates, it can then be accurately positioned in the drawing area using the move command.
Mirror - The mirror command will create a mirror image of any selected drawing elements along any line of symmetry specified by the user.
Mirror Tutor
1) Open the drawing file. It should look like the one shown below:
2) Select the mirror command from the modify toolbar (or choose 'modify - mirror' from the drop down menus)
3) Select the blue object (Looks like half a wine glass?!)
4) We are now prompted to specify the first point of the mirror line, choose the centre of the cross marked 'A'
5) We now need to enter the second point of the mirror line, select the centre of the cross marked 'B'
6) Autocad now asks if we want to delete the source object. We need to enter 'Y' for yes or 'N' for no (simply hitting enter would accept the default setting of 'no'). Deleting the source object results in a mirrored copy of the original object, without the original object. In this case we want to keep the original object to complete the drawing. Enter N for no followed by enter.

The offset command simply creates a copy of the selected objects, at the distance specified, to either side of the original object.
3) When prompted for an offset distance, enter 10 .
4) When asked to select an object, select the rectangle we drew.

Rectangular Array 2) Select 'rectangular array'

6) For angle to fill, enter 360.

Your drawing should look similar to the one shown below:
Polylines

The options are: Arc, Halfwidth, Length,Undo,Width. To select which option we require, enter the letter from the command we require that is in UPPER case (Which is most often, but not always, the first letter of the word).4) We are going to draw a pond on the land, so enter A for Arc.
5) Notice how the line becomes arced instantly? Select a few points and close the polyline to get something similar to the drawing shown below.
Note: when you enter 'c' for close, AutoCAD will ask you to clarify you want to use the close command and not centre (as they both begin with c). Enter CL for close which are the two upper case characters).
The arc command is obviously not just for drawing free-hand ponds! We can enter further commands within the arc command by using their upper case letters to have more control over the arc, such as specifying a radius.
Have a play with the arc command and get familiar with how it functions.
Advanced Polylines - Width
1) Now we'll draw a fence around the pond. Select the polyline command again, select a point close to the edge of the pond to begin the polyline.
2) Press W to activate the polyline width command. By default the polyline width command is set to 0. Autocad asks for a width for the start of the line, enter 0.1 then hit enter. AutoCAD now asks for the width for the end of the line, as we want it to be the same thickness, enter 0.1 again. Now just try drawing a free hand fence around the pond.
The thickness command is very useful, the more that you use AutoCAD the more reasons you'll find to use it!
Try drawing a new polyline with a starting width of 0, and an ending width of 1. A handy arrowhead pointer?
Thats about it for polylines! They may not seem so great just yet, but when we start using modify commands you'll see just how useful it is to be able to manipulate and select a whole complex shape in one go rather than selecting all the separate entities.
Drawing Limits
In the previous tutorial, drawing limits were mentioned while explaining the use of the zoom all command. When the zoom all command is chosen, AutoCAD zooms to the extent of the user defined limits. Limits can be thought of as the extent of the drawing area. The AutoCAD drawing area is, in theory, infinite. As long as you continue to draw, AutoCAD will continue to give you the drawing space.
If thought of in practical terms, if we were to manually pencil draw a 1:1 scale (full size) drawing of a wrist watch, why draw it on an A0 sized sheet of paper when A4 size is adequate? AutoCAD drawing limits follow the same logic. We can tell AutoCAD the drawing space we require (although we have the option to increase this if we so desire at a later stage).
AutoCAD will display a grid to the extent of the drawing limits specified.
Lets have a go:
1) Start a new AutoCAD drawing.
7) Now try using the zoom all command. The drawing will be barely visible (if at all). This is because the default limits are not set correctly for our drawing. We need to enter new drawing limits.
8) Type limits directly into AutoCAD's command line. You will be asked to specify the lower left co-ordinates (remember - in relation to the UCS). Hit enter to accept the default value of 0.0000,0.0000.
9) AutoCAD now wants us to specify the upper right limit co-ordinates. There is no right or wrong value, but it should be set to a sensible value for the drawing size. Our drawing is only 0.52m x 0.37m. Lets enter an upper limit of say, 1m,1m from the UCS. Enter 1,1 into the command line and hit enter.
10) Now try the zoom all command again. The view should be much closer as it is set to the drawing limits.
Some professional AutoCAD users manage to go their whole careers without ever altering AutoCAD's limit setting, and quite frankly:- it's easily done! There will be many times (especially if like me, you never use the zoom all command and grid!) that adjusting AutoCAD's default limit settings has no advantage.Why mention it then? well... occasionally while panning your pan icon may gain a line next to it (dependant on the pan direction) and you can't pan any further. This is because the limits have been reached and AutoCAD refuses to let you see beyond your defined drawing areas. You may then require to enter the limits command and change the default setting.
Try panning away from the drawing we just made, as soon as you hit the 1m drawing limit we set, we can't pan any further.
Just in case you were curious, the drawing is of a DVD case (520mmx370mm). If we were to have drawn the case in millimetres instead of metres (i.e we decide one AutoCAD unit shall equal 1mm instead of 1m - perfectly acceptable to do) then a much larger upper right drawing limit would have been required, perhaps 1000,1000.
That's about all there is to know about drawing limits!









