start => gschem_ug

« Editing actions | gEDA gschem User Guide | Grids »

## Selecting objects

Many editing actions in gschem operate on whichever objects are currently selected. Selected objects are shown in a highlighted colour.

In “Select Mode”, the default gschem editing mode, the left mouse button is used to select things. If you click on something with the left mouse button, it will be selected, and everything else will be deselected. If you click on the background, the selection will be cleared. If you click and drag with the left mouse button, a box will appear, and when you release the button, everything that is completely inside the box will be selected (“box selection”). These actions can be altered by holding down `Shift`, in which case the objects will be added to the current selection, instead of replacing it.

You can also hold `Ctrl` while clicking on an object that is already selected, in which case it will be deselected but the selection will not be cleared.

You can select all of the objects in the schematic or symbol using Edit→Select All, and completely clear the current selection using Edit→Deselect.

You can always get back to “Select Mode” from any other editing mode by pressing `Shift` or using Edit→Select Mode.

### Selecting nets

To select the whole of a net, left-click on a net segment to select it, and then left-click on it again to select all connected net segments.

### Selecting component attributes

If you left-click on a component, it will be selected along with all of its attached attributes.

### Locked objects

Some objects can be “locked”. Locked objects are displayed in a subdued colour, and cannot be selected other than by using a box selection. For example, the titleblock added by default to new pages is locked.

To lock an object, select it and use Edit→Lock. To unlock it, select it (by dragging a box around it with the left mouse button), and use Edit→Unlock.