LineType Command

A linetype is a repeating pattern of dashes, dots, and blank spaces. A complex linetype is a repeating pattern of symbols along with dashes, dots, and blank spaces. The linetype name and definition describe the particular dash-dot sequence, the relative lengths of dashes and blank spaces, and the characteristics of any included text or shapes. You can create your own linetypes.

    autocad polyline icon

To use a linetype you must first load it into your drawing. A linetype definition must exist in an LIN library file before a linetype can be loaded into a drawing.

To load a linetype

  1. From the Format menu, choose Linetype.
  2. In the Linetype Manager, choose Load.
  3. In the Load or Reload Linetypes dialog box, select one or more linetypes to load and then choose OK.
  4. To select or clear all linetypes simultaneously, right-click the linetypes list and choose “Select All” or “Clear All” from the shortcut menu. The linetypes you select are displayed in the linetype list in the Linetype Manager and in the Linetype control on the Object Properties toolbar.
  5. Choose OK.

Making a Linetype Current

You can assign a linetype to a layer, set the current linetype for new objects that you create (including BYLAYER or BYBLOCK), or change the linetype of existing objects in your drawing. All newly created objects are drawn using the current linetype (except for text and inserted blocks). You must choose a linetype and make it current if you want new objects (except text and inserted blocks) to be drawn with a new linetype.

NOTE Xref-dependent linetypes cannot be made current.

To make a linetype current for objects

  1. From the Format menu, choose Linetype.
  2. In the Linetype Manager, select a linetype and choose Current.
  3. Choose OK.

Renaming Linetypes

You may want to rename a linetype to better identify how it’s used. You can rename a linetype at any time during the drawing session.
When you rename a linetype, you rename only the linetype definition in your drawing. The name in the LIN library file is not updated to reflect the new name.
NOTE You cannot rename linetypes BYLAYER, BYBLOCK, or CONTINUOUS or xref-dependent linetypes.
Linetypes can be sorted by name and description. When linetypes are sorted, BYLAYER and BYBLOCK always appear at the top of the list. Linetype names can be sorted in ascending or descending alphabetical order.

To rename a linetype

  1. From the Format menu, choose Linetype.
  2. In the Linetype Manager, select a linetype to rename, select the name, and then enter a new name.
  3. Choose OK.

Displaying Linetypes

You can associate linetypes with all AutoCAD objects, but they are not displayed with text, points, viewports, xlines, rays, 3D polylines, and blocks. If a line is too short to hold at least one dash sequence, AutoCAD draws a continuous line between the endpoints.

    autocad polyline icon

Displaying Polyline Linetypes

You can specify whether a linetype pattern is centered on each segment or continuous throughout the entire length of a 2D polyline. You do this by   setting the PLINEGEN system variable. Compare the following illustrations.

    autocad polyline icon

The linetype is plotted the way it is displayed in the drawing.

To set the linetype display of existing 2D polylines

1    On the command line, enter plinegen.
2    Enter 1 to make the linetype continuous throughout the 2D polyline. Enter 0 to center the linetype on each segment.

To change the linetype display of existing 2D polylines

1    From the Modify menu, choose Properties.
2    Select the 2D polyline whose linetype display you want to change.
3    In the Properties window, select the linetype generation property and choose Enable. (Linetype is continuous for 2D polylines.)
4    Choose OK.

Deleting Linetypes

You can delete a linetype at any time during a drawing session; however, some linetypes cannot be deleted, including BYLAYER, BYBLOCK, CONTINUOUS, the current linetype, xref-dependent linetypes, and linetypes that are being used by objects in the drawing. Also, linetypes referenced by block definitions cannot be deleted, even if they contain no visible objects.
NOTE When a linetype is deleted in the Linetype Manager, it is deleted from the current drawing and not from the LIN library file.

To delete a linetype

  1. From the Format menu, choose Linetype.
  2. In the Linetype Manager, select one or more linetypes, and then choose Delete.
  3. Choose OK.

Changing Linetype Descriptions

Linetypes can have a description associated with them. The description provides an ASCII representation of the linetype (which can include standard alphanumeric text characters). You can assign or change a linetype description in the Linetype Manager.

To change a linetype description

  1. From the Format menu, choose Linetype.
  2. In the Linetype Manager, select a linetype and choose Show Details.
  3. In the Details section under Description, enter a new description for the linetype.
  4. Choose OK.

Filtering Linetypes

Sometimes you may want only certain linetypes to be listed. You can use the Filter option to limit which linetypes are displayed in the Linetype Manager. You can filter linetypes based on whether they’re currently in use or whether they’re xref-dependent.

To filter a linetype

  1. From the Format menu, choose Linetype.
  2. In the Linetype Manager under Linetype Filters, choose a linetype filtering option.
  3. Choose OK.

Specifying Global Linetype Scale

You can set the global linetype scale for objects that you create. The smaller the scale, the more repetitions of the pattern are generated per drawing unit. By default, AutoCAD uses a global linetype scale of 1.0 in the current drawing units.

    autocad polyline icon

To set the linetype scale for new objects

  1. From the Format menu, choose Linetype.
  2. In the Linetype Manager, choose Show Details.
  3. Under Details, enter the global scale factor and current object scale. The global scale factor changes the scale factor for all new and existing linetypes. The current object scale modifies the linetype scale of any subsequently drawn objects relative to the current global scale setting.
  4. If you use International Standards Organization (ISO) standards, specify the ISO pen width by selecting a width from the list.The ISO pen width sets the linetype scale to one of a list of standard ISO values. The resulting scale is the global scale factor multiplied by the object’s scale factor. The ISO pen width list is available only for ISO linetypes. To activate the ISO pen width setting, the linetype must be set to current. NOTE: ISO linetypes are scaled larger than non-ISO linetypes. ISO linetypes are for use in metric drawings with an appropriate ISO pen-width setting.
  5. To activate paper space linetype scaling, select Use Paper Space Units. When Use Paper Space is selected, AutoCAD automatically adjusts the scaling of linetypes in floating viewports.
  6. Choose OK.


#1 justyna on 10.06.08 at 6:15 am

Help, please! I’ve been working on the Cad program for a time,love this program,however don’t know one thing- mouse settings- how can I be able to zoom in & zoom out using roller cursor? where can I change it???..

#2 Lito on 10.06.08 at 9:05 pm

Hi, as far as I know, the mouse setting can’t be configured in the autocad program. I haven’t encountered that before. All i know is when you install the mouse and driver, the scroll function will work automatically in all programs like MS Word or Excel. Maybe you have to configure by going to the control panel in windows then click the mouse icon then click the “wheel” tab.

By the way, does the mouse scrolling works also in other program you have?

#3 Pete on 05.03.16 at 11:11 pm

Hello, just create line type build with 2 boxes, one empty second solid, the same size rectangles, and struggle to get nice line working on edges nice and smooth, the edges stays as a line, any idea how can I omit it? thx

Leave a Comment