Working with a Component Object on a PCB in Altium Designer

您正在阅读的是 20.1. 版本。关于最新版本,请前往 Working with a Component Object on a PCB in Altium Designer 阅读 21 版本
Parent page: PCB Objects

The component footprint defines the component mounting and connections on the PCB and can also include 3D
body objects to define the actual component.

Summary

The component footprint defines the space and connection points needed to mount the physical component on the printed circuit board. It is a group object 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. If the physical component has been defined using 3D body objects or imported STEP models, three-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.

To learn more about footprint creation, refer to Creating the PCB Footprint.

Availability

Component footprints are created in the PCB Library editor and placed in the PCB editor. To place a component in the PCB editor:

  1. Click Place » Component. If it is not active, the Components panel will open ready to locate the component required for placement.
  2. Select the component in the Components panel (View » Panels » Components), right-click then select Place <ComponentName>.

PCB component footprints (and schematic components) can only be placed from available libraries. The term 'available libraries'  includes libraries that are part of the current project being worked on, or libraries currently installed in Altium Designer. Libraries can be installed and removed via the Data Management - File-based Libraries page of the Preferences dialog or the Available File-based Libraries dialog (click the  button in the Components panel then select File-based Libraries Preferences from the drop-down).

PCB component footprints are automatically placed from the available libraries when the design is transferred from the schematic editor to the PCB editor. This is called Design Synchronization, which is a process to detect and resolve the differences between the schematic and the PCB.

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:

  1. Press Tab to edit the properties of the component before it is placed.
  2. Press Spacebar to rotate the component counterclockwise (Shift+Spacebar for clockwise). The default rotation step is 90 degrees. To change this setting, use the Rotation Step value in the PCB Editor - General page of the Preferences dialog.
  3. If the component is being rotated, the Designator and Comment strings can be configured to hold their orientation, or 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 on the PCB Editor - Defaults page of the Preferences dialog. Note that setting the default will not affect any components that have already been placed.
  4. 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 Components Panel

To place from the Components panel:

  1. To enable the desired libraries in the panel, click the  then select then select File-based Libraries Preferences from the drop-down to open the Available File-based Libraries dialog. Use the dialog to add (on the Project tab) or select (on the Installed tab) a library.

  1. Once footprint libraries have been enabled, the Components panel will refresh with the available components for that library.

Click the  button then select File-based Libraries Search to open the File-based Libraries Search dialog to search for available libraries.

With the part selected in the panel, placement of the component can be made in the following ways:

  • Right-click then select Place <ComponentName> from the context menu.
  • Double-click on the selected component. The component will appear floating in the workspace. Place the component in the desired location then click to place.
  • Click and hold the component's name in the Components panel then drag the component to the desired location and click to place it. This is a 'single shot' placement technique, meaning only a single instance of the chosen component can be placed. The other methods allow multiple instances to be placed.
The Components panel also includes a Search feature that can search across available libraries, or all libraries in a folder path. Refer to the Components panel page for more information.

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, hold and drag 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  on the 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.

Click once to select a component or click, hold and drag to move it.Click once to select a component or click, hold and drag to move it.

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 PCB Editor - General page of the Preferences dialog, and the Locked option for that design object is enabled as well, that object cannot be selected or graphically edited. Click the locked object to select it then disable the Locked property in the List panel or disable the Protect Locked Objects option to graphically edit the object.

Component Selection

When you click and select a component, the selection bounding box appears. Traditionally, the default bounding box behavior has been to use the smallest rectangle that encloses all of the primitives in that component, excluding the designator and comment strings.

To provide better support for more complex component shapes, the PCB.ComponentSelection Advanced Setting was added (click Advanced Settings on the System – General page of the Preferences dialog). This option gives the designer control over which layers are used to define the bounding box. After changing the PCB.ComponentSelection value in the Advanced Settings dialog, you will need to restart Altium Designer in order for the change to take effect.

The advanced option supports three modes (enter the value 0, 1 or 2, the default mode is 2):

  • 0 - legacy mode - this mode uses geometries on the Courtyard Layer Type; or when this layer type is not present, combines geometries from all layers, except the Designator and Comment strings.
  • 1 - by layer mode - use the geometries from the first of the layers listed below that contains objects, with the following priority:
    1. Courtyard Layer Type
    2. 3D Body Layer (STEP models are stored in a 3D Body object sized to the smallest rectangular prism that holds the model. This 3D Body is used, not the shape of the STEP model)
    3. Silkscreen Layer plus Copper Layers
    4. Copper Layers
  • 2 - by graphic mode - this mode uses geometries on the Courtyard Layer Type; or when this layer is not present, combines geometries on the Silkscreen, 3D Body objects and Copper layers. Strings are excluded.

           

                0 - legacy                                                     1- by layer                                             2 - by graphic

  • References to the Courtyard layer are for a Component Layer Pair with the Layer Type = Courtyard, the name of the layer pair is not considered. ( show image).
  • If the component includes a 3D model, the actual 3D model shape is used for collision checking, while the shape on the courtyard layer is used for the selection box.
  • Mechanical layer objects are excluded from the selection bounding box, but are included in the collision checking bounding box when there are no 3D Bodies or Courtyard layer objects defined. The exceptions to this are the .Designator and .Comment text strings, which are always excluded. Learn more about Working with Mechanical Layers.
  • The component selection bounding box is used to calculate the component area, learn more about the component area.

Non-Graphical Editing

The following methods of non-graphical editing are available:

Via the Component Dialog or Properties panel

Properties page: Component Properties Panel

This method of editing uses the associated Component dialog and Properties panel to modify the properties of a Component object. 

  The Component dialog on the left and the Component mode of the Properties panel on the right. 

During placement, the Component mode of the Properties panel can be accessed by pressing the Tab key. Once the Component is placed, all options appear.

After placement, the Component dialog can be accessed by:

  • Double-clicking on the placed Component object.
  • Placing the cursor over the Component object, right-clicking then choosing Properties from the context menu.

After placement, the Component mode of the Properties panel can be accessed in one of the following ways:

  • If the Properties panel is already active, by selecting the Component object.
  • After selecting the Component object, select the Properties panel from the Panels button in the bottom right section of the workspace, or by selecting View » Panels » Properties from the main menu.
If the Double Click Runs Interactive Properties option is disabled (default) on the PCB Editor - General page of the Preferences dialog, when the primitive is double-clicked or you right-click on a selected primitive then choose Properties, the dialog will open. When the Double Click Runs Interactive Properties option is enabled, the Properties panel will open. 
While the options are the same in the dialog and the panel, the order and placement of the options may differ slightly. 
Press Ctrl+Q to toggle the units of measurement currently used in the panel between metric (mm) and imperial (mil). This only affects the display of measurements in the panel; it does not change the measurement unit specified for the board, which is configured in the Units setting in the Properties panel when there are no objects selected in the editing workspace.

Editing via the PCB List Panel

Panel page: PCB List, PCB Filter

The PCB List panel allows you 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 - by using the PCB Filter panel, or the Find Similar Objects dialog - it enables the display of just those objects falling under the scope of the active filter – allowing you to target and edit multiple design objects with greater accuracy and efficiency.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.

软件的功能取决于您购买的Altium产品级别。您可以比较Altium Designer软件订阅的各个级别中包含的功能,以及通过Altium 365平台提供的应用程序所能实现的功能。

如果您在软件中找不到某个讨论过的功能,请联系Altium销售团队以获取更多信息。

Content