• home
  • forum
  • my
  • kt
  • download
  • Drawing Objects

    Author: 2007-06-22 11:17:58 From:

    This tutorial is designed to show you how all of the AutoCAD Draw commands work. If you just need information quickly, use the QuickFind toolbar below to go straight to the command you want or select a topic from the contents list above. Not all of the Draw commands that appear on the Draw toolbar are covered in this tutorial. Blocks, Hatch and Text for example are all tutorial topics in their own right!

    LineConstruction LineMultilinePolylinePolygonRectangleArcCircleSplineEllipseNot covered in this tutorialPointNot covered in this tutorial

    The Draw commands can be used to create new objects such as lines and circles. Most AutoCAD drawings are composed purely and simply from these basic components. A good understanding of the Draw commands is fundamental to the efficient use of AutoCAD.Draw Pull-Down Menu

    The sections below cover the most frequently used Draw commands such as Line, Polyline and Circle as well as the more advanced commands like Multiline and Multiline Style. As a newcomer to AutoCAD, you may wish to skip the more advanced commands in order to properly master the basics. You can always return to this tutorial in the future when you are more confident.

    In common with most AutoCAD commands, the Draw commands can be started in a number of ways. Command names or short-cuts can be entered at the keyboard, commands can be started from the Draw pull-down menu, shown on the right or from the Draw toolbar. The method you use is dependent upon the type of work you are doing and how experienced a user you are. Don't worry too much about this, just use whatever method feels easiest or most convenient at the time. Your drawing technique will improve over time and with experience so don't expect to be working very quickly at first.

    If you are working with the pull-down menus, it is worth considering the visual syntax that is common to all pull-downs used in the Windows operating ststem. For example, a small arrow like so "" next to a menu item means that the item leads to a sub-menu that may contain other commands or command options. An elipsis, "¡­" after a menu item means that the item displays a dialogue box. These little visual clues will help you to work more effectively with menus because they tell you what to expect and help to avoid surprises for the newcommer.

    Construction LinePull-downDrawConstruction LineKeyboardXLINEshort-cutXLThe Construction Line command creates a line of infinite length which passes through two picked points. Construction lines are very useful for creating construction frameworks or grids within which to design.

    Construction lines are not normally used as objects in finished drawings, it is usual, therefore, to draw all your construction lines on a separate layer which will be turned off or frozen prior to printing. See the Object Properties tutorial to find out how to create new layers. Because of their nature, the Zoom Extents command option ignores construction lines.

    Command Sequence

    Command: XLINE
    Specify a point or [Hor/Ver/Ang/Bisect/Offset]: (pick a point)
    Specify through point: (pick a second point)
    Specify through point: Return (to end or pick another point)

    You may notice that there are a number of options with this command. For example, the "Hor" and "Ver" options can be used to draw construction lines that are truly horizontal or vertical. In both these cases, only a single pick point is required because the direction of the line is predetermined. To use a command option, simply enter the capitalised part of the option name at the command prompt. Follow the command sequence below to see how you would draw a construction line using the Horizontal option.

    Command Sequence

    Command: XLINE
    Hor/Ver/Ang/Bisect/Offset/<From point>: HReturn
    Through point: (pick a point to position the line)
    Through point: Return (to end or pick a point for another horizontal line)

    The Ray Command

    Toolbarcustom Ray
    Pull-downDrawRay
    KeyboardRAY
    The Ray command creates a line similar to a construction line except that it extends infinitely in one direction from the first pick point. The direction of the Ray is determined by the position of the second pick point.

    Command Sequence

    Command: RAY
    Specify start point: (pick the start point)
    Specify through point: (pick a second point to determine direction)
    Specify through point: Return (to end or pick another point)

    PolygonePull-downDrawPolygonKeyboardPOLYGONshort-cutPOLThe Polygon command can be used to draw any regular polygon from 3 sides up to 1024 sides. This command requires four inputs from the user, the number of sides, a pick point for the centre of the polygon, whether you want the polygon inscribed or circumscribed and then a pick point which determines both the radius of this imaginary circle and the orientation of the polygon. The polygon command creates a closed polyline in the shape of the required polygon.

    This command also allows you to define the polygon by entering the length of a side using the Edge option. You can also control the size of the polygon by entering an exact radius for the circle. Follow the command sequence below to see how this command works.

    Command Sequence

    Command: POLYGON
    Enter number of sides <4>: 5 Return
    Specify center of polygon or [Edge]: (pick P1 or type E to define by edge length)
    Enter an option [Inscribed in circle/Circumscribed about circle] <I>: Return
        (to accept the inscribed default or type C for circumscribed)
    Specify radius of circle: (pick P2 or enter exact radius)

    In the illustration above, the polygon on the left is inscribed (inside the circle with the polygon vertexes touching it), the one in the middle is circumscribed (outside the circle with the polyline edges tangential to it) and the one on the right is defined by the length of an edge.

    The Donut Command

    Toolbarcustom Donut
    Pull-downDrawDonut
    KeyboardDONUTshort-cutDO
    This command draws a solid donut shape. AutoCAD asks you to define the inside diameter i.e. the diameter of the hole and then the outside diameter of the donut. The donut is then drawn in outline and you are asked to pick the centre point in order to position the donut. You can continue picking centre points to draw more donuts or you can hit Return to end the command. Surprisingly, donuts are constructed from single closed polylines composed of two arc segments which have been given a width. Fortunately AutoCAD works all this out for you, so all you see is a donut.

    Command Sequence

    Command: DONUT
    Specify inside diameter of donut <0.5000>:
        (pick any two points to define a diameter or enter the exact length)
    Specify outside diameter of donut <1.0000>:
        (pick any two points to define a diameter or enter the exact length)
    Specify center of donut or <exit>: (pick P1)
    Specify center of donut or <exit>: Return
        (to end or continue to pick for more doughnuts)

    As an alternative to picking two points or entering a value for the diameters, you could just hit Return to accept the default value. Most AutoCAD commands that require user input have default values. They always appear in triangular brackets like this <default value>.

    Curiously enough AutoCAD doesn't seem to mind if you make the inside diameter of a donut larger than the outside diameter, try it and see.

    EllipsePull-downDrawEllipseAxis, EndKeyboardELLIPSEshort-cutEL The Ellipse command gives you a number of different creation options. The default option is to pick the two end points of an axis and then a third point to define the eccentricity of the ellipse. After you have mastered the default option, try out the others.

    Command Sequence

    Command: ELLIPSE
    Specify axis endpoint of ellipse or [Arc/Center]: (pick P1)
    Specify other endpoint of axis: (pick P2)
    Specify distance to other axis or [Rotation]: (pick P3)

    The ellipse command can also be used to draw isometric circles. See the worked example in the Drawing Aids tutorial to find out how to do this and how to draw in isometric projection with AutoCAD.

    The Spline Command

    ToolbarSpline
    Pull-downDrawSpline
    KeyboardSPLINEshort-cutSPL
    Spline Tolerance The Spline command creates a type of spline known as a nonuniform rational B-spline, NURBS for short. A spline is a smooth curve that is fitted along a number of control points. The Fit Tolerance option can be used to control how closely the spline conforms to the control points. A low tolerance value causes the spline to form close to the control points. A tolerance of 0 (zero) forces the spline to pass through the control points. The illustration on the right shows the effect of different tolerance values on a spline that is defined using the same four control points, P1, P2, P3 and P4.

    Splines can be edited after they have been created using the SPLINEDIT command, ModifySpline from the pull-down menu. Using this command, you can change the tolerance, add more control points move control points and close splines, amongst other things. However, if you just want to move spline control points, it is best to use grips. See the PointPull-downDrawPointSingle PointKeyboardPOINTshort-cutPOThe point command will insert a point marker in your drawing at a position which you pick in the drawing window or at any co-ordinate location which you enter at the keyboard. The default point style is a simple dot, which is often difficult to see but you can change the point style to something more easily visible or elaborate using the point style dialogue box. Points can be used for "setting out" a drawing in addition to construction lines. You can Snap to points using the Node object snap. See the Object Snap tutorial for details.

    Command Sequence

    Command: POINT
    Current point modes: PDMODE=0 PDSIZE=0.0000
    Specify a point:
    (pick any point)

    Strangely, in Multiple Point mode (the default for the Point button on the Draw toolbar) you will need to use the escape key (Esc) on your keyboard to end the command. The usual right-click or enter doesn't work.

    The Point Style Command

    Point Style Dialogue Box

    Toolbarnone
    Pull-downFormatPoint Style¡­
    KeyboardDDPTYPE
    You can start the point style command from the keyboard by typing DDPTYPE or you can start it from the pull-down menu at FormatPoint Style¡­ The command starts by displaying a dialogue box offering a number of options.

    To change the point style, just pick the picture of the style you want and then click the "OK" button. You will need to use the Regen command, REGEN at the keyboard or ViewRegen from the pull-down to force any existing points in your drawing to display in the new style. Any new points created after the style has been set will automatically display in the new style.

    One interesting aspect of points is that their size can be set to an absolute value or relative to the screen size, expressed as a percentage. The default is for points to display relative to the screen size, which is very useful because it means that points will remain the same size, irrespective of zoom factor. This is particularly convenient when drawings become complex and the drawing process requires a lot of zooming in and out.

    MultilinePull-downDrawMultilineKeyboardMLINEshort-cutMLThe Multiline command is used to draw multilines. This process of drawing is pretty much the same as drawing polylines, additional line segments are added to the multiline as points are picked. As with polylines, points can be unpicked with the Undo option and multilines can be closed.

    When you start the Multiline command you also have the option to specify the Justification, Scale and Style of the multiline. The Justification option allows you to set the justification to "Top", the default, "Zero" or "Bottom". When justification is set to top, the top of the multiline is drawn through the pick points, as in the illustration below. Zero justification draws the centreline of the multiline through the pick points and Bottom draws the bottom line through the pick points. Justification allows you to control how the multiline is drawn relative to your setting out information. For example, if you are drawing a new road with reference to its centre line, then Zero justification would be appropriate.

    MultilineThe Scale option allows you to set a scale factor, which effectively changes the width of the multiline. The default scale factor is set to 1.0 so to half the width of the multiline, a value of 0.5 would be entered. A value of 2.0 would double the width.

    The Style option enables you to set the current multiline style. The default style is called "Standard". This is the only style available unless you have previously created a new style with the Multiline Style command. Follow the command sequence below to see how the Multiline command works and then try changing the Justification and Scale options.

    Command Sequence

    Command: MLINE
    Current settings: Justification = Top, Scale = 20.00, Style = STANDARD
    Specify start point or [Justification/Scale/STyle]:
    (Pick P1)
    Specify next point: (Pick P2)
    Specify next point or [Undo]: (Pick P3)
    Specify next point or [Close/Undo]: Return (to end or continue picking or C to close)

    The Multiline Style Command

    Multiline Styles Dialogue Box

    Toolbarnone
    Pull-downFormatMultiline Style¡­
    KeyboardMLSTYLE
    The Multiline style command is used to create new multiline styles, which can then be used with the Multiline command. When you start the command for the first time, you will see the Multiline Styles dialogue box indicating that the Standard style is "Current". To create a new style, enter a new style name in the "Name" edit box by overwriting "STANDARD" and enter an optional description in the "Description" edit box. The dialogue box should now look something like the one on the right. When you are happy with the new name and description, simply click on the "Add" button. Your new style will now appear in the "Current" box. The new style you have created is simply a copy of the Standard style, so the next step is to change the style to suit your own purposes. Click on the "Element Properties¡­" button to proceed.

    Element Properties Dialogue BoxYou will now see the Element Properties dialogue box appear. This dialogue box allows you to add new line elements or delete existing ones and to control the element offset, colour and linetype. Click the "Add" button to add a new element. A new line element now appears with an offset of 0.0, in other words, this is a centre line. Highlight the top element in the "Elements" list and change the offset to 1.0 by entering this value in the "Offset" edit box. Now do the same with the bottom element remembering to enter a value of -1.0 because this is a negative offset. You now have a multiline that is 2 drawing units wide with a centre line. Let's now change the colour and linetype of the centre line.

    Highlight the 0.0 offset element by clicking it in the "Elements" list. To change the colour, simply click on the Colour¡­ button and select an appropriate colour from the palette. When a colour has been selected, click the "OK" button on the palette to return to the Element Properties dialogue box.

    Changing the linetype is a little more complicated because we will need to load the required linetype first. However, click on the "Linetype¡­" button to proceed.
    Select Linetype Dialogue Box
    The Select Linetype dialogue box appears with just a few solid linetypes listed, Multiline Properties Dialogue Box

    In the Multiline Properties dialogue box, click in the "Line" check boxes under "Start" and "End". This will have the effect of capping the ends of the multiline with a 90 degree line. As you can see from the dialogue box, you can change this angle if you wish to give a chamfered end. Next, click the "On" check box in the "Fill" section and then click on the Colour¡­ button and select the fill colour from the palette. The Multiline Properties dialogue box should now look like the one in the illustration on the left. Finally, click the "OK" button in the Multiline Properties dialogue box and again in the Multiline Style dialogue box. You are now ready to draw with your new multiline.

    Start the Multiline command, pick a number of points and admire your handiwork. If you have followed this tutorial closely, your new multiline should look something like the one in the illustration on the right. Notice the effect of the various changes you have made compared with the Standard multiline style.

    Resulting MultilineOne limitation of multiline styles is that you cannot modify a style if there are multilines referencing the style in the current drawing. This is a shame because it means that it is not possible to update multiline styles in the same way as it is possible to update text or dimension styles. You also cannot change the style of an existing multiline. If you really want to modify a multiline style, you will have to erase all multilines that reference the style first.

    If you are new to AutoCAD, the whole process of working with multilines and creating multiline styles may appear a little bewildering because it touches upon a number of aspects of the program with which you may not be familiar. If this is the case, it may be a good idea to return to this tutorial in the future. Multilines are useful because they can save lots of time but their use is fairly specific and you should think carefully before using them. It may, for example, be more convenient simply to draw a polyline and to create offsets using the Offset command.

    Tips & TricksHot Tips

    Right-click Context Menu 
    • You will have noticed that many of the draw commands require the Return key on the keyboard to be pressed to end them. In AutoCAD, clicking the right mouse key and selecting "Enter" from the context menu has the same effect as using the Return key on the keyboard. Using the right-click context menu is a much more efficient way of working than using the keyboard.

    • You can also use the Return key or right mouse click to repeat the last command used. When a command has ended, you can start it again by right clicking and selecting "Repeat command" from the context menu rather that entering the command at the keyboard or selecting it from the pull-down or toolbar. By this method it is possible, for example, to repeat the line command without specifically invoking it. The command sequence might be something like the one below.

      Command Sequence

      Command: LINE
      Specify first point: (pick P1)
      Specify next point or [Undo]: (pick P2)
      Specify next point or [Undo]: (right-click and select Enter)
      Command: (right-click and select Repeat Line)
      Specify first point: (pick P1)
      Specify next point or [Undo]: (pick P2)
      Specify next point or [Undo]: (right-click and select Enter)
      Command: (right-click and select Repeat Line)¡­

      You could continue this cycle as long as you needed, using only the mouse for input.

    discuss this topic to forum

    relation tutorial

    No relevant information

    Category

      3D (0)
      Basics (29)

    New

    Hot