Hide Table of Contents


To sketch a line:

  1. Click Line art\LINETOOL.gif on the Sketch toolbar, or click Tools, Sketch Entities, Line.

    The pointer changes to .

  1. In the Insert Line PropertyManager under Orientation, select one of the following:

  • As sketched

  • Horizontal

  • Vertical

  • Angle

All selections except As sketched display a Parameters group.

  1. Under Options, select:

  • For construction to sketch a construction line.

  • Infinite length to sketch a line of infinite length.

  1. Under Parameters, you can do the following, based on the Orientation:

Horizontal or Vertical


  • Set a value for Length .

  • Set a value for Length .


  • Set a value for Angle .

  • Select Add dimensions to display the length value.

  • Select Add dimensions to display the length and angle values.

  1. Click in the graphics area and sketch the line.

The Line PropertyManager is displayed.

  1. Complete the line in one of the following ways:

  • Drag the pointer to the end of the line and release.

  • Release the pointer, move the pointer to the end of the line, and click again.

With Horizontal, Vertical, and Angle orientations, if you set values for Length and Angle , the line is automatically created with those values.

  1. You can do any of the following:

  • Edit the line using selections from the groups in the Line Properties PropertyManager.

If you create a line using Angle as the Orientation, and you set a value for Angle , you can edit the angle under the following conditions:

  • The line must be referenced in an angular dimension.

    • The other line in the dimension must be a horizontal construction line.

    • The change must occur within the current Line Properties PropertyManager session.

  • Continue sketching using the selected Orientation.

  • Click OK or double-click to return to the Insert Line PropertyManager to select a different Orientation or Parameters.

To modify the line by dragging:

In an open sketch, do one of the following:

  • To change the length of the line, select one of the endpoints and drag to lengthen or shorten the line.

  • To move the line, select the line and drag the line to another position.

  • To change the angle of a line, select an endpoint and drag to a different angle.

    If the line has a vertical or horizontal relation, delete the vertical or horizontal relation in the Line PropertyManager before dragging to a new angle.

If you selected Add dimensions under Parameters, you must delete the relation to change the length or the angle of the line. If you selected only the values for Length or for Angle, you can modify the line without deleting relations.

To change the line properties:

    In an open sketch, select a line and edit its properties in the Line PropertyManager.

Related Topics

Insert Line PropertyManager - 2D
Sketch Modes

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   Lines
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: SOLIDWORKS 2010 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.