Working with a Component Object on a PCB in Altium Designer
Parent page: PCB Objects
Summary
The component footprint defines the space and connection points needed to mount the physical component on the printed circuit board. It is made up of a collection of simple primitive objects, which could include pads, lines and arcs, as well as other design objects. The pads provide the mounting and connection points for the component pins. Additional design primitives, such as lines and arcs, are often included to define the outline of the component shape on the component overlay (silkscreen) layer.
The component footprint can also include optional 3D body objects which define the physical space or envelope of the actual component that is mounted on the board. By defining the physical component using 3D body objects or imported STEP models, 3 dimensional component clearance checking can be performed.
Component footprints are created in the PCB Library Editor by placing suitable design objects to create the shape required to mount and connect the component. The component reference point is the origin of the Library Editor workspace, which can be set in the Library editor to: pin 1, the geometric center, or a user-defined location on the component.
Availability
Component footprints are created in the PCB Library editor, and placed in the PCB editor. To place a component in the PCB editor:
- Click Place » Component
- Locate the component in the Libraries panel (System » Library), and click the Place <ComponentName> button.
- From within an open PCB Library, click Tools » Update PCB with All Footprints and select Place Component in PCB to place the current component into the last active PCB document.
Placement
The process used to locate the required component footprint will depend on the method chosen to perform placement. Once the required footprint has been chosen for placement and is floating on the cursor:
- Press Tab to edit the properties of the component before it is placed.
- Press Spacebar to rotate the component anti-clockwise (Shift+Spacebar for clockwise). The default rotation step is 90 degrees, to change this set the Rotation Step value in the PCB Editor - General page of the Preferences dialog.
- If the component is being rotated, the default behavior is for the Designator and Comment strings is to rotate with the footprint. This behavior is controlled by the Autoposition setting for these strings, the defaults can be set by editing the default Component in the PCB Editor - Defaults page of the Preferences dialog. Note that setting the default will not affect any components that have already been placed.
- Press the L shortcut to flip the component to the bottom side of the board. Do not use the X or Y keys as this will mirror the part but not change its layer.
Placing From the Libraries Panel
To place from the Libraries panel:
- The default setting is to only show schematic libraries in the panel, to enable PCB libraries click the next to the chosen library field, and enable Footprints for browsing, as shown below.
- Once footprint libraries have been enabled, use the dropdown next to the library name to choose the required footprint library for browsing. In the image below the GSM Logger pcb library has been chosen.
- Use the mask field (below the currently selected library field) to filter the list and speed the searching process, or scroll and select the required part.
With the part selected in the panel, placement of the component can be made in the following ways:
- By clicking the Place button at the top-right of the panel (the button text displays the component that will be placed).
- By double-clicking on the selected component.
- By clicking and dragging to place the selected component into the workspace.
The first two placement methods will bring up the Place Component dialog.
Enter a suitable Designator, and include a footprint Comment if required. Click OK, the footprint will appear floating on the cursor, ready for placement. Once placed, the dialog will reappear. Place another instance of the same component, or a different component, or click Cancel to exit placement mode.
The footprint can be changed for a different one, in the same or different PCB library, on-the-fly. To do so:
- Click the button beside the Footprint field in the Place Component dialog to open the Browse Libraries dialog, as shown below.
.
- Select the required library in the Libraries dropdown, and Mask or scroll to locate the required footprint.
- Select the component and click OK to return to the Place Component dialog and continue with the placement.
Searching for a Component Footprint
If you cannot locate the required component footprint in the Libraries panel, use the Search feature. To do this, click the Search button to open the Libraries Search dialog (as shown below).
Note that:
- The default search Scope is to search for Footprints in the Available Libraries (as shown by the Scope options in the image below).
- Alternatively, the Libraries Search dialog also supports searching through Libraries on a path, stored in folders on a drive. To do this enable the Libraries on Path option, then configure the Path options as required.
- The Filters are logically AND'ed, it can be better to start with a simpler filter and then if there are many results, use the Refine last search mode to search within the results.
- Search results are presented in the Libraries panel, clustered under Query Results. If the footprint you choose in the Query Results is from a library that is not currently available, the software will prompt to install the library (note that this feature is not available if you click and drag to place). Re-select a footprint library to return to browsing in the panel.
Placing from the Library Editor
A component can also be placed directly from a library that is open the PCB Library editor. This is done from the PCB Library panel, as shown below. If the panel is not visible, click System » Libraries to enable it.
Note that:
- Click Tools » Update With All Footprints and select Place Component in PCB to place the current component into the last active PCB workspace.
- Alternatively, right-click and select Place from the PCB Library panel context menu.
- If a part is placed directly from a library, that library does not need to be added in the Available Libraries dialog first.
As with placement from the Libraries panel:
- The Place Component dialog will first appear. Specify the designator and any comment as required and click OK.
- While the part is floating on the cursor, it can be edited (press Tab), rotated (press Spacebar), or flipped to the other side of the board (press L) before placement.
- Once placed, continue placing further instances, or click Cancel in the Place Component dialog to exit placement mode.
Graphical Editing
Graphical component editing is limited to moving, rotating and flipping. When a component is selected in the workspace it is highlighted in the current selection color, as shown in the image below. To graphically manipulate a selected component:
- Press Delete to remove the selected component from the design.
- Click and hold to move the selected component, the cursor will jump to the component reference point, or the nearest pad center if the Smart Component Snap option is enabled (PCB Editor - General page of the Preferences dialog).
- While a component is moving on the cursor press the Spacebar to rotate it (Shift+Spacebar to rotate in the other direction).
- While a component is moving on the cursor press the L key to flip it to the other side of the board.
Non-Graphical Editing
The following methods of non-graphical editing are available:
Via an Associated Properties Dialog
Dialog page: Component
This method of editing uses the following dialog to modify the properties of a Component object.
The Component dialog can be accessed during placement by pressing the Tab key.
After placement, the dialog can be accessed in one of the following ways:
- Double-clicking on the placed component object.
- Placing the cursor over the component object, right-clicking and choosing Properties from the context menu.
Via the PCB Inspector Panel
Panel page: PCB Inspector
The PCB 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.