Line

Old Content - visit altium.com/documentation

Parent page: Objects

Use Lines to annotate and enhance the schematic.

Summary

A line is a non-electrical polyline drawing primitive. Lines are used for adding reference information to a document, such as building graphical symbols, custom sheet borders and title blocks, and annotating the schematic.

Availability

Schematic Editor

  • Choose Place » Drawing Tools » Line [P, D, L] from the main menus.
  • Click thebutton on the Utility Tools drop-down of the Utilities toolbar.

Schematic Library Editor

  • Choose Place » Line [P, L] from the main menus.
  • Click thebutton on the Utility Tools drop-down of the Utilities toolbar.

Placement

After launching the command, the cursor will change to a cross-hair and you will enter line placement mode. Placement is made by performing the following sequence of actions:

  1. Click or press Enter to anchor the starting point for the line.
  2. Position the cursor and click or press Enter to anchor a series of vertex points that define the shape of the line.
  3. Use the Backspace or Delete keys to remove the last line segment placed. If you do remove segments in this way, you must click to place a final segment, otherwise right-clicking will place the line as it was, with all deleted segments reinstated.
  4. After placing the final vertex point, right-click or press Esc to complete placement of this line.
  5. Continue placing further line objects, or right-click or press Esc to exit placement mode.

While attributes can be modified during placement (Tab to bring up associated properties dialog), bear in mind that these will become the default settings for further placement unless the Permanent option on the Schematic – Default Primitives page of the Preferences dialog is enabled. When this option is enabled, changes made will affect only the object being placed and subsequent objects placed during the same placement session.

Placement Modes

When placing a line there are 5 placement modes. The mode specifies how corners are created when placing lines and the angles at which lines can be placed. During placement:

  • Press Spacebar to cycle through the 90 Degree Up, 90 Degree Down, 45 Degree Up, 45 Degree Down and Any Angle modes. You can change modes at any time during line placement.
  • In all modes other than Any Angle, the line segment attached to the cursor is a look ahead segment. The segment you are actually placing precedes this look ahead segment

Non-Graphical Editing...

The following methods of non-graphical editing are available:

...via an Associated Properties Dialog

This method of editing uses the following dialog to modify the properties of a line object.

Edit the properties of the Line in the PolyLine dialog.

The PolyLine dialog can be accessed prior to entering placement mode, from the Schematic – Default Primitives page of the Preferences dialog. This allows the default properties for the line object to be changed, which will be applied when placing subsequent lines.

During placement, the dialog can be accessed by pressing the Tab key.

After placement, the dialog can be accessed in one of the following ways:

  • Double-clicking on the placed line object.
  • Placing the cursor over the line object, right-clicking and choosing Properties from the context menu.
  • Using the Edit»Change command and clicking once over the placed line object.

Using a Line as an Arrow or Marker

Using the Start, End, Shape Size, Width and Line Style options a large variety of Arrow and Marker designs can be achieved.

The PolyLine dialog provides several options which can be used to change the style of a line. Using the Start Line Shape, End Line Shape, Line Shape Size, Line Width and Line Style options a large variety of arrow and marker designs can be achieved.

Editing Vertices

The PolyLine dialog includes a Vertices tab, where you can edit the individual vertices of the currently selected line object.

Examine or edit individual vertices, click the Menu button for more options.

Click the Menu button or right-click within the main list region to access a pop-up menu containing the following commands:

  • Edit - right click on a coordinate cell (X or Y) for a vertex and use this command to edit the value in that cell. Alternatively, click directly on the cell.
  • Add - use this command to add a new vertex point. The new vertex will be added below the currently focused vertex entry (as distinguished by a dotted outline around a cell in its row) and will initially have the same coordinates as the focused entry.
  • Remove - use this command to remove the currently selected vertex entries in the list. This command will be unavailable if there are only two vertices present for the line.
  • Copy - use this command to copy the content of the selected cells in the list to the clipboard (alternatively use Ctrl+C).
  • Paste - use this command to paste the content of the clipboard into the list, starting at the selected cell (alternatively use Ctrl+V).
  • Select All - use this command to quickly select the entire grid contents of the list.
  • Select Column - use this command to quickly select the entire column in which the currently focused cell resides.
  • Move Up - use this command to move the selected vertex upward in the list.
  • Move Down - use this command to move the selected vertex downward in the list.
  • Move Line By XY - use this command to move the entire line object. The Move Line By dialog will appear, from where you can enter the increment value to be applied to each vertex point's X and Y coordinates.

...via an Inspector Panel

An Inspector panel enables the designer to interrogate and edit the properties of one or more design objects in the active document. Used in conjunction with appropriate filtering, the panel can be used to make changes to multiple objects of the same kind, from one convenient location.

...via a List Panel

List panel allows the designer to display design objects from one or more documents in tabular format, enabling quick inspection and modification of object attributes. Used in conjunction with appropriate filtering, it enables the display of just those objects falling under the scope of the active filter – allowing the designer to target and edit multiple design objects with greater accuracy and efficiency.

Graphical Editing

This method of editing allows you to select a placed line object directly in the workspace and change its size and/or shape, graphically.

When a line object is selected, the following editing handles are available:

Selected Line, ready for graphical editing.

  • Click and drag A to reposition the end points of the line.
  • Click and drag B to move a line vertex. The end points will remain anchored.
  • Click and drag on a line segment to grab that segment and reposition it. The end points and other vertices will remain anchored.
  • Right-click on a vertex point and choose the Edit Line Vertex n command to access the Vertices tab of the PolyLine dialog, with the entry for the nth vertex selected ready for editing.
  • Click and hold on a line segment, then press Insert on the keyboard to add a vertex at that point.
  • Click and hold on a vertex, then press Delete on the keyboard to remove that vertex.

With the line selected, click on a vertex or segment to individually select that vertex or segment. This line 'sub-selection' is distinguished by the associated editing handles becoming red in color.

Individual vertex sub-selection.

Individual segment sub-selection.

An individual vertex or a vertex-pair can be sub-selected, ready for editing in the PolyLine dialog.

The associated vertex (or vertices for a segment) can then be edited directly using the SCH Inspector panel, with any changes appearing immediately on the schematic.

To move an entire line line, click and hold on the un-selected line, then move to the new location.

If attempting to graphically modify an object that has its Locked property enabled, a dialog will appear asking for confirmation to proceed with the edit. If the Protect Locked Objects option is enabled on the Schematic – Graphical Editing page of the Preferences dialog, and the Locked option for that design object is enabled as well, then that object cannot be selected or graphically edited. Double click on the locked object directly and disable the Locked property or disable the Protect Locked Objects option, to graphically edit the object.

Notes

  1. A line is purely a drawing object. To make an electrical connection between points in your schematic, use the wire object.

 

You are reporting an issue with the following selected text and/or image within the active document: