Altium Designer Documentation

完結された設計のチュートリアル_AD

Created: January 10, 2022 | Updated: January 11, 2022

Contents

All Contents

Welcome to the world of electronic product development in Altium's world-class electronic design software. This tutorial will help you get started by taking you through the entire process of designing a simple PCB – from idea to output files. If you are new to Altium software, it is worth reading the Exploring Altium Designer page to learn more about the interface, information on how to use panels, and an overview of managing design documents.

To learn more about a command, dialog, object, or panel, press F1 when the cursor is over that item.

The Design

The design for which you will be creating the schematic and designing a printed circuit board (PCB) is a simple astable multivibrator. The circuit is shown below; it uses two general purpose NPN transistors configured as a self-running astable multivibrator.

Circuit for the multivibrator
Circuit for the multivibrator.

You're ready to begin capturing (drawing) the schematic. The first step is to create a PCB project.


Creating a New PCB Project

In Altium's electronic design software, a PCB project is the set of design documents (files) required to specify and manufacture a printed circuit board. The project file, for example Multivibrator.PrjPCB, is an ASCII file that lists the documents in the project as well as other project-level settings, such as the required electrical rule checks, project preferences, and project outputs, such as print and CAM settings.

A new project is created by running the File » New » Project command to open the Create Project dialog.

Create Project dialog

Altium Designer can connect to a Workspace for providing a single, secure data source and storage while affording unparalleled collaboration. It could be an Altium 365 Workspace – a Workspace hosted on the Altium 365 cloud-based infrastructure platform, or Concord Pro Workspace – a Workspace provided through Altium Concord Pro, a solution installed and managed by your own IT department.

This tutorial focuses on using Altium Designer with a connected Workspace – the most streamlined and empowered environment for your design needs. However, if you are not able to enjoy the benefits that a connected Workspace brings, you can store your design data, including projects, component libraries, and design outputs, locally on your hard drive or in a shared network resource.

To complete this tutorial, you will need to be connected to a Workspace. It is assumed that your Workspace has been activated/installed with the sample data.

Learn more about Designing with a Connected Workspace

Learn more about Accessing Your Workspace

  1. Connect to your Workspace if not already.
  2. Select File » New » Project from the main menus.
  3. The Create Project dialog will open:
    1. Select the required Workspace in the list of Locations. In the image above, the Workspace is named Company Workspace.
    2. Confirm that the Project Type is PCB <Empty>.
    3. Enter a suitable name in the Project Name field, e.g. Multivibrator.
    4. Enter a suitable description in the Description field, e.g. Simple multivibrator design for the tutorial.
    5. Click the Advanced control. The Folder field defines the name of the folder in the Workspace where your project files are to be stored. The default is to have a Projects folder in the Workspace.
    6. In the Local Storage field, select a suitable location to store the working copy of the project. A folder of the same name as the project will automatically be created in this location, and the working copy of the project file will be saved in it.
  4. Click Create to close the dialog and create the project. This will take a few moments, as the project is created in the Workspace and the working folder (as specified in the Local Storage field).
  5. The new project will appear in the Projects panel. If this panel is not displayed, click the Panels button button at the bottom right of the design space, and select Project from the menu that appears.
  6. The project will display a small blue cross next to its name. This indicates that it has been added to the Workspace's version control system (VCS) but is yet to be committed (saved). To commit the project, click the Save to Server control next to the project name in the Projects panel.
  7. The Save to Server dialog will open. Confirm that the file Multivibrator.PrjPcb is checked. Add a meaningful comment describing the change into the Comment field (e.g., Initial saving of the new PCB project), then click the OK button. A status dialog will open while the file is written to the version control repository. When this is complete, a small green check will appear next to the project filename in the Projects panel which means that the local working copy of the project file and its counterpart in the Workspace are fully synchronized.

    Document entries in the Projects panel are accompanied by icons that indicate their open/modified/version control status. This provides a quick visual summary of which documents are modified, saved, and their version control status. Some document icons that you might encounter when working on this tutorial project and their meanings are listed below.
    Open The document is open as a tabbed document in the design editor window.
    Open and locally modified The document is open and has been modified (yet to be saved locally).
    No modification The local copy of the file matches the file in the Workspace and is up to date.
    Scheduled for Addition A file has been added to version control but not yet committed to the Workspace's VCS repository.
    Modified The local copy of the file has been modified and saved to the working folder but not yet committed to the Workspace's VCS repository.

    To learn more about available document display icons, see the Document Display Icons section of the Projects panel page.


Adding a Schematic to the Project

The next step is to add a new schematic sheet to the project.

Add a new schematic to the project
Add a schematic sheet to the project, name and save the schematic, and save the project.

  1. Right-click on the project filename in the Projects panel then select Add New to Project » Schematic, as shown in the image above. A blank schematic sheet named Sheet1.SchDoc will open in the design space and an entry for this schematic will appear linked to the project in the Projects panel under the Source Documents folder icon.

    When connected to the Concord Pro Workspace, the Select configuration item dialog will open after selecting Add New to Project » Schematic. Select a schematic template from those that are stored in your Workspace (e.g. ANSI B Landscape) and click the OK button.

  2. To save the new schematic sheet locally, select File » Save As from the main menus (or use the Save As from the schematic's right-click menu in the Projects panel). The Save As dialog will open, ready to save the schematic in the same location as the project file. Type the name Multivibrator in the File name field and click Save (there is no need to type in the extension, as it will be added automatically). Note that files stored in the same folder as the project file itself (or in a child/grandchild folder) are linked to the project using relative referencing, whereas files stored in a different location are linked using absolute referencing.
  3. Since you have added a schematic to the project, the project file also has changed. Right-click on the project filename in the Projects panel then select Save to save the project locally.
  4. Save the new schematic and the modified project file to the Workspace. To do this, click the Save to Server control next to the project name in the Projects panel.
  5. The Save to Server dialog will open. Confirm that the Multivibrator.PrjPcb and Multivibrator.SchDoc files are checked. Add a meaningful comment describing the change into the Comment field (e.g., A new blank schematic sheet added), then click the OK button. A status dialog will open while the files are written to the Workspace. When this is complete, a small green check will appear next to the filenames in the Projects panel, as shown in the image above.

When the blank schematic sheet opens, you will notice that the design space changes. The main menus bar includes new items, and a bar with buttons becomes visible – you are now in the Schematic Editor. Each editor presents its own set of menus and panels and supports its own set of shortcut keys.

An entire set of grouped panels can be closed using the Close panels button icon at the top right of the panel, and an individual panel can be closed by right-clicking on its name and selecting the Close command. When needed, a panel can be reopened via the Panels button button at the bottom right of the application window. Alternatively, press the F4 shortcut to hide/display all floating panels.


Setting the Document Options

Panel page: Schematic Document Options

Before you start drawing your circuit, it's good to set up the appropriate document options, including the Sheet Size, and the Snap and Visible grids.

Properties panel, document options
Document options are configured for each schematic sheet, set the sheet size as required.

As well as the technique described in the collapsible section below, the Properties in its Document Options can also be accessed by double-clicking in the sheet border.

Environment options, such as the cursor type, selection color, and autopan behavior, are configured in the Preferences dialog (click the Gear icon used to open the Preferences dialog button located at the top right of the application window or select the Tools » Preferences command from the main menus).

The properties of most objects, including the schematic sheet (or PCB design space), are configured in the Interactive Properties panel. The panel automatically displays the properties of the selected object, or if no object is selected, it displays the properties of the schematic sheet (or PCB design space).

  1. If the Properties panel is not visible, click the Panels button button at the bottom right of the application window and select Properties from the menu that opens.
  2. The General tab of the Properties panel in its Document Options mode (when nothing is selected) is divided into the following sections: Selection Filter, General and Page Options. Each section can be opened/collapsed via the small triangle next to the section name.
  3. Select a template for the schematic sheet from those that are stored in your Workspace. In the Formatting and Size region of the Page Options section, select the Template mode, then select the ANSI B Landscape under the section of your Workspace in the Template drop-down.
  4. The Update Template dialog will open. Select Just this document for the Choose Document Scope option and Add new parameters that exist in the template only for the Choose Parameter Actions, then click the OK button. In the information dialog that opens, click the OK button.
  5. For the Visible Grid and Snap Grid, set the 100mil value.
  6. To make the document fill the viewing area, select View » Fit Document (shortcut: V, D).
  7. Save the schematic locally – right-click the schematic in the Projects panel and select Save.
To learn more about any of the controls in the Properties panel, press F1 when the cursor is over the panel.

Accessing the Components

Related page: Building & Maintaining Your Components and Libraries

The real-world component that gets mounted on the board is represented as a schematic symbol during design capture, and as a PCB footprint for board design.

Components for your PCB design project can be created in and placed from your company's Workspace library, or database and file-based libraries. These components are placed through the Components panel that uses Altium Designer's advanced component search engine.

A new Workspace library component is created using the Component Editor where you can define all component data (domain models, parameters, part choices, etc.) manually, or use data acquired from the Manufacturer Part Search panel. This panel gives you instant and up-to-date access to a powerful component search and aggregation system, detailing millions of components from thousands of manufacturers, each with real-time supply chain information. Many of the components are design-ready, complete with a symbol and a footprint model; these parts will include the Has Models icon icon in the panel.

  • For this tutorial, all of the parts will be acquired from the Manufacturer Part Search panel to your Workspace.
  • Throughout the tutorial, the terms component and part are both used to describe the design components you will be placing and wiring.

Learn more about Workspace library components.

Searching for New Parts

Panel page: Manufacturer Part Search

Your go-to location to find new components is the Manufacturer Part Search panel. To open the Manufacturer Part Search panel, click the Panels button button at the bottom right of the application window and select Manufacturer Part Search from the menu. Panels that are currently visible are marked with a check in the menu.

The first time the Manufacturer Part Search panel is opened, it will display a list of component categories as shown below.

Manufacturer Parts Search panel
The Manufacturer Part Search panel, before performing a search.

Utilizing Altium Designer's advanced component search engine, the Manufacturer Part Search panel can be used in a straightforward search mode by entering a query in the main Search field, or in its advanced faceted mode by progressively refining the search criteria using the Categories and Filters choices – or by using both capabilities together.

  • To perform a straightforward search, type a search description into the Search field at the top of the panel and press Enter.

    For example: LED green clear 0603 SMD

    Manufacturer Parts Search panel, simple search
    Use the Search field to perform a text-based search. Click the small x next to the search string to clear it, click the search string to reload it into the Search field for editing.

  • To perform a faceted search, use the Categories and Filters to explore potential parts by toggling criteria on and off.

    For example:

    1. First select a Category, such as LEDs,
    2. then Filter the LEDs category by the Color, Packaging, Mount, Has Model, and so on.

    Manufacturer Parts Search panel, faceted search
    Or use a combination of the Categories, Filters, and the Search field to perform a faceted search.

  • Categories are accessed using the drop-down, indicated by number 1 in the image above.
  • Click the Manufacturer Parts Search panel, Filters button button to toggle the Filters list on and off (number 2 in the image). The contents of the Filters list changes to suit the category of the component being searched.
  • Some of the Filter fields include text boxes to enter numeric values. Press Enter on the keyboard to apply the value.
  • If the results list does not update, click in the Search field and press Enter on the keyboard.
  • The current search criteria defined by the enabled Filters list are detailed just below the search bar. Click the small x icon to remove any of the existing search criteria. Note that the contents of the Filters search box apply to these results too, so if it has not been cleared, you will only be able to remove the search criteria that was last entered into the search box. Clear the search box to resolve this.

    Manufacturer Parts Search panel, edit search conditions

  • Click on a column heading to sort the results by that column.
  • Right-click on an existing column heading to access the Select Columns dialog for configuring column order and visibility.

    Select Columns dialog

Panels and dialogs that support searching for components have a normal mode and a compact mode. As the panel/dialog is resized the controls will re-arrange, so they may not present exactly as they are shown and described here.

Exploring the Search Results

The search results region of the panel displays a list of manufacturer parts that wholly or partly match the search criteria. Click on a part to select it and display a link giving access to up-to-date supply chain information about that part.

Manufacturer Parts Search panel, details of the selected part

  • If the manufacturer provides an image of the part, it will be displayed. Next to the image is the Manufacturer Part Number (MPN), which is also link to detailed information about the part on the Octopart website (indicated by the number 1 in the image above).
  • The vertical colored bar indicates the manufacturer's Lifecycle status; for example, Volume Production, EOL, etc. Hover the cursor over the bar for more information. Note that the manufacturer's Lifecycle status is not an indication of availability; that is displayed in the individual supplier tiles (as described below). For example, a manufacturer might have a part flagged as End of Life, but suppliers might still have large amounts of stock.

    Learn more about Interpreting the Manufacturer Lifecycle State.

  • The Has Model icon indicates that there are models available for this part. Click the Part information button at the top right of the panel to display detailed part information, including the models.
  • Click anywhere on a row to select that part. The row will highlight and a second link will appear indicating the number of suppliers who can deliver that part (number 2 in the image above). Click the link to display detailed supply chain information about the suppliers that carry that part, ordered by availability and price.
  • Each Supplier's details about that part are presented on a tile with a colored banner. These tiles are also referred to as SPNs (Supplier Part Numbers). Details about the icons and information in each tile are given below.
  • Click the panel's Manufacturer Parts Search panel, settings button to configure: the currency used, if invalid SPNs should be excluded (display only suppliers that show suitable stock levels and up-to-date data), or configure the available suppliers.

Understanding the Supplier Tile

There is a large amount of information presented in each SPN tile. Hover the cursor over an icon or detail to display a tooltip with more information.

Manufacturer Parts Search panel, Supplier Part Number tile The SPN tile includes detailed information about the part and its availability.

  1. Tile banner showing the Supplier name, where the banner color indicates:
    • Green = Best choice
    • Orange = Acceptable
    • Red = Risky
  2. Supplier part number (links to that part on the Octopart website).
  3. Country code for the Supplier location (ISO alpha 2).
  4. Source of the part information (typically the Altium Parts Provider). Color indicates:
    • Light Gray = Default, updated less than one week ago
    • Orange = 1 week < last update < month ago
    • Red = last update > 1 month ago
  5. Stock quantity: red if no stock available.
  6. Unit price: red if no price available. Unit price is shown in currency configured in the panel settings (Manufacturer Parts Search panel, settings).
  7. Packaging of supplied parts; hover for details.
  8. Available price breaks with Minimum Order Quantities.

Acquiring from the Manufacturer Part Search Panel to the Workspace

If a component that you have found in the Manufacturer Part Search panel has Altium design models, it will display the Has Model icon icon. If a component has models, the schematic symbol and footprint models will be listed in the Component Details pane of the panel (click the Manufacturer Part Search panel, part information button in the panel to display this pane, or click the Components panel, compact mode, component details button at the bottom of the panel if the panel is in its compact mode). This component can be acquired to your connected Workspace.

Manufacturer Part Search panel, faceted search results
Use the faceted search features in the Manufacturer Part Search panel to only display components with models.

The Filters region of the panel includes a Has Model filter. Enable this to only display design-ready parts. Click Manufacturer Part Search panel, Filters button to display the available filters.

To acquire a component from the panel to your connected Workspace:

  1. Select the Acquire command:
    • Select Acquire from the menu of the Download button in the Component Details pane.

      Manufacturer Part Search panel, acquiring from component details pane

    • Right-click on the component and select Acquire from the context menu.
  2. The Create new component dialog will open. Select a component type from those that are currently defined in your connected Workspace and click OK.
  3. The Single Component Editor and the Use Component Data dialog will open. Select component data (parameters, models, datasheets) you would like to add to the new component and click OK.
  4. Apply changes to the new component definition as required.
  5. Save the new component to the connected Workspace using the File » Save to Server command from the main menus.
  6. In the Edit Revision for Item dialog that opens, type in a meaningful comment to the Component Item Revision release into the Release Notes field and click OK.

The acquired component will then be available for placement from your connected Workspace to the design through the Components panel.


Acquiring the Multivibrator Parts

Now, it is time to use the Manufacturer Part Search panel to find the components needed for the Multivibrator circuit as listed in the following table.

Designator Description Comments
Q1, Q2 General-purpose NPN transistor, e.g. BC547 or 2N3904 Search for: transistor BC547, choose BC547CG
C1, C2 22nF capacitor, 5%, 16V, 0603 Search for: capacitor 22nF 16V 0603
R1, R2 100K resistor, 5%, 0805 Search for: resistor 100K 5% 0805
R3, R4 1K resistor, 5%, 0805 Search for: resistor 1K 5% 0805
P1 2-pin header Use the faceted search feature to filter for a: Connector, 2-pin, vertical, male, header
  1. Open the Manufacturer Part Search panel if not already – click the Panels button button at the bottom right of the application window and select Manufacturer Part Search from the menu.
  2. Use panel's Search field to search for: transistor BC547.

    Manufacturer Part Search panel, searching for a transistor

  3. Click the ON Semiconductor BC547CG transistor to select it in the results grid in the panel.
  4. To explore the availability of a component, select it in the results grid in the panel then click the SPN link that appears.

    Manufacturer Part Search panel, exploring part availability

  5. Display the Component Details pane of the panel using the Manufacturer Part Search panel, component details button (or using the Components panel, compact mode, component details button at the bottom of the panel if the panel is in its compact mode) so that you can explore the properties and models of the selected component. You will be choosing a component that includes a symbol and footprint.
  6. When the required transistor is selected in the panel, click the Download drop-down in the top region of the Component Details pane and select Acquire.
  7. In the Create new component dialog that opens, select the Transistors component type and click OK.

    Create new component dialog, transistor creation

  8. In the Use Component Data dialog that opens, disable the Only matching option at the top-right of the dialog and enable Parameters, Symbols, Footprints, and Datasheets options, then click OK.

    Use Component Data dialog, transistor creation

  9. The Single Component Editor will open, with the chosen data loaded. Leave the data values at their defaults and select the File » Save to Server command from the main menus.

    Single Component Editor, with data of transistor being acquired

  10. In the Edit Revision for Item dialog that opens, type in a meaningful comment to the Component Item Revision release into the Release Notes field (e.g., Initial release of the transistor component, acquired from Manufacturer Part Search), then click OK. A status dialog will open while the component is saved to the Workspace. When this is complete, the Component Editor will close.
  1. Return to the Manufacturer Part Search panel and use the panel's Search field to search for: capacitor 22nF 16V 0603.
  2. Select the KEMET C0603C223J4RACTU capacitor in the search result grid, right-click on it then select Acquire from the context menu.
  3. In the Create new component dialog that opens, select the Capacitors component type and click OK.
  4. In the Use Component Data dialog that opens, disable the Only matching option at the top-right of the dialog and enable Parameters, Symbols, Footprints, and Datasheets options, then click OK.
  5. The Single Component Editor will open, with the chosen data loaded. In the Name field in the Component region at the top-left of the editor, change the component name to Capacitor 22nF +/-5% 16V 0603.

    Single Component Editor, change capacitor component name

  6. Leave other data values at their defaults and select the File » Save to Server command from the main menus.
  7. In the Edit Revision for Item dialog that opens, type in a meaningful comment to the Component Item Revision release into the Release Notes field (e.g., Initial release of the capacitor component, acquired from Manufacturer Part Search), then click OK. A status dialog will open while the component is saved to the Workspace. When this is complete, the Component Editor will close.
  1. Return to the Manufacturer Part Search panel, search for: resistor 100K 5% 0805.
  2. Select the Panasonic ERJ-6GEYJ104V resistor in the search result grid, right-click on it then select Acquire from the context menu.
  3. In the Create new component dialog that opens, select the Resistors component type and click OK.
  4. In the Use Component Data dialog that opens, disable the Only matching option at the top-right of the dialog and enable Parameters, Symbols, Footprints, and Datasheets options, then click OK.
  5. The Single Component Editor will open, with the chosen data loaded. In the Name field in the Component region at the top-left of the editor, change the component name to Resistor 100K +/-5% 0805 125 mW.
  6. Leave other data values at their defaults and select the File » Save to Server command from the main menus.
  7. In the Edit Revision for Item dialog that opens, type in a meaningful comment to the Component Item Revision release into the Release Notes field (e.g., Initial release of the resistor component, acquired from Manufacturer Part Search), then click OK. A status dialog will open while the component is saved to the Workspace. When this is complete, the Component Editor will close.
  8. Return to the Manufacturer Part Search panel, search for: resistor 1K 5% 0805.
  9. Select the Panasonic ERJ-P06J102V resistor in the search result grid, right-click on it then select Acquire from the context menu.
  10. In the Create new component dialog that opens, select the Resistors component type and click OK.
  11. In the Use Component Data dialog that opens, disable the Only matching option at the top-right of the dialog and enable Parameters, Symbols, Footprints, and Datasheets options, then click OK.
  12. The Single Component Editor will open, with the chosen data loaded. In the Name field in the Component region at the top-left of the editor, change the component name to Resistor 1K +/-5% 0805 500 mW.
  13. Leave other data values at their defaults and select the File » Save to Server command from the main menus.
  14. In the Edit Revision for Item dialog that opens, type in a meaningful comment to the Component Item Revision release into the Release Notes field (e.g., Initial release of the resistor component, acquired from Manufacturer Part Search), then click OK. A status dialog will open while the component is saved to the Workspace. When this is complete, the Component Editor will close.
  1. The last component to find is the 2-pin header. Return to the Manufacturer Part Search panel. This time you will use the panel's faceted searching capabilities.
  2. In the Categories drop-down, select Headers and Wire Housings under the All » Connectors category.
  3. Click the Filters button (Manufacturer Part Search panel, Filters button) to display the Filters pane.
  4. The list of available filters is dynamically updated to suit the category being used and can be quite long. To help manage it, only the most commonly-used filters are displayed. Scroll to the bottom of the list and click the Manufacturer Part Search panel, Show More Filters option link to display all of the available filters.
  5. An efficient way of working with the filters is to use the Search field at the top of the Filters pane. Searching returns strings that match in either the Filter Name or in the Filter Settings. Using the following search terms, apply the filters and select the options listed below:

    Search for Choose
    has model Has Model: Yes
    contacts Number of Contacts: 2
    pitch Terminal Pitch: 2.54mm
    male Contact Gender: Male
    straight Mounting Style: STRAIGHT
  6. A small number of 2-pin vertical male headers should be returned, as shown below. Select the suitable Samtec TSW-102-26-F-S 2-pin connector from the search results; right-click on it and select Acquire from the context menu.

    Manufacturer Part Search panel, right-click to acquire selected part

  7. In the Create new component dialog that opens, select the Connectors component type and click OK.
  8. In the Use Component Data dialog that opens, disable the Only matching option at the top-right of the dialog and enable Parameters, Symbols, Footprints, and Datasheets options, then click OK.
  9. The Single Component Editor will open, with the chosen data loaded. Leave the data values at their defaults and select the File » Save to Server command from the main menus.
  10. In the Edit Revision for Item dialog that opens, type in a meaningful comment to the Component Item Revision release into the Release Notes field (e.g., Initial release of the connector component, acquired from Manufacturer Part Search), then click OK. A status dialog will open while the component is saved to the Workspace. When this is complete, the Component Editor will close.

Placing from the Components Panel onto the Schematic

When Altium Designer is connected to a Workspace, the Components panel will list all components available for use in a project design, from this Workspace. For such components, the Components panel supports the same search features that are available in the Manufacturer Part Search panel, including string-based searching, faceted searching, or a combination of both, and also the Find Similar Components feature.

To open the Components panel, click the Panels button button at the bottom right of the application window and select Components from the menu.

The panel’s Categories pane (or the drop-down menu in panel's compact mode) lists available Workspace library components under the All category entry. When the panel is in its normal mode, click the Categories list icon or the « icon to collapse or expand the display of the list. The structure of categories reflects component types currently defined on the connected Workspace (use the Data Management – Component Types page of the Preferences dialog for viewing and managing Component Types).

Components panel
The Components panel being used to browse components stored in a Workspace.

To place a component from the panel, you can:

  • Click the Place button in the Component Details pane – the cursor automatically moves to be within the bounds of the schematic sheet and the component appears floating on the cursor; position it and click to place. After placing a component, another instance of the same component will appear on the cursor; right-click to drop out of placement mode.

    Components panel, placing from component details pane

  • Right-click on the component and select Place from the context menu. The component appears floating on the cursor; position it and click to place. Note that if the panel is floating over the design space, it will fade to allow you to see the schematic and place the component. After placing a component, another instance of the same component will appear on the cursor; right-click to drop out of placement mode.
  • Click, Hold&Drag – click and drag the component from the grid region of the panel onto a schematic sheet. This mode requires that the cursor is held down; the component is placed when the cursor is released. Using this technique only one component is placed. After placing the component, you are free to select another component or another command.

Placement Tips

While the component is floating on the cursor, you can:

  • Press Spacebar to rotate it counterclockwise in 90º increments.
  • Press X to flip it along the X-axis; press Y to flip it along the Y-axis.
  • Press Tab to display the Properties panel and edit the properties of an object prior to placement. The values entered become the defaults. If the designator has the same prefix, it will be auto-incremented.
  • During component placement, the software will automatically pan if you touch the window edge. Autopanning is configured in the Schematic – Graphical Editing page of the Preferences dialog. If you accidentally pan beyond where you want, while the component is floating on the cursor you can:
    • Ctrl+Mouse Wheel to zoom out and in again, or
    • Right-Click, Hold&Drag to slide the schematic around, or
    • Ctrl+PgDn to display the entire sheet again.
  • If the Components panel is floating over the schematic sheet when you place a part, it will automatically become transparent whenever the cursor+component gets close to it. The transparency of floating panels is configured in the System – Transparency page of the Preferences dialog. Alternatively, all floating panels can be hidden/displayed at any time (while running a command or not) by pressing the F4 shortcut.

Learn more about Schematic Placement & Editing Techniques

Working with the Properties panel during Placement

During object placement, if you press Tab the editing process will pause and the interactive Properties panel in its appropriate mode will open. The default behavior is for the most commonly edited field to be highlighted, ready for editing. Because the editing process is paused, you can use the cursor (or press Tab on the keyboard) to move to another field in the panel.

When you have finished editing, click the Pause button (Pause button) as shown in the image below to return to object placement. Alternatively, press Enter to finish object editing and return to object placement.

Demonstration of pausing to edit the schematic component properties on the fly
Editing is paused when you press Tab during placement – click the Pause icon on the screen to return to placing the component.

In this tutorial, all of the components are acquired from the Manufacturer Part Search panel to your Workspace. The information in the collapsible section below is included to give you a basic overview of how to work with non-Workspace library components.

Storing Non-Workspace Library Components

The following non-Workspace library component storage options can be used with Altium Designer:

Library Type Function
Schematic Library Schematic component symbols are created in schematic libraries (*.SchLib), which are stored locally. Each symbol can become a component by adding links to a PCB footprint, then adding component parameters to detail the component's specifications.
PCB Library PCB footprints (models) are stored in PCB libraries (*.PcbLib), which are stored locally. The footprint includes the electrical elements, such as the pads, as well as the mechanical elements, such as the component overlay, dimensions, glue dots, and so on. It can also include a 3D definition, created by placing 3D Body objects, or by importing a STEP model.
Library Package / Integrated Library As well as working directly from the schematic and PCB libraries, you can also compile the component elements into an integrated library (*.IntLib, stored locally). Doing this results in a single, portable library that holds all the models and symbols. An integrated library is compiled from a Library package (*.LibPkg), which is essentially a special-purpose project file, with the source schematic (*.SchLib) and PCB libraries (*.PcbLib) added to it as source documents. As part of the compilation process, you can also check for potential problems, such as missing models and mismatches between schematic pins and PCB pads.
Altium database library An intermediate database library file (DbLib) presents an external ODBC data source as an Altium component library (each record specifies a component). The Altium models (symbol, footprint, etc.) are stored in file-based libraries and referenced in each database record. The DbLib database fields are mapped to component parameters. These are retrieved and added to the component during placement from the DbLib.

Learn more about database and file-based libraries.

Learn more about the differences between the component libraries.

Libraries Available for Placing non-Workspace Library Components

Dialog page: Available File-based Libraries

In Altium Designer, non-Workspace library components can only be placed from available libraries. The term "available libraries" includes:

  • Libraries in the current project – if a library is part of the project, then the components in it are automatically available for placement within that project.
  • Installed libraries – these are libraries that have been installed in Altium Designer, their components are available for use in any open project.
  • Libraries on a defined search path – it is also possible to define a search path to a folder that holds multiple libraries. Because all files in the search path are searched every time a new component is chosen in a panel, this approach is only recommended for small libraries that hold simple model definitions, such as simulation models. Search paths are not recommended for complex models, such as footprints that include 3D models.

Installing a Library

Libraries are installed in the Installed tab of the Available File-based Libraries dialog. To open the dialog, click the Components panel menu button at the top of the Components panel and select File-based Libraries Preferences from the menu.

Available File-based Libraries dialog
Install the required libraries to make their components available for designs.

Advanced Searching in Libraries

To help find a component in both installed and not currently installed libraries, Altium Designer includes a library searching feature.

Searching is performed in the File-based Libraries Search dialog, which is accessed by clicking the Components panel menu button on the Components panel, and selecting File-based Libraries Search from the menu. The upper half of the dialog is used to define what you are searching for, the lower half is used to define where to search.

File-based Libraries Search dialog
Search across installed libraries (Available libraries), or libraries on the hard drive (Libraries on path).

  • The Scope of the search is libraries that are:

    • already installed (Available libraries) or
    • in libraries located on the hard drive (Libraries on Path). The Path is set to point to the folder holding the file libraries, for example, the supplied libraries are stored in C:\Users\Public\Documents\Altium\AD<Version>\Library.
  • Click the Search button to begin the search. The results are displayed in the Components panel as the search takes place.
  • You can only place components from libraries that are installed in the software if you attempt to place from a library that is not currently installed you will be asked to Confirm the installation of that library when you attempt to place the component.
Library searching is actually performed using queries. In the File-based Libraries Search dialog, switch to the Advanced mode to examine the query. Hover the cursor over the image above to show the search dialog in Advanced mode.

Placing the Multivibrator Parts

With the Components panel, components acquired from Manufacturer Part Search will be placed in the Multivibrator circuit. Once you have placed the components, the schematic should look like the image below.

You can proceed to find and place the components. Note that the collapsible sections below include tips on editing during placement, which is more efficient than editing after placement. If you choose to leave the editing until after the components are placed, click to select the component and edit it in the Properties panel.

Multivibrator schematic, parts placed
All the components have been placed, ready for wiring.

  1. Select View » Fit Document from the main menus (shortcut: V, D) to ensure your schematic sheet takes up the full editing window.
  2. Open the Components panel if not already – click the Panels button button at the bottom right of the application window and select Components from the menu.
  3. Click the Components panel menu button at the top of the Components panel and select Refresh from the menu to update the panel's content with the components acquired from Manufacturer Part Search.
  4. Use panel's Search field to search for: transistor BC547.

    Components panel, searching for a transistor

  5. Display the Component Details pane of the panel using the Components panel, component details button (or using the Components panel, compact mode, component details button at the bottom of the panel when the panel is in its compact mode) so that you can explore the properties and models of the selected component.
  6. Click to select the required transistor in the results grid in the panel then click the Place button (as shown below). The cursor will change to a crosshair and you will have a symbol of the transistor floating on your cursor. You are now in part placement mode. If you move the cursor around, the transistor will move with it.

    Do not place the transistor yet!

    Components panel, transistor placement

  7. Before placing the part on the schematic, you can edit its properties, which can be done for any object floating on the cursor. While the transistor is still floating on the cursor, press the Tab key to open the Properties panel. The default behavior is to automatically highlight the most-used field in the panel, ready for editing; in this case, it will be the Designator. Note that each section of the panel can be individually expanded or collapsed, which means your panel might look different.

    Properties panel, edit component designator
    Set the Designator to Q1, and the Comment to be visible.

  8. In the Properties section of the panel, type in the Designator Q1.
  9. Confirm that the visibility control for the Comment field is set to visible (Component Comment visibility button).
  10. Leave all other fields at their default values then click the Pause button (Pause button) to return to part placement.
  11. Move the cursor, with the transistor symbol attached, to position the transistor a little to the left of the middle of the sheet. Note the current snap grid, which is displayed on the left of the Status Bar at the bottom of the application window. It is 100mil; you can press the G shortcut to cycle through the available grid settings during object placement. It is strongly advised to keep the snap grid at 100mil or 50mil to keep the circuit neat and make it easy to attach wires to pins. For a simple design such as this, 100mil is a good choice.
  12. Once you are happy with the transistor's location, click the left mouse button or press Enter on the keyboard to place the transistor onto the schematic. The location can be changed later if required.
  13. Move the cursor and you will find that a copy of the transistor has been placed on the schematic sheet, and you are still in part placement mode with the transistor symbol floating on the cursor. This feature allows you to place multiple parts of the same type.
  14. You are ready to place the second transistor. This transistor is the same as the previous one so there is no need to edit its attributes before you place it. The software will automatically increment the component designator when you place multiple instances of the same part. In this case, the next transistor will automatically be designated Q2.
  15. If you refer to the schematic diagram shown above, you will notice that Q2 is drawn as a mirror of Q1. To horizontally flip the orientation of the transistor floating on the cursor, press the X key on the keyboard. This flips the component along the X axis.
  16. Move the cursor to position the part to the right of Q1. To position the component more accurately, press the PgUp key twice to zoom in two steps. You should now be able to see the grid lines.
  17. Once you have positioned the part, click the click the left mouse button or press Enter to place Q2. Once again a copy of the transistor you are "holding" will be placed on the schematic and the next transistor will be floating on the cursor ready to be placed.
  18. Since both of the transistors have been placed, exit part placement mode by clicking the right mouse button or pressing the Esc key. The cursor will revert back to a standard arrow.
  1. Return to the Components panel and search for: capacitor 22nF 16V 0603.
  2. Select the found capacitor in the search result grid, right-click on it then select Place from the context menu.
  3. While the capacitor is floating on the cursor, press the Tab key to open the Properties panel.
  4. In the General section of the panel, type in the Designator C1.
  5. Expand the Parameters section of the Properties panel and open the Value drop-down of the Footprint entry. Many of the resistors and capacitors have several footprint models, for different density levels. Select the A variety as shown in the image below.

    Properties panel, edit footprint

  6. Using visibility controls in the Parameters section of the panel, enable the visibility of the Capacitance parameter and disable the visibility of other parameters. Value of the Capacitance parameter will be shown next to the component in the design space.

    Click the Show More link in the panel's Parameters region to show the full list of component parameters.
  7. Leave the other fields at their default values and click the Pause button (Pause button) to return to part placement; the capacitor will be floating on the cursor.
  8. Press the Spacebar to rotate the component in 90° increments until it has the correct orientation.
  9. Position the capacitor above the transistors (refer to the schematic diagram shown earlier) and click the left mouse button or press Enter to place the part.
  10. Position and place capacitor C2.
  11. Right-click or press Esc to exit the part placement mode.
  1. In the Components panel, search for: resistor 100K 5% 0805.
  2. Select the found 100K resistor in the search result grid and display the footprint in the Models section of the panel.
  3. Many of the resistors and capacitors have several footprint models, for different density levels. Select the M variety as shown in the image below. This selection can be done before the component is placed on the schematic during schematic placement or after schematic placement.
  4. Right-click on the resistor in the search results grid and select Place from the context menu, as shown below.

    Manufacturer Parts Search panel, right click to place the selected part

  5. While the resistor is floating on the cursor, press the Tab key to open the Properties panel.
  6. In the General section of the panel, type in the Designator R1.
  7. In the Parameters section of the panel, enable the visibility of the Resistance parameter and disable the visibility of other parameters.
  8. Leave all other fields at their default values and click the Pause button (Pause button) to return to part placement; the resistor will be floating on the cursor.
  9. Press the Spacebar to rotate the component in 90° increments until it has the correct orientation.
  10. Position the resistor above and to the left of the base of Q1 (refer to the schematic diagram shown previously) and click the left mouse button or press Enter to place the part.
  11. Next, place the other 100k resistor, R2, above and to the right of the base of Q2. The designator will automatically increment when you place the second resistor.
  12. Exit part placement mode by clicking the right mouse button or pressing the Esc key. The cursor will revert back to a standard arrow.
  13. The remaining two resistors, R3 and R4, have a value of 1K; search for: resistor 1K 5% 0805 fixed in the Components panel.
  14. Select the found 1K resistor in the search result grid and display the footprint in the Models section of the panel.
  15. Many of the resistors and capacitors have several footprint models, for different density levels. Select the M variety.
  16. Right-click on the resistor in the search results grid and select Place from the context menu.
  17. While the resistor is floating on the cursor, press the Tab key to open the Properties panel.
  18. In the General section of the panel, type in the Designator R3.
  19. In the Parameters section of the panel, enable the visibility of the Resistance parameter and disable the visibility of other parameters.
  20. Leave all other fields at their default values and click the Pause button (Pause button) to return to part placement; the resistor will be floating on the cursor.
  21. Press the Spacebar to rotate the component in 90° increments until it has the correct orientation.
  22. Position and place R3 directly above the Collector of Q1, then place R4 directly above the Collector or Q2, as shown in the image above.
  23. Right-click or press Esc to exit part placement mode.
  1. Return to the Components panel and search for: connector male straight.
  2. Select the found connector in the search result grid, right-click on it then select Place from the context menu.
  3. While the header is floating on the cursor, press Tab to open the Properties panel and set the Designator to P1.
  4. Click the Pause button to return to part placement.
  5. Before placing the header, press Spacebar to rotate it to the correct orientation. Click to place the connector on the schematic, as shown in the image above.
  6. Right-click or press Esc to exit part placement mode.
  7. Save your schematic locally.

Editing in the Properties Panel

One of the powerful features of the Properties panel is that it supports editing multiple selected objects at the same time.

  • If all objects share a property, that property will be available for editing.
  • If all objects share the same property value, that value will be displayed.
  • If objects share the same property but have different values, it will display an asterisk (*).
  • The value entered or option chosen is applied to all selected objects.

Demonstration video, editing in the Properties panel
Use the Properties panel to edit the properties of multiple selected objects. The selected components are rotated to force their strings to the default locations.

You have now placed all the components. Note that the components shown in the image above are spaced so that there is plenty of room to wire to each component pin. This is important because you cannot place a wire across the bottom of a pin to get to a pin beyond it. If you do, both pins will connect to the wire. If you need to move a component, click and hold on the body of the component then drag the mouse to reposition it.

Component Positioning Tips

  • To reposition any object, place the cursor directly over the object, click and hold the left mouse button, drag the object to a new position then release the mouse button. Movement is constrained to the current snap grid, which is displayed on the Status Bar. Press the G shortcut at any time to cycle through the current snap grid settings. Remember that it is important to position components on a coarse grid, such as 50 or 100mil.
  • Once a component has been placed on the schematic, the software will attempt to maintain connectivity (keep the wires attached) if the component is moved. This connective-aware movement is referred to as dragging. To move the component without maintaining connectivity, hold Ctrl as you click and drag the component. To switch the default behavior from dragging to moving, disable the Always Drag option in the Schematic – Graphical Editing page of the Preferences dialog.
  • You can also re-position a group of selected schematic objects using the arrow keys on the keyboard. Select the objects then press an arrow key while holding down the Ctrl key. Hold Shift as well to move objects by 10 times the current snap grid.
  • The grid can also be temporarily set to 1 while moving an object with the mouse; hold Ctrl to do this. Use this feature when positioning text.
  • The grids you cycle through when you press the G shortcut are defined in the Schematic – Grids page of the Preferences dialog (Tools » Preferences). The Units controls on the Schematic – General page of the Preferences dialog are used to select the measurement units; select either Mils or Millimeters. Note that Altium Designer components are designed using an imperial grid; if you change to a metric grid, the component pins will no longer fall onto a standard grid. Because of this, it is recommended to use Mils for Units unless you plan on only using your own components.

Wiring up the Circuit

Wiring is the process of creating connectivity between the various components of your circuit. To wire up your schematic, refer to the sketch of the circuit and the animation shown below.

Demonstration video, wiring the multivibrator schematic

Use the Wiring tool to wire up your circuit. Toward the end of the animation, you can see how wires can be dragged.

The Active Bar

The tools most commonly used in each editor are available on the Active Bar, which is displayed at the top of the editing window.

Place a Net Label, using the Active Bar

The buttons on the Active Bar are either single-function or multi-function. Multi-function buttons are indicated by a small white triangle in their bottom-right corner. Click and hold anywhere on a multi-function button for one second or right-click it – a menu will appear listing other available commands. The last-used command will become the default for that button location.

  1. To make sure you have a good view of the schematic sheet, press the PgUp key to zoom in or PgDn to zoom out. Alternatively, hold down the Ctrl key and roll the mouse wheel to zoom in/out, or hold Ctrl + Right Mouse button down and drag the mouse up/down to zoom in/out. There are also a number of useful View commands in the right-click View submenu, such as Fit All Objects (Ctrl+PgDn).
  2. First, wire the lower pin of resistor R1 to the base of transistor Q1 in the following manner. Click the Wiring tools button button on the Active Bar (Place » Wire, or Ctrl+W shortcut) to enter the wire placement mode. The cursor will change to a crosshair.
  3. Position the cursor over the bottom end of R1. When you are in the right position, a red connection marker (red cross) will appear at the cursor location. This indicates that the cursor is over a valid electrical connection point on the component.
  4. Left-click or press Enter to anchor the first wire point. Move the cursor and you will see a wire extend from the cursor position back to the anchor point.
  5. Position the cursor over the base of Q1 until you see the cursor change to a red connection marker. If the wire is forming a corner in the wrong direction, press Spacebar to toggle the corner direction.
  6. Click or press Enter to connect the wire to the base of Q1. The cursor will release from that wire.
  7. Note that the cursor remains a crosshair indicating that you are ready to place another wire. To exit placement mode completely and go back to the arrow cursor, you would right-click or press Esc again – but don't do this just now.
  8. Next, wire from the lower pin of R3 to the collector of Q1. Position the cursor over the lower pin of R3 and click or press Enter to start a new wire. Move the cursor vertically until it is over the collector of Q1 then click or press Enter to place the wire segment. Again, the cursor will release from that wire and you remain in wiring mode, ready to place another wire.
  9. Wire up the rest of your circuit, as shown in the animation above.
  10. When you have finished placing all the wires, right-click or press Esc to exit placement mode. The cursor will revert to an arrow.

Wiring Tips

  • Use the Ctrl+W shortcut to launch the Place » Wire command.
  • Left-click or press Enter to anchor the wire at the cursor position.
  • Press Backspace to remove the last anchor point.
  • Press Spacebar to toggle the direction of the corner. You can observe this in the animation shown above toward the end when the connector is being wired.
  • Press Shift+Spacebar to cycle through the wiring corner modes. Available modes include: 90, 45, Any Angle, and Autowire (place orthogonal wire segments between the click points).
  • Right-click or press Esc to exit wire placement mode.
  • Click, Hold&Drag to drag the component together with any connected wires; Ctrl+Click, Hold&Drag to move a placed component.
  • Whenever a wire crosses the connection point of a component or is terminated on another wire, a junction will automatically be created.
  • A wire that crosses the end of a pin will connect to that pin even if you delete the junction. Check that your wired circuit looks like the figure shown before proceeding.
  • Wiring cross-overs can be displayed as a small arch if preferred. Enable the Display Cross-Overs option in the Schematic – General page of the Preferences dialog.

Nets and Net Labels

Each set of component pins that you have connected to each other now form what is referred to as a net. For example, one net includes the base of Q1, one pin of R1, and one pin of C1. Each net is automatically assigned a system-generated name, which is based on one of the component pins in that net.

To make it easy to identify important nets in the design, you can add Net Labels to assign names. For the multivibrator circuit, you will label the 12V and GND nets in the circuit, as shown below.

Multivibrator schematic, complete
Net Labels have been added to the 12V and GND nets, completing the schematic.

  1. Select the Net Label command (choose the Place Net Label button icon in the Active Bar, or select the Place » Net Label from the main menus). A net label will appear floating on the cursor.
  2. To edit the net label before it is placed, press Tab to open the Properties panel.
  3. Type 12V in the Net Name field, then click the Pause button (Pause button) to return to object placement.
  4. Place the net label so that its hotspot (the bottom left corner) touches the uppermost wire on the schematic, as shown in the images below. The cursor will change to a red cross when the net label is correctly positioned to connect to the wire. If the cross is light gray, it means there will not be a valid connection made.

    Placing a Net Label, not yet touching the wire   Placing a Net Label, touching the wire
    The net label in free space (the first image) and positioned over a wire (the second image), note the red cross.

  5. After placing the first net label, you will still be in net label placement mode; press the Tab key again to edit the second net label in the Properties panel before placing it.
  6. Type GND in the Net Name field and press Enter to return to object placement mode.
  7. Place the net label so that the bottom left of the net label touches the lower-most wire on the schematic (as shown in the completed schematic image above). Right-click or press Esc to exit net label placement mode.
  8. Save your circuit and the project locally – right-click each file in the Projects panel and select Save.

Net Labels, Ports, and Power Ports

  • As well as giving a net a name, Net Labels are also used to create connectivity between two separate points on the same schematic sheet.
  • Ports are used to create connectivity between two separate points on different sheets. Off Sheet Connectors can also be used to do this.
  • Power Ports are used to create connectivity between points on all sheets; for this single sheet design, Net Labels or Power Ports could have been used.
Congratulations! You have just completed your first schematic capture. Before you turn the schematic into a circuit board, you need to configure the project options and check the design for errors.

Setting Up Project Options

Project-specific settings are configured in the Project Options dialog shown below (Project » Project Options). The project options include the error checking parameters, a connectivity matrix, class generation settings, the Comparator setup, Engineering Change Order (ECO) generation, output paths and connectivity options, Multi-Channel naming formats, and project-level Parameters.

Project outputs, such as assembly outputs, fabrication outputs, and reports can be set up from the File and Reports menus. These settings are also stored in the Project file so they are always available for this project. An alternate approach is to use an OutputJob file to configure the outputs, with the advantage that an OutputJob can be copied from one project to the next. See Preparing Your Design for Manufacture to learn more about configuring the outputs.

Dynamic Compilation

The Unified Data Model (UDM) is available from the moment a project is opened and should not require additional compilation, which saves time with increased speed of compilation and persistent listings of nets and components in the Navigator panel. The design connectivity model is incrementally updated after each user operation. This means that manual project compilation is not necessary to see the contents of the Navigator panel, run the Bill of Materials (BOM), or perform an Electronic Rules Check (ERC). Manual compilation is not needed for:

  • Navigator and Projects panels
  • ActiveBOM
  • Cross-probing
  • Net color highlighting
  • Pin swapping
  • Component cross reference

Checking the Electrical Properties of Your Schematic

Schematic diagrams are more than just simple drawings – they contain electrical connectivity information about the circuit. You can use this connectivity awareness to verify your design. When you compile a project (Project » Validate PCB Project), the software checks for logical, electrical, and drafting errors between the UDM and compiler settings. Any violations that are detected will display in the Messages panel.

Setting up the Error Reporting

Dialog page: Error Reporting

The Error Reporting tab in the Project Options dialog is used to set up a large range of drafting and component configuration checks. The Report Mode settings show the level of severity of a violation. If you want to change a setting, click on a Report Mode next to the violation you want to change and choose the level of severity from the drop-down list.

Options for PCB Project dialog, Error Reporting tab
Configure the Error Reporting tab to detect for design errors when the project is compiled.

  1. Select Project » Project Options to open the Options for PCB Project dialog.
  2. Scroll through the list of error checks and note that they are clustered in groups; each group can be collapsed if required.
  3. Click on the Report Mode setting for any error check and note the options available.

Setting Up the Connection Matrix

Dialog page: Connection Matrix

As the design is coming along, a list of the pins in each net is built into memory. The type of each pin is detected (e.g., input, output, passive, etc.), then each net is checked to see if there are pin types that should not be connected to each other, for example, an output pin connected to another output pin. The Connection Matrix tab of the Project Options dialog is where you configure what pin types are allowed to connect to each other. For example, look at the entries on the right side of the matrix diagram and find Output Pin. Read across this row of the matrix until you get to the Open Collector Pin column. The square where they intersect is orange, indicating that an Output Pin connected to an Open Collector Pin on your schematic will generate an error condition when the project is compiled.

You can set each error type with a separate error level, i.e. from No Report to a Fatal Error. Click on a colored square to change the setting; continue to click to move to the next check-level. Set the matrix so that Unconnected – Passive Pin generates an Error, as shown in the image below.

Options for PCB Project dialog, Connection Matrix tab
The Connection Matrix tab defines what electrical conditions are checked for on the schematic; note that the Unconnected – Passive Pin setting is being changed.

  1. To change one of the settings, click the colored box; it will cycle through the four possible settings. Note that you can right-click on the dialog face to display a menu that lets you toggle all settings simultaneously, including an option to restore them all to their Default state (handy if you have been toggling settings and cannot remember their default state).
  2. Your circuit contains only passive pins. Let's change the default settings so that the connection matrix detects unconnected passive pins. Look down the row labels to find the Passive Pin row. Look across the column labels to find Unconnected. The square where these entries intersect indicates the error condition when a passive pin is found to be unconnected in the schematic. The default setting is green indicating that no report will be generated.
  3. Click on this intersection box until it turns orange (as shown in the image above) so that an error will be generated for unconnected passive pins when the project is compiled. You will purposely create an instance of this error later in the tutorial.

Configuring the Class Generation

Dialog page: Class Generation

The Class Generation tab in the Project Options dialog is used to configure what type of classes are generated from the design (the Comparator and ECO Generation tabs are then used to control if classes are transferred to the PCB). By default, the software will generate Component classes and Rooms for each schematic sheet, and Net Classes for each bus in the design. For a simple, single-sheet design such as this, there is no need to generate a component class or a room. Ensure that the Component Classes checkbox is cleared; doing this will also disable the creation of a room for that component class.

Note that this tab of the dialog also includes options for User-Defined Classes.

Options for PCB Project dialog, Class Generation tab
The Class Generation tab is used to configure what classes and rooms are automatically created for the design.

  1. Clear the Component Classes checkbox as shown in the image above. This will automatically disable the creation of a placement room for that schematic sheet.
  2. There are no buses in the design so there is no need to clear the Generate Net Classes for Buses checkbox located near the top of the dialog.
  3. There are no user-defined Net Classes in the design (done through the placement of Net Class directives on the wires) so there is no need to clear the Generate Net Classes checkbox in the User-Defined Classes region of the dialog.

Setting Up the Comparator

Dialog page: Comparator

The Comparator tab in the Project Options dialog sets which differences between files will be reported or ignored when a project is compiled. Generally, the only time you will need to change settings in this tab is when you add extra detail to the PCB, such as design rules, and do not want those settings removed during design synchronization. If you need more detailed control, you can selectively control the comparator using the individual comparison settings.

For this tutorial, it is sufficient to confirm that the Ignore Rules Defined in PCB Only option is enabled as shown in the image below.

Options for PCB Project dialog, Comparator tab
The Comparator tab is used to configure exactly what differences the comparison engine will check for.

For this tutorial, it is sufficient to confirm that the Ignore Rules Defined in PCB Only option is enabled as shown in the image above.

You are now ready to validate the project and check for any errors.

Verifying the Project to Check for Errors

Main page: Verifying Your Design Project

Validation of a project checks for drafting and electrical rules errors in the design documents, and details all warnings and errors in the Messages panel. You have set up the rules in the Error Checking and Connection Matrix tabs of the Project Options dialog, so you are now ready to check the design.

To verify the project and check for errors, select Project » Validate PCB Project Multivibrator.PrjPcb from the main menus.

Schematic error checking, demonstrating how to inspect the error condition
Use the Messages panel to locate and resolve design warnings and errors; double-click on a warning/error to cross probe to that object.

  1. To validate the Multivibrator project, select Project » Validate PCB Project Multivibrator.PrjPcb from the main menus.
  2. When the validation is complete, all warnings and errors are displayed in the Messages panel. The panel will only open automatically if there are errors detected (not when there are only warnings). To open it manually, click the Panels button button at the bottom right and select Messages from the menu.
  3. If your circuit is drawn correctly, the Messages panel should not contain any errors, only the message Compile successful, no errors found. If there are errors, work through each one, checking your circuit, and ensuring that all wiring and connections are correct.

You will now deliberately introduce an error into the circuit and validate the project again:

  1. Click on the Multivibrator.SchDoc tab at the top of the design space to make the schematic sheet the active document.
  2. Click in the middle of the wire that connects P1 to the emitters wire of Q1 and Q2 (the wire of the GND net). Small, square editing handles will appear at each end of the wire and the selected color will display as a dotted line along the wire to indicate that it is selected. Press the Delete key on the keyboard to delete the wire.
  3. Validate the project again (Project » Validate PCB Project Multivibrator.PrjPcb) to check for errors. The Messages panel will display error messages indicating you have unconnected pins in your circuit.
  4. The Messages panel is divided horizontally into two regions as shown in the image above. The upper region lists all messages, which can be saved, copied, cross probed to, or cleared via the right-click menu. The lower region details the warning/error currently selected in the upper region of the panel.
  5. When you double-click on an error or warning in either region of the Messages panel, the schematic view will pan and zoom to the object in error.
  6. When you hover the cursor over the object in error (not the wiggly line), a message describing the error condition will appear.

Before you finish this section of the tutorial, let's fix the error in our schematic.

  1. Make the schematic sheet the active document.
  2. Undo the delete action (Ctrl+Z) to restore the deleted wire.
  3. To check that there are no longer any errors, re-compile the project (Project » Validate PCB Project Multivibrator.PrjPcb); the Messages panel should show no errors.
  4. Save the schematic and the project file to the Workspace – click the Save to Server control next to the project name in the Projects panel, confirm that the Multivibrator.PrjPcb and Multivibrator.SchDoc files are checked in the Save to Server dialog that opens, enter a comment into the Comment field (e.g., Schematic is created and validated), then click the OK button.

When you double-click on an error in the Messages panel:

  • The schematic zooms to present the object in error. The Zoom Precision is set by the upper slider in the Highlight Methods section of the System – Navigation page of the Preferences dialog.
  • The entire schematic fades except for the object in error. The amount that the schematic fades is controlled by the Dimming level, set by the lower slider in the Highlight Methods section of the System – Navigation page of the Preferences dialog. Click anywhere on the schematic to clear the dimming.

    Preferences dialog, setting the zoom level when you double-click on an error in the Messages panel

  • To clear all messages from the Messages panel, right-click in the panel and select Clear All.
Schematic capture is now complete. It's time to create the PCB!

Creating a New PCB

Before you transfer the design from the schematic editor to the PCB editor, you need to create the blank PCB, then name and save it as part of the project.

Altium Designer, showing a new PCB added to the project
The blank PCB has been added to the project and saved, and the project has been saved locally.

  1. A new PCB can be added to the project via the Projects panel right-click menu. Select the Add New to Project » PCB command.

    Right-click menu commands to add a new PCB to the project in Altium Designer
    Add a new PCB to your project.

  2. The PCB will appear as a Source Document in the Projects panel as shown in the larger image above. Right-click on the PCB icon in the Projects panel to select the Save As command and name it Multivibrator. Note that you do not need to enter the file extension in the Save As dialog; this is automatically appended.
  3. Adding the PCB has changed the project, so also save the project locally (right-click on the project filename in the Projects panel and select Save).

Configuring the Board Shape and Location

Main page: Understanding the Makeup of a Printed Circuit Board

There are a number of attributes of this blank board that need to be changed before transferring the design from the schematic editor, including:

Task Process
Set the origin The PCB editor has two origins: the Absolute Origin, which is the lower left of the design space, and the user-definable Relative Origin, which is used to determine the current design space location – the coordinates shown on the Status Bar are relative to this origin. A common approach is to set the Relative Origin to the lower-left corner of the board shape. Select the Edit » Origin » Set command to set the Relative Origin; use the Edit » Origin » Reset command to reset it back to the Absolute Origin.
Set the units to Imperial or Metric The current design space X / Y location and Grid are displayed on the Status Bar, which is displayed along the bottom of the editor. For this tutorial, metric units will be used. To change the units, either press Q on the keyboard to toggle back and forth between Imperial and Metric units, or select the View » Toggle Units command from the menus.
Select a suitable snap grid You may have noticed that the current snap grid is 5mil (or 0.127mm, which is the default imperial snap grid converted to metric). To change the snap grid at any time, press G to display the Snap Grid menu, from where you can select an imperial or metric value. Note the shortcuts shown in the menu; use Ctrl+Shift+G to open the Snap Grid dialog, which is handy when you want to type in a specific value. The other useful shortcut is Ctrl+G, which opens the Cartesian Grid Editor dialog, in which you can change the grid from dots to lines, and change the grid color. Grids are discussed in more detail later in the tutorial.
Re-define the board shape The board shape is shown by the black region with a grid in it. The default size for a new board is 6x4 inches; the tutorial board is 30mm x 30mm. Details for the process of defining a new shape for the board are available below.
Configure the layers As well as the copper, or electrical layers on which you route, there are also general-purpose mechanical layers and special-purpose layers, such as the component overlays (silkscreens), solder mask, paste mask, and so on. The electrical and other layers will be configured shortly.
  • Press Ctrl+PgDn at any time to zoom to show the entire board.
  • Zoom in/out using:
    • PgUp / PgDn
    • Ctrl+Mouse Wheel
    • Ctrl+Right-click, Hold&Drag
  1. There are two origins used in the software, the Absolute Origin, which is the lower left of the design space, and the user-definable Relative Origin, which is used to determine the current design space location. Before setting the origin, keep zooming in to the lower left of the current board shape until you can easily see the grid. To do this, position the cursor over the lower-left corner of the board shape and press PgUp until both the Coarse and Fine grids are visible as shown in the images below.
  2. To set the Relative Origin, select Edit » Origin » Set then position the cursor over the bottom left corner of the board shape, then left-click to locate it.

    PCB editor, showing the board and cursor before the origin is set PCB editor, showing the board and cursor after the origin is set
    Select the command, position the cursor over the lower-left corner of the board shape (the first image), then click to define the origin (the second image).

  3. The next step is to select a suitable snap grid, as discussed in the table above. During the course of design, it is quite common to change grids, for example, you might use a coarse grid during component placement, and a finer grid for routing. For this tutorial, you will be using a Metric grid. Press Ctrl+Shift+G to open the Snap Grid dialog and enter 5mm, then click OK to close the dialog.
  4. By entering the units as you entered a value you have also instructed the software to switch to a Metric grid, you can check this on the Status Bar.
  1. The default board shape is 6x4 inches; for this tutorial, you will change the board size to 30mm x 30mm.
  2. To zoom back out and show all of the board, select View » Fit Board from the main menus (Ctrl+PgDn).
  3. The board will exactly fill the PCB editor. To manipulate the size you need to be able to see the edges of the board, use Ctrl+Mouse Wheel to zoom out a bit more or press PgDn.
  4. The next step is to change the board shape. This is done in Board Planning Mode. Select View » Board Planning Mode from the main menus to change it (shortcut: 1). The display will change; the board area will now be shown in green.
  5. Your choice now is to either redefine the board shape (draw it again), or edit the existing board shape. For a simple square or rectangle, it is more efficient to edit the existing board shape. To do this, select Design » Edit Board Shape from the menus. Note that you must be in Board Planning Mode for this command to be available.

    Menu command to edit the board shape
    For this design, it is more efficient to edit the existing board shape. These commands are only available in Board Planning Mode.

  6. Editing handles will appear at each corner and the center of each edge as shown on the animation below.

    Note that clicking anywhere other than on an editing handle or an edge of the shape will drop you out of board shape editing mode.
  7. The objective is to resize the shape to create a 30mm by 30mm board. The Coarse visible grid is 25mm (5x the snap grid), and the Fine visible grid is 5mm; these can be used as a guide. You can now either: slide the upper edge down and slide the right edge to the left to create the correct size; or move three of the corners in, leaving the one that is at the origin in its current location.
  8. To slide the upper edge down, position the cursor over the edge (but not over a handle). When the cursor changes to a double-headed arrow, click and hold, then drag the edge to the new location so that the Y cursor location is 30mm on the Status Bar, as shown in the animation below.
  9. Repeat the process to move the right-hand edge in, positioning it when the X cursor location is 30mm on the Status Bar.

    Use the current location information at the bottom left of the Status Bar to guide you as you reshape the board.

    Demonstration video, editing the board shape
    The resize cursor is shown, use the location information on the Status Bar to help you as you drag the upper and right edges to resize the board to 30mm x 30mm.

  10. Click anywhere in the design space to drop out of board shape editing mode.
  11. Press the 2 shortcut to switch back to 2D Layout Mode.
  12. Now that the shape has been defined, you can set the grid to a value suitable for component placement, for example, 1mm. Grids are discussed in detail shortly.
  13. Save the board locally.

Learn more about Defining the Board Shape

PCB editor, the board size has been defined, and the units, origin and grid have been set
The board size has been defined, and the units, origin and grid have been set. The required layers will be configured shortly.

A good approach to defining the shape of a non-rectangular board is to place a series of tracks (and arcs for curved boards) on the keepout layer. As well as being useful as placement and routing keep-away barrier, these tracks and arcs can be selected (Edit » Select » All on Layer) and used to create the board shape using the Design » Board Shape » Define Board Shape from Selected Objects command.

Learn more about Defining the Board Shape

Configuring the Defaults

When you place an object in the PCB editor design space, the software will define the shape and properties of the object based on:

  1. An applicable design rule – if there is a rule defined that applies to that object, the properties object are defined from the rule. For example, during a layer change when you are interactively routing, a via is automatically added with its size and hole size properties taken from the applicable Routing Via Style design rule.
  2. Default settings – if an applicable design rule does not exist or does not apply, the properties of the object are defined from the default settings configured in the PCB Editor – Defaults page of the Preferences dialog. For example, if you run the Place » Via command, the software does not know if that via will be part of a net, so it will present a via at the size defined in the defaults.

Preferences dialog, configuring the default settings for Designator and Comment

  1. To configure the default settings for the designator and comment strings, select Tools » Preferences to open the Preferences dialog, then open the PCB Editor – Defaults page.
  2. Select Designator in the Primitive List; the default Properties will be displayed. Confirm that the:
    • Autoposition option is set to Left-Above for the Designator. This is the default location in which this string is held when the component is rotated. The string can be interactively relocated at any time during the design process.
    • Font Type is set to TrueType, and the Font is set to Arial. Stroke fonts are Gerber-friendly shapes that the software can generate. TrueType gives access to all fonts available on the PC, but the font must be embedded in the PCB file if the board is to be opened on a PC that does not have that font installed (that can be configured on the PCB Editor – True Type Fonts page of the Preferences dialog).
    • Text Height is set to 1.5mm for this tutorial.
  3. Select Comment in the Primitive List and confirm that the:
    • Autoposition option is set to Left-Below.
    • Font Type is set to TrueType and the Font is set to Arial.
    • Text Height is set to 1.5mm for this tutorial.
    • Comment visibility is set to hidden (Visibility button). This is a common default; component Comment strings can be selectively displayed during the design process if required.
  4. Click OK to save the changes and close the dialog.

Transferring the Design

Main page: Managing Design Changes between the Schematic & the PCB

The design is transferred directly between the schematic editor and the PCB editor; there is no intermediate netlist file created. From the schematic editor, select Design » Update PCB Document Multivibrator.PcbDoc, or from the PCB editor, select Design » Import Changes from Multivibrator.PrjPcb.

When you run either of these commands, a set of Engineering Change Orders is created, which:

  • List all components used in the design and the footprint required for each. When the ECOs are executed, the software will attempt to locate each footprint and place each into the PCB design space. If the footprint is not available, an error will occur. Where the software can look for each footprint depends on: how the component was created (Workspace or non-Workspace library); and for a non-Workspace library component, if the PCB footprint library is currently available. For this tutorial, all of the components have been acquired to the connected Workspace from the Manufacturer Part Search panel, so the software can reference back to the Workspace and retrieve each footprint.

  • A list of all nets (connected component pins) is created. When the ECOs are executed, the software will add each net to the PCB then attempt to add the pins that belong to each net. If a pin cannot be added, an error will occur; this most often happens when the footprint was not found or the pads on the footprint do not map to the pins on the symbol.
  • Additional design data is then transferred, such as net and component classes.

    PCB editor, the components have been placed outside the board shape and the nets created
    Once the ECOs have been executed, the components are placed outside the board shape and the nets are created. Note that the default Designator (and Comment) fonts have been changed.

Before transferring the schematic information to the new blank PCB, it is essential that all the related libraries for both schematic symbols and PCB footprints are available. Since all components have been acquired from the Manufacturer Part Search panel with their footprints and placed from the connected Workspace, the footprints required for the tutorial are already available.
  1. Make the schematic document, Multivibrator.SchDoc, the active document.
  2. Select Design » Update PCB Document Multivibrator.PcbDoc from the Schematic editor menus to open the Engineering Change Order dialog.

    Engineering Change Order dialog
    An ECO is created for each change that needs to be made to the PCB so that it matches the schematic.

  3. Click on Validate Changes. If all changes are validated, a green check will appear next to each change in the Status – Check column of the dialog. If the changes are not validated, close the dialog, check the Messages panel and resolve any errors.
  4. If all changes are validated, click on Execute Changes to send the changes to the PCB editor. As each change is performed, a check will appear in the Status – Done column of the dialog.
  5. When all changes have been completed, the PCB will open behind the Engineering Change Order dialog; click to Close the dialog.
  6. The components will have been positioned outside of the board, ready for placing on the board. There are a few steps to complete before starting the component placement process, such as configuring the placement grid, the layers, and the design rules.

    You can create a report of the ECOs by clicking the Report Changes button.

Configuring the Display of Layers

Once all of the ECOs have been executed, the components and nets will appear in the PCB design space to the right of the board outline, as shown in the image above. Before you start positioning the components on the board, you need to configure certain PCB design space and board settings, such as the layers, the grid, and the design rules.

Your view of your board is a bird's-eye view – looking down the Z-axis into the board from above. The PCB editor is a layered design environment; the objects you place on signal layers become copper when the board is fabricated, the strings you place on the Overlay layers are silkscreened onto the board surface, and the notes you place onto mechanical layers become instructions on the assembly drawing that you print.

You design the board looking down into this stack of layers, placing components on the top and bottom sides of the board (Top Layer / Bottom Layer), and other design objects on the copper, overlay, mask, and mechanical layers as you build up the design.

Finished PCB, showing layers used
You design the board looking down into a stack of layers; hover the cursor over the image to show the same board in 3D, stretched in the Z-axis.

As well as the layers used to fabricate the board, which include: signal, power plane, mask, and silkscreen layers, the PCB Editor also supports numerous other non-electrical layers. The layers are often grouped in the following way:

  • Electrical Layers – includes the 32 signal layers and 16 internal power plane layers.
  • Component Layers – layers used in the design of the components including Overlay (silkscreen), Solder, and Paste layers. If an object is placed in a component footprint on one of these layers in the library editor, when the component is flipped from the top side to the bottom side of the board, all objects detected on a Component layer are flipped to their partner Component layer. This includes objects on user-defined Component Layer Pairs (paired mechanical layers).
  • Mechanical Layers – the software supports unlimited general-purpose mechanical layers, which are used for design tasks such as dimensions, fabrication details, assembly instructions, and so on. These layers can be selectively included in print and Gerber output generation if required. Mechanical layers can also be paired; when they are paired, they behave as Component Layers. Paired Component Layers are used for tasks such as 3D body placement, glue dots, and selective gold plating on edge connectors.
  • Other Layers – these include the Keep-Out layer (used to define keepouts that apply on all copper layers), the multi-layer (used for objects present on all signal layers, such as pads and vias), the Drill Drawing layer (used to place drilling information, such as a drill table), and the Drill Guide layer (used to display markers that indicate drill locations and sizes).

The copper layers are added and removed from the design in the Layer Stack, which is discussed shortly. All other layers are enabled and configured in the View Configuration panel.

Displaying Layers – View Configuration

Panel page: View Configuration

The display attributes of all layers are configured in the View Configuration panel. To open the panel:

  • Click the Panels button button at the bottom right of the application window then select View Configuration from the menu, or
  • Select the View » Panels » View Configuration menu entry, or
  • Press the L shortcut, or
  • Click the current layer color PCB editor design space, Layer Set control icon at the bottom-left of the design space.

View Configuration panel, Layers &amp; Colors tab   View Configuration panel, View Options tab
The two tabs of the View Configuration panel

As well as the layer display state and color settings, the View Configuration panel also gives access to other display settings including:

  • Color and visibility of System Colors, such as the Selection color, or if Connection Lines are visible.
  • How each type of object is displayed (solid or draft), and its transparency (Object Visibility section).
  • Various view options, such as if the Origin Marker, Pad Net names, and Pad Numbers are to be displayed (Additional Options section).
  • The amount the display is faded when objects are dimmed or masked (Mask and Dim Settings section).
  • The creation of Layer Sets, which provide a quick way of switching which layers are currently visible, using the PCB editor design space, Layer Set control control (Layers section).
  • The creation and selection of View Configurations, which are used to pre-configure all of the layer properties, such as color, visibility, object transparency, and so on (General Settings section).

Layer Tips

  • The currently enabled layers are shown as a series of tabs across the bottom of the PCB design space. Right-click on a tab to access frequently-used layer display commands.
  • In a busy design, it can help to only display the layer currently being worked on; this is referred to as Single Layer Mode. To toggle the display in/out of single layer mode, press the Shift+S shortcut. The Available Single Layer Modes are configured in the PCB Editor – Board Insight Display page of the Preferences dialog. Each press of Shift+S will cycle to the next enabled single layer mode.
  • To switch the active layer:
    • Click the layer tab at the bottom of the design space, or
    • Press the + or - numeric keys to cycle through all layers, or
    • Press the * numeric key to cycle through signal layers, or
    • Use the Ctrl+Shift+Mouse Wheel shortcuts.
  1. Open the View Configuration panel.
  2. In the Layers and Colors tab, confirm that the Top Layer and Bottom Layer signal layers are visible.
  3. Note that this panel is where you control the display of the mask and silkscreen layers, as well as the system layers, such as DRC and grids.
  4. To have less visual "clutter" during placement and routing, disable the display of the Component Layer Pairs (except for Overlay layers), Mechanical Layers, and the Drill Guide and Drill Drawing layers.
  5. Switch to the View Options tab.
  6. Confirm that the Pad Nets and Pad Numbers options are enabled.

Physical Layers and the Layer Stack Manager

Main page: Defining the Layer Stack

The definition of the PCB layer stack is a critical element of successful printed circuit board design. No longer just a series of simple copper connections that transfer electrical energy, the routing of many modern PCBs is designed as a series of circuit elements, or transmission lines.

There are also numerous other design considerations that come into play when designing a modern, high-speed PCB, including: layer-pairing, careful via design, possible back drilling requirements, rigid/flex requirements, copper balancing, layer stack symmetry, and material compliance.

These layer stack requirements are configured in the Layer Stack Manager, select Design » Layer Stack Manager to open it.

  • The Layer Stack Manager opens in a document view, in the same way as a schematic sheet, the PCB, and other document types.
  • The Layer Stack Manager (LSM) can be left open while the board is being worked on, allowing you to switch back and forth between the board and the LSM. All of the standard View behaviors, such as splitting the screen or opening on a separate monitor, are supported.
  • A Save must be performed in the Layer Stack Manager before changes are reflected in the PCB.

The Layer Stack Manager is used to:

  • Add, remove and order the signal, plane, and dielectric layers.
  • Select the Material properties from the Materials Library, or configure them manually.
  • Add additional user-defined fields to the Layer Stack.
  • Configure the allowed Via Types, defining which layers each Via Type spans.
  • Configure the Impedance profiles, when controlled impedance routing is being used.
  • Configure advanced features, including rigid-flex design, printed electronics, and back drilling.

This tutorial PCB is a simple design and can be routed as a single-sided board, or a double-sided board with thru-hole vias. In the image below, the Material for each layer has been selected.

PCB editor Layer Stack Manager, selecting a material
The properties of the physical layers are defined in the Layer Stack Manager. To configure the allowed via types, click the Via Types tab at the bottom of the Layer Stack Manager.

  1. Open the Layer Stack Manager – select the Design » Layer Stack Manager command from the main menus. For a new board, the default stack comprises: a dielectric core, two copper layers, and the top and bottom soldermask (coverlay) and overlay (silkscreen) layers, as shown in the image above.
  2. To simplify the management of layers, make sure that the Stack Symmetry option is enabled in the Properties panel (as shown in the image above). With this option enabled, layers are added in matching pairs, centered around the mid-dielectric layer.
  3. To use a material for a specific layer (or pair of layers if symmetry is enabled), click the PCB editor Layer Stack Manager, ellipsis control used to select the layer material in the Material cell for the required layer to open the Select Material dialog (shown in the image above).
  4. Using the image above as a guide, select suitable material for the: Solder Mask, Signal, and Core layers. Note that the Core layer has been chosen to define a suitable thickness for the finished board. Values can also be typed directly into the Layer Stack Manager.
  5. Click on the Via Types tab at the bottom of the Layer Stack Manager and confirm that there is a Thru type via defined.
  6. When you have finished exploring the layer stack options, save the stackup (File » Save to PCB), then right-click on the Layer Stack Manager tab and close the Stackup.
The Layer Stack Manager supports Undo / Redo; use Ctrl+Z to undo the previous changes and Ctrl+Y to redo.

Configuring the Grid

The next step is to select a grid that is suitable for placing and routing the components. All the objects placed in the PCB design space are placed on the current snap grid.

Imperial or Metric Grid?

Traditionally, the grid was selected to suit the component pin pitch and the routing technology that you planned to use for the board, i.e. how wide do the tracks need to be, and what clearance is needed between tracks. The basic idea is to have both the tracks and clearances as wide as possible to lower the fabrication costs and improve reliability. Of course, the selection of track/clearance is ultimately driven by what can be achieved on each design, which comes down to how tightly the components and routing must be packed to get the board placed and routed.

Over time, components and their pins have dramatically shrunk in size, as has the spacing of their pins. The component dimensions and the spacing of their pins have moved from being predominantly imperial with thru-hole pins to more-often being metric dimensions with surface mount pins. If you are starting a new board design, unless there is a strong reason, such as designing a replacement board to fit into an existing (imperial) product, you are better off working in metric. Why? Because the older, imperial components have big pins with lots of room between them. On the other hand, the small, surface mount devices are built using metric measurements – they are the ones that need a high level of accuracy to ensure that the fabricated/assembled/functional product works and is reliable. Also, the PCB editor can easily handle routing to off-grid pins, so working with imperial components on a metric board is not onerous.

Suitable Grid Settings

For a design such as this simple tutorial circuit, practical grid and design rule settings should be:

Setting Value Where
Routing width 0.25 mm Routing Width design rule
Clearance 0.25 mm Electrical Clearance design rule
Board definition grid 5 mm Cartesian Grid Editor
Component placement grid 1 mm Cartesian Grid Editor
Routing grid 0.25 mm Cartesian Grid Editor
Via size 1 mm Routing Via Style design rule
Via hole 0.6 mm Routing Via Style design rule

While it might be tempting to select a very fine routing grid so that routing can effectively be placed anywhere, this is not a good approach. Why? Because the point of setting the grid to be equal to or a fraction of the track+clearance is to ensure that the tracks are placed so that they do not waste potential routing space, which can happen if a very fine grid is used.

  • Select View » Toggle Units (or press the Q shortcut key) to toggle the design space units between metric and imperial.
  • When a dialog or panel is active, press Ctrl+Q to toggle the units of all measurements in that dialog or panel.
  • Regardless of the current setting for the units, you can include the units when entering a value in a dialog or panel to force that value to be used.

Support for Multiple Grids

  • Altium Designer allows multiple snap grids to be defined. There are two types of grids supported: Cartesian (traditional vertical/horizontal grid) and Polar (circular grid).
  • As well as defining the type of grid, you also define the area where that grid applies. Note that the Default grid always applies to the entire design space even though it is only displayed over the board shape.
  • Since only one grid can be used at a time, grids also have a priority that is used to determine which grid should be applied when they overlap. There are also controls for defining if a grid is for all objects, components only, or non-components only.
  • Grids are created and managed in the Grid Manager section of the Properties panel. Use the buttons in the panel to add, edit or delete a grid.

Only the default grid is used in this tutorial.

Properties panel, PCB editor Grid Manager section PCB editor, example of different grids
Multiple grids can be configured in the Grid Manager; the second image shows these three grids (click to enlarge).

Setting the Snap Grid

Related pages: Grid Manager, Cartesian Grid Editor, Polar Grid Editor

The value of the snap grid you need for this tutorial can be configured by pressing:

  • G to display the Snap Grid menu, where you can select an imperial or metric value (note the shortcuts shown in the menu).
  • Ctrl+Shift+G to open the Snap Grid dialog, where you can type in a new grid value.
  • Ctrl+G to open the Cartesian Grid Editor dialog, where you can enter the grid value, as well as configure how the grid is displayed (shown below).
  • Editing the grid in the Grid Manager section of the Properties panel.

Cartesian Grid Editor dialog
Set the Snap Grid to 1 mm, ready to position the components.

  1. Press the Ctrl+G shortcut keys to open the Cartesian Grid Editor dialog.
  2. Make sure that the Step X field has the value 1mm. Because the X and Y fields are linked, there is no need to define the Step Y value.
  3. To make the grid visible at lower zoom levels, set the Multiplier to 5x Grid Step; to make it easier to distinguish between the two grids, set the Fine grid to display as lighter-colored Dots and the Coarse grid to display as darker colored Lines.
  4. Click OK to close the dialog.

Learn more about the Working with the PCB Grids System


Setting Up the Design Rules

Main pages: PCB Design Rules Reference, Defining, Scoping & Managing PCB Design Rules

The PCB Editor is a rules-driven environment, meaning that as you perform actions that change the design, such as placing tracks, moving components, or autorouting the board, the software monitors each action and checks to see if the design still complies with the design rules. If it does not, then the error is immediately highlighted as a violation. Setting up the design rules before you start working on the board allows you to remain focused on the task of designing, confident in the knowledge that any design errors will immediately be flagged for your attention.

Design rules are configured in the PCB Rules and Constraints Editor dialog, as shown below (Design » Rules). The rules are divided into ten categories, which can then be further divided into design rule types.

PCB Rules and Contraints Editor (Design Rules dialog)
All PCB design requirements are configured as rules/constraints, in the PCB Rules and Constraints Editor.

Routing Width Design Rules

Design rule reference: Width

The width of the routing is controlled by the applicable routing width design rule, which the software automatically selects when you run the Interactive Routing command and click on a net.

When you are configuring the rules, the basic approach is to set the lowest priority rule to target the largest number of nets, and then add higher-priority rules to target nets with special width requirements, such as power nets. There is no issue if a net is targeted by multiple rules; the software always looks for and only applies the highest priority rule.

For example, the tutorial design includes a number of signal nets and two power nets. The default routing width rule can be configured at 0.25mm for the signal nets. This rule will target all nets in the design by setting the rule scope to All. Even though a scope of All also targets the Power nets, these can be specifically targeted by adding a second, higher-priority rule, with a scope of InNet('12V') or InNet('GND'). The image below shows the summary of these two rules, the detail is shown in the images in the following two collapsible sections.

PCB editor, list of the current Routing Width design rules
Two Routing Width design rules have been defined, the lowest priority rule targets All nets, the higher priority rule targets objects in the 12V net or the GND net.

  • Routing Width and Routing Via Style design rules include Min, Max, and Preferred settings. Use these if you prefer to have some flexibility during routing, for example, when you need to neck a route down or use a smaller via in a tight area of the board. This can be done on the fly as you route by pressing 3 to cycle through the routing widths, or 4 to cycle through the via sizes. There are also other techniques for editing the routing width and via size as you route; these are discussed more in the routing section.
  • Avoid using the Min and Max settings to define a single rule to suit all sizes required in the entire design. Doing this means you forgo the ability to get the software to monitor that each design object is appropriately sized for its task.
  1. With the PCB as the active document, open the PCB Rules and Constraints Editor.
  2. Each rules category is displayed under the Design Rules folder (left-hand side) of the dialog. Double-click on the Routing category to expand the category and see the related routing rules then double-click on Width to display the currently defined width rules.
  3. Click once on the existing Width rule to select it. When you click on the rule, the right-hand side of the dialog displays the settings for that rule including: the rule's Where the First Object Matches in the top section (also referred to as the rule's scope – what you want this rule to target) with the rule's Constraints below that.
  4. Since this rule is to target the majority of nets in the design (the signal nets), confirm that the Where The Object Matches setting is set to All. An additional rule will be added to target the power nets.
  5. Edit the Width settings to be: Min Width = 0.2mm, Preferred Width = 0.25mm, Max Width = 0.25mm. Note that the settings are reflected in the individual layers shown at the bottom of the dialog. You can also configure the requirements on a per-layer basis.
  6. The rule is now defined. Click Apply to save it and keep the dialog open.

    PCB editor, configuring the Routing Width design rule
    The default Routing Width design rule has been configured.

  1. The next step is to add another design rule to specify the routing width for the power nets. To add and configure this rule, open the PCB Rules and Constraints Editor dialog if not already.
  2. With the existing Width rule selected in the Design Rules tree on the left of the dialog, right-click and select New Rule to add a new Width constraint rule, as shown in the animation below.
  3. A new rule named Width_1 appears. Click on the new rule in the Design Rules tree to configure its properties.
  4. Click in the Name field on the right and enter the name Width_Power in the field.
  5. Click in the dropdown in the Where The Object Matches section and select Custom Query from the list. The dialog will change to include an edit box where the custom query is entered.
  6. Click the Query Builder button to open the Query Builder dialog, then configure it to target objects: InNet('12V') or InNet('GND').
    • Click the Add first condition text, select Belongs to Net, then set the Condition Value to 12V.
    • Click the Add another condition text, select Belongs to Net, then set the Condition Value to GND.
    • The AND operator will have appeared between the two condition statements, click on it select OR from the dropdown.
    • Click the OK button to accept the query and return to the rules dialog.
  7. Set the Constraints for the rule. Edit the Min Width / Preferred Width / Max Width values 0.25 / 0.5 / 0.5 to allow power net routing widths in the range 0.25mm to 0.5mm, as shown below.

    Demonstration video, configuring a Routing Width design rule in the PCB editor This Width rule targets the power nets.

  8. Click Apply to save the rules and keep the dialog open.

When there are multiple rules of the same type, the PCB editor uses the rule Priority to ensure the highest priority applicable rule is applied.

If you are adding rules:

  • When a new rule is added it is given the highest priority, and
  • When a rule is duplicated the copy is given priority below the source rule.

Click the Priorities button at the bottom of the dialog to change the priorities.

Defining the Electrical Clearance Constraint

Design rule reference: Clearance Constraint

The next step is to define how close electrical objects that belong to different nets can be to each other.

This requirement is handled by the Electrical Clearance Constraint. For the tutorial, a clearance of 0.25mm between all objects is suitable.

Note that entering a value into the Minimum Clearance field will automatically apply that value to all of the fields in the grid region at the bottom of the dialog. You only need to edit in the grid region when you need to define a clearance based on the object-type.

PCB editor, configuring the Electrical Clearance design rule
The electrical clearance constraint is defined between objects. Switch the Constraints to Advanced to display all object kinds.

Note that the Electrical Clearance Constraint has two object selection fields: Where The First Object Matches and Where The Second Object Matches. That is because this is a binary rule; it is a rule that applies between two objects.
  1. Expand the Electrical category in the tree of Design Rules then expand the Clearance rule-type.
  2. Click to select the existing Clearance constraint. Note that this rule has two query fields; that is because it is a binary rule. The rules engine checks each object targeted by the setting Where The First Object Matches and checks it against the objects targeted by the Where The Second Object Matches setting to confirm that they satisfy the specified Constraints settings. For this design, this rule will be configured to define a single clearance between All objects.
  3. In the Constraints region of the dialog, set the Minimum Clearance to 0.25mm, as shown in the image above.
  4. Click Apply to save the rule and keep the dialog open.

Defining the Routing Via Style

Design rule reference: Routing Via Style

As you route and change layers, a via is automatically added. In this situation, the via properties are defined by the applicable Routing Via Style design rule. If you place a via from the Place menu, its values are defined by the in-built default primitive settings. For the tutorial, you will configure the Routing Via Style design rule.

PCB editor, configuring the Routing Via Style design rule
A single routing via is suitable for all nets in this design.

  1. Expand the Routing category in the tree of Design Rules then expand the Routing Via Style rule-type and select the default RoutingVias design rule.
  2. Since it is highly likely that the power nets can be routed on a single side of the board, it is not necessary to define a routing via style rule for signal nets and another routing via style rule for power nets. Edit the rule settings to the values suggested earlier in the tutorial, i.e. a Via Diameter = 1mm and a Via Hole Size = 0.6mm. Set all fields (Min, Max, Preferred) to the same size.
  3. Click OK to save the changes and close the PCB Rules and Constraints Editor dialog.
  4. Save the PCB file locally.

Existing Design Rule Violations

You might have noticed that the transistor pads are showing that there is a violation. Right-click over a violation and select the Violations in the right-click menu, as shown below. The details show that there is a:

  • Clearance Constraint violation
  • Between a Pad on the MultiLayer, and a Pad on the MultiLayer
  • Where the clearance is 0.22mm, which is less than the specified 0.25mm

PCB editor, exploring violations using the right-click menu
Right-click on a violation to examine what rule is being violated and the violation conditions. In this image, the display is in single layer mode, with the Top Layer as the active layer.

This violation will be discussed and resolved shortly. If you find the violation markers distracting, you can clear them by running the Tools » Reset Error Markers command. This command only clears the marker; it does not hide or remove the actual error. The error will be flagged again the next time you perform an edit action that runs the online DRC (such as moving the component), or when you run the batch DRC.

Review the Design Rules

The default new board created by the software will include rules that are not needed in every design, and many other design rules will need to be adjusted to suit the requirements of your design. For this reason, it is very important to review the design rules. This can be done in the PCB Rules and Constraints Editor. Select Design Rules at the top of the tree on the left, then scan down the Attributes column for all of the rules and quickly locate any that need their values adjusted.

The default board also uses imperial units. If your board uses metric, there will be many rule values, such as the Soldermask expansion, that will change from rounded values like 4mil, to 0.102mm, or the Minimum Solder Mask Sliver default will change from 10mil to 0.254mm. While that least significant digit, for example, 0.002mm, is insignificant when it comes to output generation, you can edit these settings in the design rules if it bothers you.

PCB Rules and Constraint Editor (Design Rules dialog), reviewing the design rules
Reviewing the design rules, note the column order can be changed if required.

When you create a new board, it will include default design rules that might not be needed for your design. For example, Assembly and Fabrication Testpoint type design rules are included when you create a new board, which are not needed in this design.

  1. If it is not open, open the PCB Rules and Constraints Editor.
  2. Click on the Testpoint category, and disable the four Testpoint type rules (clear the checkboxes in the Enabled column). If this is not done, you will get testpoint violations later in the tutorial.
Design rules can also be exported and stored in a .RUL file, then imported into future PCB designs. To do this, right-click in the tree on the left of the PCB Rules and Constraint Editor to open the Choose Design Rules dialog. Select the rules you want to export using the standard Windows selection techniques then click OK to export the selected rules.

Positioning the Components on the PCB

There is a saying that PCB design is 90% placement and 10% routing. While you could argue about the percentage of each, it is generally accepted that good component placement is critical for good board design. Keep in mind that you may need to also tune the placement as you route.

Component Positioning and Placement options

When you click and hold on a component to move it, if the Snap to Center option is on, then the component will be held by its reference point. The reference point is the 0,0 coordinate of the component as it was built in the library editor.

The Smart Component Snap option allows you to override this snap to center behavior and snap to the nearest component pad instead, which is handy when you need to position a specific pad in a specific location.

Preferences dialog, configuring the PCB Object Snap options
Enable Snap To Center to always hold the component by its reference point. Smart Component Snap is helpful when you need to align by a specific pad.

  1. Click the Gear icon used to open the Preferences dialog icon located at the top-right of the application window to open the Preferences dialog.
  2. Open the PCB Editor – General page of the Preferences dialog. In the Editing Options section, make sure the Snap To Center option is enabled. This ensures that when you "grab" a component to position it, the cursor will hold the component by its reference point.
  3. Note the Smart Component Snap option. If this is enabled, you can force the software to snap to a pad center instead of the reference point by clicking and holding closer to the required pad than the component's reference point. This is very handy if you require a specific pad to be on a specific grid point. It can work against you if you are working with small surface mount components though, as it can make it harder to "grab" them by their reference point.
  4. Click OK to save changes and close the Preferences dialog.

Positioning Components

You can now position the components in suitable locations on the board.

To move a component either:

  • Click, Hold&Drag to move the component to the required location, rotate it with the Spacebar, then release the mouse button to place it, or
  • Run the Edit » Move » Component command, then single click to pick up a component, move it to the required location, rotate it if required, then click once to place it. When you are finished, right-click to drop out of the Move Component command.
The connection lines are automatically re-optimized as you move a component. Use them to help orient and position the components to reduce the number of connection line cross-overs.

PCB editor, components positioned on the board
Components positioned on the board.

  1. Zoom to display the board and the component. One way to do this is to zoom out (PgDn) so the board and the components are all visible then choose View » View Area, then click to define the top left and bottom right of the exact area you want to view.
  2. The components will be positioned on the current Snap grid. For a simple design such as this, there are no specific design requirements that dictate what placement grid should be used. As the designer, you decide what a suitable placement grid would be. To simplify the process of positioning the components, you can work with a coarse placement grid, for example, 1mm. Check the Status Bar to confirm that the Snap Grid is set to 1mm; press Ctrl+Shift+G to change the grid if required.
  3. The components in the tutorial can be placed as shown in the image above. To place connector P1, position the cursor over the middle of the outline of the connector and use Click, Hold&Drag. The cursor will change to a crosshair and jump to the reference point for the part (or the center of the nearest pad if you have enabled the Smart Component Snap option). While continuing to hold down the mouse button, move the mouse to drag the component.
  4. Press the Spacebar to rotate the component if required, and position the footprint towards the left-hand side of the board as shown in the figure above.
  5. When the connector component is in position, release the mouse button to drop it into place. Note how the connection lines drag with the component.
  6. Reposition the remaining components, using the figure above as a guide. Use the Spacebar to rotate components (in increments of 90º counterclockwise) as you drag them so that the connection lines are as shown in the figure.
  7. Component text can be repositioned in a similar fashion; click-and-drag the text and press the Spacebar to rotate it.
  8. The PCB editor also includes interactive placement tools. These can be used to ensure that the four resistors are correctly aligned and spaced.
  9. Holding the Shift key, click on each of the four resistors to select them, or click and drag the selection box around all four of them. A shaded selection box will display around each of the selected components. The Selection color is defined in the System Colors section of the View Configuration panel.
  10. Right-click on any of the selected components and choose Align » Align to open the Align Objects dialog.
  11. Select Space Equally in the Horizontal section and Bottom in the Vertical section, then click OK to apply these changes. The four resistors are now aligned (with the lowest component) and equally spaced.

    PCB editor, selecting components for alignment PCB editor, Align Objects dialog PCB editor, selected components after they have been aligned
    Select then align and space the resistors.

  12. Click elsewhere in the design space to deselect all the resistors. If required, you can also align the capacitors and transistors, although this might not be required since you have a coarse Snap grid at the moment.
  13. Reposition component designators if needed – click, hold and drag a designator, or use the Autoposition option in the Properties panel when designator(s) are selected in the design space.
  14. Save the PCB file locally.
  • Selected objects can also be moved using the keyboard rather than the mouse. To do this, hold Ctrl, then each time you press an Arrow key, the selection will move 1 grid step in the direction of that arrow. Include the Shift key to move selected objects in 10x Snap Grid steps.
  • As you move a component with the mouse, you can constrain it to an axis by holding the Alt key. The component will attempt to hold the same horizontal axis (if moving horizontally) or vertical axis (if moving vertically); move it further from the axis to override this behavior or release the Alt key.
With the components positioned, it's time to do some routing!

Interactively Routing the Board

Main page: Interactive Routing

Routing is the process of laying tracks and vias on the board to connect the component pins. The PCB editor makes this job easy by providing sophisticated interactive routing tools, as well as ActiveRoute, which optimally routes selected connections with the click of a button.

In this section of the tutorial, you will manually route the entire board single-sided, with all tracks on the top layer. The Interactive Routing tools help maximize routing efficiency and flexibility in an intuitive way, including cursor guidance for track placement, single-click routing of the connection, pushing obstacles, automatically following existing connections, all in accordance with applicable design rules.

Preparing for Interactive Routing

Preferences page: PCB Editor – Interactive Routing

Before starting to route, configure the Interactive Routing options in the PCB Editor – Interactive Routing page of the Preferences dialog.

Preferences dialog, PCB Editor Interactive Routing options
Configure the interactive routing options.

  1. Open the PCB Editor – Interactive Routing page of the Preferences dialog.
  2. Set the Routing Conflict Resolution Current Mode to Walkaround Obstacles. As you are routing, you can cycle through the enabled modes by pressing Shift+R.
  3. In the Interactive Routing Options section of the page, confirm that the Automatically Terminate Routing and the Automatically Remove Loops options are enabled. The first option releases the cursor from the current route when you click on the destination pad to finish that route. The second option allows you to change existing routing by routing an alternate path – you route a new path until it meets the old path (creating a loop), then right-click to indicate it is complete. The software then automatically removes the old, redundant part of the routing. This feature will be explored later in the tutorial.
  4. Confirm that the Track Width Mode / Via Size Mode options are both set to Rule Preferred.
  5. Click OK to save changes and close the Preferences dialog.
  6. Press Ctrl+Shift+G to open the Snap Grid dialog and set the Snap Grid to 0.25mm.

Time to Route

  • Interactive routing is launched by clicking the Route button PCB editor, Interactive Routing button, or by selecting the routing command (Route » Interactive Routing, shortcut: Ctrl+W).
  • Since the components are mostly surface mount and the design is simple, the board can be routed on the top layer. As you place tracks on the top layer of the board, use the ratsnest (connection lines) to guide you.
  • Tracks on a PCB are made from a series of straight segments. Each time there is a change of direction, a new track segment begins. Also, by default, the PCB editor constrains tracks to a vertical, horizontal, or 45° orientation, allowing you to easily produce professional results. This behavior can be customized to suit your needs, but for this tutorial, you can use the defaults.
  • When the routing reaches the target pad, the software will automatically release that connection and you will remain in Interactive Routing mode, ready to click on the next connection line.

A simple animation showing the board being routed. Many of the connections are finished using Ctrl+Click to autocomplete.

  1. Check which layers are currently visible by looking at the Layer Tabs at the bottom of the design space. If the Bottom Layer is not visible, press the L shortcut to open the View Configuration panel, and enable the Bottom Layer.
  2. Click on the Top Layer tab at the bottom of the design space to make it the current, or active layer, ready to route on.
  3. It is often easier to route in single layer mode; press Shift+S to cycle through the enabled single layer modes.
  4. Click PCB editor, Interactive Routing button on the Active Bar (or the Ctrl+W shortcut), or select Interactive Routing from the Route menu, or right-click and choose Interactive Routing from the context menu. The cursor will change to a crosshair, indicating you are in interactive routing mode.
  5. Position the cursor over the lower pad on connector P1. As you move the cursor close to the pad, it will automatically snap to the center of the pad. This is the Objects for snapping feature pulling the cursor to the enabled hotspot of the nearest electrical object (configure the Snap Distance and the Objects for snapping in the Snap Options section of the Properties panel). Sometimes the Objects for snapping feature pulls the cursor when you don't want it to. In this situation, press the Ctrl key to temporarily inhibit snapping. Alternatively, use the Shift+E shortcut to cycle the Hotspot Snap mode through the three possible states – Hotspot Snap (All Layers) / Hotspot Snap (only snaps on the current layer) / Off (nothing displayed). The current mode is displayed on the Status Bar.

    Learn more about Working with the PCB Grids System, including object snapping.

  6. Left-Click or press Enter to anchor the first point of the track.
  7. Move the cursor toward the bottom pad of the resistor R3, and click to place a vertical segment. Note how track segments are displayed in different ways (as shown in the image below). During routing, the segments are shown as:
    • Solid – the segment has been placed.
    • Hatched – hatched segments are proposed but uncommitted; they will be placed when you left-click.
    • Hollow – this is referred to as the look-ahead segment, it allows you to work out where the last proposed segment should end. This segment is not placed when you click unless the next click will complete the route. In this situation, the Automatically Terminate Routing option kicks in and overrides the default look-ahead behavior. The look-ahead mode can be toggled on/off using the 1 shortcut during routing.

    PCB editor, interactive routing, showing how the track segments present with Look Ahead enabled PCB editor, interactive routing, showing how the track segments present with Look Ahead disabled
    Solid segments are placed, hatched are proposed but not committed, hollow is the look-ahead segment. Press the 1 shortcut to toggle look-ahead on/off.

  8. Manually route by left-clicking to commit track segments, finishing on the lower pad of R2. Note how each mouse click places the hatched segment(s). For the connection that you are currently routing, press Backspace to rip up the last-placed segment.
  9. Rather than routing all the way to the target pad, you can also press Ctrl+Click to use the Auto-Complete function and instruct the software to attempt to route the entire connection. Auto-complete behaves in the following ways:
    • It takes the shortest path, which may not the best path as you need to always consider paths for other connections yet to be routed. If you are in Push mode (shown on the Status Bar when routing), Auto-complete can push existing routes to reach the target.
    • On longer connections, the Auto-Complete path may not always be available as the routing path is mapped section by section, and complete mapping between source and target pads may not be possible.
    • You can also Auto-complete (Ctrl+Click) directly on a pad or connection line.
  10. Continue to route all the connections on the board. The animation above shows the board being interactively routed.

    In the animation above, there is a route from the upper pad of R1 to the middle pin of Q1, that is placed on the bottom layer. Depending on the brand of surface mount resistor that you chose, it may be possible to place this route so that it passes between the pads of R3. For example, Panasonic resistors are slightly smaller, it will not be possible to route a track between the pads of their footprint. In this situation, you will need to route one connection on the bottom layer to complete the routing. To switch layers and place a via while routing, use the * key on the numeric keypad, or the Ctrl+Shift+Mouse Wheel shortcut combination. On the other hand, Yageo and Vishay Dale resistors are slightly larger and the pads of their footprint have sufficient space between them to route using the width and clearance configured in this design.
  11. There is no single solution to routing a board, so it is inevitable that you will want to change the routing. The PCB editor includes features and tools to help with this; they are discussed in the following sections and are also demonstrated in the animation shown above.
  12. Save the design locally when you are finished routing.

    Shortcut Icon Action
    Ctrl+W shortcut key sequence, start Interactive Routing Keyboard key combination, press Ctrl+W to start Interactive Routing.
    Ctrl+W shortcut key sequence, auto-complete current connection Key + mouse combination, press Ctrl+Click to auto-complete the current connection. Only functions during Interactive Routing.
    Left-click and drag to drag existing routing Click, Hold&Drag, use this to drag an existing route. It can be used when no other command is being run.

Interactive Routing Modes

The PCB editor's Interactive Routing engine supports a number of different modes, with each mode helping you deal with particular situations. Press the Shift+R shortcut to cycle through these modes as you interactively route. Note that the current mode is displayed on the Status Bar and in the Heads-Up display.

  • Ignore Obstacles – this mode lets you place tracks anywhere, including over existing objects, displaying but allowing potential violations.
  • Stop at first Obstacle – in this mode, the routing is essentially manual, i.e. as soon as an obstacle is encountered, the track segment will be clipped to avoid a violation.
  • Walkaround Obstacles – this mode will attempt to find a routing path around existing obstacles without attempting to move them.
  • Hug & Push Obstacles – this mode is a combination of Walkaround and Push. It will hug as it performs a Walkaround of obstacles, however, it will also attempt to Push against fixed obstacles when there is insufficient clearance to continue using Walkaround.
  • Push Obstacles – this mode will attempt to move objects (tracks and vias), which are capable of being repositioned without violation to accommodate the new routing.
  • Autoroute on Current Layer – this mode brings basic autorouting functionality to interactive routing. It can automatically select between walkaround and push based on heuristics that consider push distance versus walk distance and route length. Like an autorouter, this mode can deliver better results on a complex, busy board than on a simple, unrouted board.
  • Autoroute on Multiple Layers – this mode also brings basic autorouting functionality to interactive routing, it can also automatically select between walkaround and push based on heuristics that consider push distance versus walk distance and route length. This mode can also place a via and consider using other routing layers. Like an autorouter, this mode can deliver better results on a complex, busy board than on a simple, unrouted board.
Interactive Routing modes that are not required can be disabled in the PCB Editor – Interactive Editing page of the Preferences dialog.

Routing Tips and Tricks

The PCB editor includes a range of features to help make the interactive routing process more efficient, including in-command shortcuts that you use during routing, detailed feedback via the Status Bar and the Heads Up display, and the ability to display clearance boundaries as you route.

Routing Shortcuts

Useful shortcuts during routing:

Keystroke Behavior
Shift+F1 Pop up a menu of interactive shortcuts – most settings can be changed on the fly by pressing the appropriate shortcut or selecting from the menu.
* or Ctrl+Shift+Mouse Wheel Switch to the next available signal layer. A via is automatically added in accordance with the applicable Routing Via Style design rule. Learn more about changing layers and adding a via as you route.
Tab Open the Interactive Routing mode of the Properties panel, where you can change the routing settings.
Shift+R Cycle through the enabled routing conflict resolution modes. Configure your preferred modes in the PCB Editor – Interactive Routing preferences page.
Shift+S Cycle through the available Single Layer Modes. This feature is ideal when there are many objects on multiple layers. Configure the available modes in the PCB Editor – Board Insight Display page.
Spacebar Toggle the current corner direction.
Shift+Spacebar Cycle through the various track corner modes. The styles are any angle, 45°, 45° with arc, 90°, and 90° with arc. There is an option to limit this to 45° and 90° on the PCB Editor – Interactive Routing preferences page.
Ctrl+Shift+G Cycle through the three Gloss strength (Gloss Effort (Routed)) settings. The current setting is displayed in the Heads Up display and on the Status Bar.
Ctrl+Click Auto-complete the connection being routed. Auto-complete will not succeed if there are unresolvable conflicts with obstacles.
1 Toggle the Look-ahead mode on/off.
3 Cycle through the routing width choices: Rule Minimum / Rule Preferred / Rule Maximum / User Choice. Learn more about changing the width as you route.
4 Cycle through the routing via style choices: Rule Minimum / Rule Preferred / Rule Maximum / User Choice. Learn more about changing the via style as you route.
6 Cycle through available Via Types.
Shift+E Cycle through the three object Hotspot Snap modes: off / on for current layer / on for all layers.
Ctrl Temporarily suspend object snapping feature while routing.
End Redraw the screen.
PgUp / PgDn Zoom in / out, centered around the current cursor position. Alternatively, use the standard Windows mouse wheel zoom and pan shortcuts.
Backspace Remove the last-committed track segment.
Right-Click or Esc Drop the current connection and remain in Interactive Routing mode.

Feedback During Interactive Routing

It is essential to know the name of the net or the current width setting as you route a net. This information, along with a wealth of other useful details, is available in the Heads-Up display and on the Status Bar during routing. An excellent feature to help visualize the amount of space available for routing is the ability to display clearance boundaries around all other net-objects. The image below demonstrates this; as the 12V net is being routed, all other net objects display a clearance boundary defined by the applicable Electrical Clearance Constraint (which was defined earlier in the tutorial). It is not possible to cross this boundary during routing.

  • Press Shift+H to toggle the Heads-Up display off and on. Configure the display content, color, and fonts in the PCB Editor – Board Insight Modes page of the Preferences dialog.
  • Press Ctrl+W to toggle the clearance boundaries off and on.

Routing the board with the Clearance Boundaries feature enabled, image also highlights the Status Bar and Heads Up display

  • Current design space location and Snap Grid setting
  • Object Hotspot Snapping: off / on for current layer / on for all layers
  • Current track corner mode
  • Current Interactive Routing Mode
  • Source of routing Width
  • Source of routing Via Style
  • Name of Via Type that will be used
  • Current Gloss strength
  • Name of Net
  • Overall route length
  • Dimensions of routing segment being placed

Modifying and Rerouting Existing Routes

To modify an existing route, there are two approaches, either: reroute, or re-arrange.

Reroute an existing Route

  • There is no need to un-route a connection to redefine its path. You can click the Route button PCB editor, Interactive Routing button and start routing the new path.
  • The Loop Removal feature will automatically remove any redundant track segments (and vias) as soon as you close the loop and right-click to indicate you are finished (the Loop Removal feature was enabled earlier in the tutorial).
  • You can start and end the new route path at any point, swapping layers as required.
  • You can also create temporary violations by switching to Ignore Obstacle mode (as shown in the animation below), which you later resolve.

Simple animation showing the Loop Removal feature being used to modify existing routing.

Loop Removal is enabled on the PCB Editor – Interactive Routing page of the Preferences dialog. Note that there are situations where you may want to create loops, for example, power net routing. If necessary, Loop Removal can be disabled for an individual net by editing that net in the PCB panel. To access the option, set the panel to Netsmode, then double-click on the net name in the panel to open the Edit Net dialog.

During Loop Removal, you will find situations where you return to the existing routing but are not yet finished defining the new path. When the Automatically Terminate Routing option is enabled, as soon as the new route overlays the existing route, the routing process will terminate and the old, redundant routing will be removed. In this situation, it can be more efficient to disable the Automatically Terminate Routing option.

Rearrange Existing Routes

  • To interactively slide or drag track segments across the board, click, hold and drag as shown in the animation below. The default dragging behavior is configured on the PCB Editor – Interactive Routing page of the Preferences dialog as shown in the animation below.
  • The PCB editor will automatically maintain the 45/90º angles with connected segments, shortening and lengthening them as required.

Simple animation showing track dragging being used to modify existing routing.

Interactive Sliding Tips

  • Change the default select-then-drag mode using the Unselected via/track and Selected via/track options on the PCB Editor – Interactive Routing page of the Preferences dialog.
  • During dragging, the routing conflict resolution modes also apply (Ignore, Push, HugNPush). Press Shift+R to cycle through the modes as you drag a track segment.
  • Existing pads and vias will be jumped, or vias will be pushed if necessary and possible if Push mode is enabled.
  • To convert a 90º corner to a 45º route, start dragging on the corner vertex.
  • While dragging, you can move the cursor and hotspot snap it to an existing, non-moving object such as a pad (shown above). Use this to help align the new segment location with an existing object and avoid very small segments being added.
  • To break a single segment, select the segment first, then position the cursor over the center vertex to add in new segments.
  • Press Tab during sliding to access the Interactive Sliding mode of the Properties panel, where you can change any of the sliding settings.

Demonstration video, dragging multiple tracks to show track pushing and via jumping
An example of dragging multiple tracks by setting the routing conflict mode to Push.


ActiveRoute – Automated Interactive Routing

Main page: ActiveRoute

Another approach to routing the nets on your board is to use ActiveRoute, Altium's automated interactive router.

What does that mean? It means you select the connection or connections to route, choose the layer, and run ActiveRoute. ActiveRoute has efficient multi-net routing algorithms that are applied to the specific nets or connections that you have selected. ActiveRoute also allows you to interactively define a route path or Guide, which then defines the river along which the new routes will flow.

ActiveRoute has been developed for dense boards using high pin count components to help accelerate what can be a difficult and time-consuming routing process. The board in this tutorial is not the sort of board it was designed for, but it provides an opportunity to demonstrate and explore its use.

Working with ActiveRoute

  • ActiveRoute is configured and run from the PCB ActiveRoute panel, as shown in the image below.
  • ActiveRoute does not switch layers; it attempts to create single layer pad-pad and pad-via routes on the layers enabled in the PCB ActiveRoute panel. High pin-count components must be fanned out before attempting to ActiveRoute the nets.
  • ActiveRoute attempts to route the selected pad/via/connection/net/nets. Use the following techniques to select connections and nets:

    • Set the PCB panel to Nets mode, enable the Select checkbox at the top of the panel then click on a net name to select that net (not the checkbox next to the name, that is used to enable the Board Insight Color Override feature for that net). Use standard Windows shortcuts to multi-select.
    • Interactively select connections in the design space – Alt+Left Click-Drag, from right-to-left (hold Alt and drag a green selection window from right-to-left). Any connection line touched by the green selection window will be selected. Hold Shift to continue selecting additional connections.
    • Left-Click to select an individual pad.
    • Select multiple pads in a component – Ctrl+Click, Hold&Drag (hold Ctrl and click and drag a selection window to select multiple pads in a component). Drag left-to-right to select within; drag right-to-left to select touching.
  • Enable the routing layer(s) in the PCB ActiveRoute panel.

PCB editor showing the ActiveRoute panel, preparing to ActiveRoute
The tutorial board, ready to be used to explore ActiveRoute.

  1. Open the PCB ActiveRoute panel (Panels button » PCB ActiveRoute).
  2. Open the PCB panel.
  3. Select Nets mode in the drop-down at the top of the panel, and enable the Select checkbox.
  4. Unroute the board (Route » Unroute » All).
  5. In the list of nets in the panel, click on the 12V net name.
  6. In the PCB ActiveRoute panel, enable the Top Layer.
  7. Click the ActiveRoute button at the top of the panel; the 12V net will be routed.
  8. Click on the GND net in the PCB panel, then click the ActiveRoute button. If you would like to use the Shift+A shortcut to ActiveRoute, you must click once on the design space after using a panel. This makes the design space the active element in the software, otherwise, the software will attempt to interpret the shortcut as a panel instruction.
  9. Click on the net NetC1_2 in the panel, and click the ActiveRoute button.
  10. Click on the net NetC2_1 in the panel, and click the ActiveRoute button.
  11. Click on the net NetC2_2 in the panel, and click the ActiveRoute button.
  12. Click on the net NetC1_1 in the panel, and click the ActiveRoute button. One of the connections in the net will route, the other will not. It does not route because there is not sufficient space to place this route on the top layer that has been selected. As ActiveRoute is not an autorouter, and it cannot place vias, so a fanout for C1-1 should be created.
  13. Enter the Interactive Routing mode (Ctrl+W), start routing from the C1-1 pad, position the cursor at the left of the pad, and switch layer (Ctrl+Shift+Mouse Wheel) to place a via. Click to commit the route and the via, then exit the Interactive Routing mode (right-click to drop routing of the current connection, then right-click again to exit the Interactive Routing mode).

    PCB editor, creating routing stubs to define a shortest path between component pads
    A fanout for the capacitor.

  14. Click on the net NetC1_1 in the PCB panel, enable the Bottom Layer and disable the Top Layer in the PCB ActiveRoute panel, and click the ActiveRoute button; this connection should now route.

    PCB editor, results after ActiveRoute has routed the selected nets
    The ActiveRoute results


Verifying Your Board Design

Main pages: PCB Design Rules Reference, Design Rule Checking (DRC)

The PCB editor is a rules-driven design environment in which you can define many types of design rules that can be checked to ensure the integrity of your board. Typically you set up the design rules at the start of the design process. The online DRC feature monitors the enabled rules as you work and immediately highlights any detected design violations. Alternatively, you can also run a batch DRC to test that the design complies with the rules and generate a report that details the enabled rules and any detected violations.

Earlier in the tutorial, you examined the routing design rules, adding a new width constraint rule targeting the power nets, as well as an electrical clearance constraint and a routing via style rule. As well as these, there are a number of other design rules that are automatically defined when a new board is created.

Configuring the Display of Rule Violations

Preferences page: PCB Editor – DRC Violations Display

Before checking for rule violations, it is important to understand how violations are displayed.

Altium Designer has two techniques for displaying design rule violations, each with its own advantages. These are configured on the PCB Editor – DRC Violations Display page of the Preferences dialog:

  • Violation Overlay – violations are identified by the primitive-in-error highlighted in the color chosen for the DRC Error Markers (configured in the View Configuration panel; press L to open). The default behavior is to show the primitives in a solid color when zoomed out, changing to the selected Violation Overlay Style as you zoom in. The default is Style B – a circle with a cross in it.
  • Violation Details – as you zoom further in, Violation Detail is added (if enabled), detailing the nature of the error. Violation Detail can include:

    • Information at the site of the violation
    • Where appropriate, an icon to indicate the type of violation, for example, thin lines that cross over, indicating a short circuit.
    • A numerical value showing the rule setting that is failing, for example, <0.25mm.

    Preferences dialog, PCB Editor DRC Violations Display page
    Violations can be displayed as a colored overlay and also as a detailed message, with different symbols being used to show different detail of the error type.

    PCB editor, example of violations display, zoomed out PCB editor, example of violations display, mid-level zoom PCB editor, example of violations display, zoomed in
    Violations are shown in solid green (the first image), as you zoom in this changes to the selected Violation Overlay Style (the second image); as you zoom in further Violation Details are added (the third image).

  1. Select Panels button » View Configuration (shortcut: L) and confirm that the DRC Error visibility option (System Colors section) is enabled so that DRC error markers are displayed.
  2. Confirm that the Online DRC (Design Rule Checking) system is enabled on the PCB Editor – General page of the Preferences dialog. Keep the Preferences dialog open, and switch to the PCB Editor – DRC Violations Display page of the dialog.
  3. The PCB Editor – DRC Violations Display page of the Preferences dialog is used to configure how violations are displayed in the design space. There are two different methods available for displaying violations, each with its own strengths.
  4. For the tutorial, right-click in the Choose DRC Violations Display Style area of the PCB Editor – DRC Violations Display page of the Preferences dialog and select Show Violation Details - Used, then right-click again and select Show Violation Overlay - Used, as shown in the dialog image above.
  5. Click OK to save changes and close the Preferences dialog. You are now ready to check the design for errors.
The rules that are needed will depend on the nature of your design; there is no specific set of rules that suits every design. Keep this in mind as you are checking rule violations. Ask yourself, do I need this rule to be enabled? If you are attempting to work out the function of a rule in the PCB Rules and Constraints Editor and are unsure, click anywhere in the constraints area of the rule and press F1 for more information about that specific rule.

Configuring the Rule Checker

Dialog page: Design Rule Checker

The design is checked for violations by running the Design Rule Checker. Run the Tools » Design Rule Check command to open the dialog. Both online and batch DRC are configured in this dialog.

DRC Report Options

  • By default, the dialog opens showing the Report Options page selected in the tree on the left of the dialog (shown below).
  • The right side of the dialog displays a list of general reporting options. For more information about the options, press F1 when the cursor is over the dialog. These options can be left at their defaults.

    Design Rule Check dialog, Report Options page
    Rule checking, both online and batch, is configured in the Design Rule Checker dialog.

DRC Rules to Check

  • The testing of specific rules is configured in the Rules to Check section of the dialog. Select this page in the tree on the left of the dialog to list all of the rule types (shown below). You can also examine them by type, for example, Electrical, by selecting that page on the left of the dialog.
  • For most rule types, there are checkboxes for Online (check as you work) and Batch (check this rule when the Run Design Rule Check button is clicked).
  • Click to enable/disable the rules as required. Alternatively, right-click to display the context menu. This menu allows you to quickly toggle the Online and Batch settings. Select the Batch DRC - Used On entry, as shown in the image below.

    Design Rule Check dialog, Rules to Check page, right-click to configure settings
    Checking is configured for each rule type. Use the right-click menu to enable the Used design rules.

Running a Design Rule Check (DRC)

Click the Run Design Rule Check button at the bottom of the dialog to perform a design rule check. When the button is clicked, the DRC will run, then:

  • The Messages panel will open and list all detected errors.
  • If the Create Report File option was enabled in the Report Options page of the dialog, a Design Rule Verification Report will open in a separate document tab. The report for the tutorial is shown below.
    • The upper section of the report details the rules that are enabled for checking and the number of detected violations. Click on a rule to jump to and examine those errors.
    • Below the summary of violating rules are specific details about each violation.
    • The links in the report are live. Click on a specific error to jump back to the board and examine that error on the board. Note that the zoom level for this click action is configured on the System – Navigation page of the Preferences dialog. Experiment to find a zoom level that suits you.

DRC check, Design Rule Verification Report, Summary section The upper section in the report details the rules that are enabled for checking and the number of detected violations. Click on a rule to jump to and examine those errors.

DRC check, Design Rule Verification Report, Details section
The lower section of the report shows each rule that is being violated, followed by a list of the objects in error. Click on an error to jump to that object on the PCB.

Locating the Error Condition

When you are new to the software, a long list of violations can initially seem overwhelming. A good approach to managing this is to disable and enable rules in the Design Rule Check dialog at different stages of the design process. It is not advisable to disable the design rules themselves if there are violations, just the checking of them. For example, you would always disable the Un-Routed Net check until the board is fully routed.

  • When a batch DRC is run on the tutorial board, there are:
    • 4 Minimum Solder Mask Sliver violations – the minimum width of a strip of solder mask is less than allowed by this rule. This typically occurs between component pads.
    • 4 Clearance Constraint violations – the measured electrical clearance value between objects on signal layers is less than the minimum amount specified by this rule.
  • To locate a violation:
  • Using the Violation Details, you can establish the error condition.
  • The image below shows the Violation Details for one of the clearance constraint errors, indicated by the white arrows and the 0.25mm text, indicating that this gap is less than the minimum 0.25mm allowed by the rule. The next step is to work out what the actual value is so you know how much it has failed. You can then decide how to resolve this error.

    Design Rule Check, examining the Clearance Violation
    The Violation Details show that the clearance between these two pads is less than 0.25mm; it does not detail the actual clearance.

Understanding the Error Condition

So you've found an error. How do you know how much it has failed? As the designer, you need this essential information to be able to decide how best to resolve the error.

For example, if the rule says the allowable minimum solder mask sliver is 0.25 mm and the actual sliver is 0.24 mm, then the situation is not that bad and you may be able to adjust the rule setting to accept this value. But if the actual sliver value is 0.02, then that is probably not a situation that can be resolved by adjusting the rule setting.

The PCB editor includes three handy measurement tools: Measure Distance, Measure Selected Objects, and Measure Primitives, which are available in the Reports menu.

  • Measure Distance – measure the distance between the two locations you click after running the command; keep an eye on the Status Bar for instructions. The location that you can click is constrained by the current snap grid.
  • Measure Selected Objects – measure the length of selected tracks and arcs. Use this to work out route lengths, select the required objects manually, or use the Select » Physical Connection or Select » Connected Copper commands.
  • Measure Primitives – measure the edge-to-edge distance between the two primitives you click on after running the command; keep an eye on the Status Bar for instructions.
  • Measurement results are overlaid directly in the design space. The colors that are used are configured in the System Colors section of the View Configuration panel. Overlaid dimensions are retained on screen to allow multiple measurements to be performed. Press Shift+C to clear the measurement results.

    Design Rule Check, measuring the Clearance Violation
    Measuring the distance between the edges of adjacent pads using the Measure Primitives command.

Apart from actually measuring the distance, there are a number of approaches to finding out how much a rule has failed by. You can use:

  • The right-click Violations submenu, or
  • The PCB Rules And Violations panel, or
  • The detail included in the Messages panel; the actual value is detailed along with the specified value (for example, 0.175 mm < 0.254 mm).

The Violations Submenu

The right-click Violations submenu was described earlier in the Existing Design Rule Violation section.

The image below shows how the Violations submenu details the measured condition against the value specified by the rule.

Design Rule Check, examining the Clearance Violation using the right-click menu
Right-click on a violation to examine what rule is being violated and the violation conditions.

The PCB Rules And Violations Panel

Panel page: PCB Rules And Violations

The PCB Rules And Violations panel is an excellent feature for locating and understanding error conditions.

  • Click the Panels button button then select PCB Rules And Violations from the menu to display the panel. It will default to show [All Rules] in the Rule Classes list. Once you have identified a rule type of interest, select that specific rule class so that only those violations are shown at the bottom of the panel.
  • Click once on a violation in the list to jump to that violation on the board; double-click on a violation to open the Violation Details dialog.

    Design Rule Check, examining the Clearance Violation using the PCB Rules And Violations panel
    The panel details the violation type, the measured value, the rule setting, and the objects that are in violation.

Note that at the top of the PCB Rules And Violations panel there is a drop-down, which can be used to select Normal, Dim, or Mask. Dim and Mask are display filter modes, where everything other than the object(s) of interest are faded, leaving only the chosen object(s) at normal display strength. The Dim mode applies the filter but still allows all design space objects to be edited. The Mask mode filters out all other design space objects, only allowing the unfiltered object(s) to be edited.

The amount that the display is faded is controlled by the Dimmed Objects and Masked Objects slider controls in the Mask and Dim Settings section of the View Options tab of the View Configuration panel. Experiment with these sliders when you have the Mask mode or Dim mode applied.

Mask and Dim Settings, PCB editor View Configurations panel, View Options tab

To clear the filter, you can either click the Clear button at the top of the PCB Rules And Violations panel or press the Shift+C shortcut. This filtering feature is very effective in a busy design space and can also be used in the PCB panel and the PCB Filter panel.

Resolving the Violations

As the designer, you have to work out the most appropriate way of resolving each design rule violation. Let's start with the solder mask errors as they are related, and both error conditions may be affected by the changes you make to solder mask settings.

Minimum Solder Mask Sliver Violations

Design rule reference: Minimum Solder Mask Sliver

The solder mask is a thin, lacquer-like layer applied to the outer surface of the board, providing a protective and insulating covering for the copper. Openings are created in the mask for components and wires to be soldered to the copper. It is these openings that are displayed as objects on the solder mask layer in the PCB editor (note that the solder mask layer is defined in the negative – the objects you see become holes in the actual solder mask).

During fabrication, solder mask is applied using different techniques. The lowest cost approach is to silkscreen it onto the board surface through a mask. To allow for layer alignment issues, the mask openings are typically larger than the pads, reflected by the 4mil (~0.1mm) expansion value used in the default design rule.

There are other techniques for applying solder mask, which offer higher-quality layer registration and more accurate shape definition. If these techniques are used, the solder mask expansion can be smaller or even zero. Reducing the mask opening reduces the chance of having solder mask slivers or silk to solder mask clearance errors.

Design Rule Check, examining a Solder Mask sliver error
A solder mask sliver error. The purple represents the solder mask expansion around each pad.

Errors such as these solder mask issues cannot be resolved without consideration of the fabrication technique that will be used to make the finished board.

For example, if this was a complex, multi-layer board for a high-value product, then it is likely that a high-quality solder mask technology would be employed, which would allow a small or zero solder mask expansion. However, a simple, double-sided board like the board in this tutorial is more likely to be fabricated as a low-cost product, requiring a low-cost solder mask technology to be used. That means resolving the solder mask sliver errors by reducing the solder mask expansion for the entire board is not an appropriate solution.

Like many aspects of PCB design, the solution lies in making thoughtful trade-offs in a focused way to minimize their impact.

Enable the display of the solder mask before attempting to check solder mask errors and resolve them. If it is not visible, press L to open the View Configuration panel where that layer can be enabled.

To resolve this violation you can:

  1. Increase the solder mask opening to completely remove the mask between the transistor pads, or
  2. Decrease the minimum acceptable sliver width, or
  3. Decrease the mask opening to widen the sliver to an acceptable width.

This is a design decision that would be made in light of your knowledge of the component and the fabrication and assembly technology that is going to be used. Opening the mask to completely remove the sliver of mask between the transistor pads means that there is more chance of creating solder bridges between those pads, whereas decreasing the mask opening will still leave a sliver, which may or may not be acceptable, and will also introduce the possibility of mask-to-pad registration problems.

For this tutorial, you will do a combination of the second and third options, decreasing the minimum sliver width to a value suitable for the settings being used on this board, and also decreasing the mask expansion, but only for the transistor pads.

  1. The first step is to reduce the allowable sliver width. To do this, open the PCB Rules and Constraints Editor, then in the Manufacturing section locate and select the existing Minimum Solder Mask Sliver rule, called MinimumSolderMaskSliver.
  2. A value equal to the pad separation of 0.22mm (~8.7mil) will be acceptable for a design such as this; edit the Minimum Solder Mask Sliver value to be 0.22mm in the Constraints region of the rule.

    PCB editor, configuring the Minimum Solder Mask Sliver design rule

  3. The next step is to add a mask expansion rule for just the transistors that reduces the mask expansion to zero. Doing this will mean that the opening in the solder mask is the same size as the pad, making the width of solder mask sliver between the pads equal to the separation distance between the pads (0.22mm). Click on Mask in the tree on the left of the PCB Rules and Constraints Editor dialog to show the current Solder Mask Expansion rules; there should be one rule called SolderMaskExpansion.
  4. Double-click on it to select the rule and display its settings; it will specify an expansion value of 0.102mm (4mil). Since it is only the transistor pads that are in violation, you will not edit this value; instead, you will create a new rule.
  5. To add a new Solder Mask Expansion rule, right-click on the existing rule in the tree on the left and select New Rule from the context menu. A new rule called SolderMaskExpansion_1 will be created; click on it to display its settings.
  6. Edit the rule settings to be as shown below:
    • NameSolderMaskExpansion_Transistor
    • Where the Object Matches – select Footprint in the drop-down, then select ONSC-TO-92-3-29-11 (the name of the transistor footprint) in the second drop-down that appears
    • Expansion top / bottom0mm
    PCB editor, configuring the Solder Mask Expansion design rule
  7. Click Apply to accept the changes and keep the PCB Rules and Constraints Editor open.

Clearance Violations

Design rule reference: Clearance Constraint

There are two ways of resolving this clearance constraint:

  • Decrease the size of the transistor footprint pads to increase the clearance between the pads, or
  • Configure the rules to allow a smaller clearance between the transistor footprint pads.

Since the 0.25mm clearance is quite generous and the actual clearance is quite close to this value (0.22mm), a good choice in this situation would be to configure the rules to allow a smaller clearance. This can be done in the existing Clearance Constraint design rule, as shown below.

  • The TH Pad – to – TH Pad value is changed to 0.22mm in the grid region of the rule constraint. To edit a cell, select first it then press F2.
  • This solution is acceptable in this situation because the only other component with thruhole pads is the connector, which has pads spaced over 1mm apart. If this was not the case, the best solution would be to add a second clearance constraint targeting just the transistor pads, as was done for the solder mask expansion rules.

    PCB editor, configuring the Electrical Clearance design rule
    Edit the Clearance Constraint to allow a TH Pad to TH Pad clearance of 0.22mm.

  • Click OK to accept the changes and close the PCB Rules and Constraints Editor dialog.

Silk to Silk Clearance Violation

Design rule reference: Silk to Silk Clearance

The last error to resolve is the silk to silk clearance violations. These are usually caused by a designator being too close to the outline of an adjacent component. Your design may not have any of these violations – it depends on how close you placed the components, or if you have already repositioned the designators. Click, hold and drag a designator to move it – all objects will dim apart from the objects in the component whose designator is being moved; move that designator to a new location.

Designator movement will be constrained by the current snap grid. If it is currently too coarse, press Ctrl+G and enter a new grid value.

PCB editor, moving a component Designator to resolve a Silk to Silk clearance error
Reposition any designator that is causing a silk to silk violation.

  1. Save the PCB file locally.
  2. Open the Design Rule Checker dialog (Tools » Design Rule Check) and make sure that the Create Report File option is enabled on the Report Options page.
  3. Click the Run Design Rule Check button.
  4. A new report will be generated and open in a separate document tab. Make sure that it does not contain any rule violations.
  5. If there are violations, back to the PCB document and resolve these violations, then generate the report again.
  6. Remove the generated DRC report from the project (it will be generated during the design release process) – in the Projects panel, find the report file in the Generated\Documents sub-folder, right-click on it and select the Remove from Project command. In the Remove from project dialog that opens, choose the Delete file option.

    Remove the DRC report from project
    Remove the Design Rule Check report file from the project, with the permanent delete option.

  7. Save the PCB and the project to the Workspace.
  8. Close the PCB file.
Always confirm that you have a clean Design Rule Verification Report before generating outputs.
Well done! You have completed the PCB layout and are ready to configure output documentation and release the project. Before doing that, let's explore the PCB editor's 3D capabilities.

Viewing Your Board in 3D

The PCB editor requires a graphics card that supports DirectX, refer to the System Requirements page for more details.

A powerful feature of Altium Designer is the ability to view your board as a 3-dimensional object. To switch to 3D, run the View » 3D Layout Mode command or press the 3 shortcut. The board will display as a 3-dimensional object. The tutorial board is shown below.

You can fluidly zoom the view, rotate it, and even travel inside the board using the following controls:

  • ZoomingCtrl+Right-Click, Hold&Drag, or Ctrl+Mouse Wheel, or the PgUp / PgDn keys.
  • PanningRight-Click, Hold&Drag, or the standard Windows mouse-wheel controls.
  • RotationShift+Right-Click, Hold&Drag. Note that when you press Shift a directional sphere appears at the current cursor position, as shown in the image below. Rotational movement of the model is made about the center of the sphere (position the cursor before pressing Shift to position the sphere) using the following controls. Move the mouse around to highlight the required control, then:
    • Right-Click, Hold&Drag sphere when the Center Dot is highlighted – rotate in any direction.
    • Right-Click, Hold&Drag sphere when the Horizontal Arrow is highlighted – rotate the view about the Y-axis.
    • Right-Click, Hold&Drag sphere when the Vertical Arrow is highlighted – rotate the view about the X-axis.
    • Right-Click, Hold&Drag sphere when the Circle Segment is highlighted – rotate the view about the Z-plane.

PCB editor in 3D mode, hold Shift to display the Directional Sphere, then right-click and drag to rotate the board
Hold Shift to display the 3D view directional sphere then click and drag the right mouse button to rotate.

Tips for Working in 3D

  • Press L to open the View Configuration panel when the board is in 3D Layout Mode, where you can configure the 3D view display options (on the View Options tab in the General Settings and 3D Settings sections).
  • The 3D display colors can use Realistic, or By Layer, which are the layer colors defined in the 2D Layout Mode. There are a number of 3D Configurations defined. Explore these in the General Settings of the View Options tab of the View Configuration panel. For example, the Altium 3D Dk Green configuration is applied in the image above.
  • There are controls to configure the layer colors as well as the board thickness (vertical scaling), which is handy for examining the internal layers and interconnect structures in the PCB. 3D layers have a transparency setting; slide this to "see through" the objects on that layer.
  • You can choose to Show 3D bodies or hide them.
  • To display the components in 3D, each component needs to have a suitable 3D model included in its footprint. Refer to the Component object page and the 3D Body object page to learn more about including 3D models, and refer to The 3D Advantage in ECAD-MCAD Integration page to learn techniques for positioning a model on its footprint.
  • Apart from the component manufacturer's website, 3D models are also available on:
    • Community portal websites, such as 3D Content Central and GrabCAD, where designers share models.
    • A growing number of commercial 3D sites, including PCB 3D.
  • If there is no suitable STEP model available, create your own component shape by placing multiple 3D Body Objects in the footprint.

Output Documentation and Project Release

Main page: Preparing Your Design for Manufacture

Now that you've completed the design and layout of the PCB, you're ready to produce the output documentation needed to get the board reviewed, fabricated, and assembled.

Tutorial board exported as a 3D PDF, open in Adobe Acrobat
Output types include PDF 3D, with full zoom, pan and rotate, and the ability to control the display of nets, components, and the silkscreen, in Adobe Acrobat Reader®.

Available Output Types

Because a variety of technologies and methods exist in PCB manufacture, the software has the ability to produce numerous output types for different purposes:

Assembly Outputs

  • Assembly Drawings – component positions and orientations for each side of the board.
  • Pick and Place Files – used by robotic component placement machinery to place components onto the board.
  • Test Point Report – as ASCII file, available in 3 formats, that details the location of each pad/via that has been nominated as a testpoint.

Documentation Outputs

  • PCB Prints – configure any number or printouts (pages), with any arrangement of layers and display of primitives. Use this to create printed outputs, such as assembly drawings.
  • PCB 3D Prints – views of the board from a three-dimensional view perspective.
  • PCB 3D Video – output a simple video of the board based on a sequence of 3D key-frames defined in the PCB editor's PCB 3D Movie Editor panel.
  • PDF 3D – generate a 3D PDF view of the board with full support to zoom, pan, and rotate in Adobe Acrobat®. The PDF includes a model tree, giving control over the display of nets, components, and the silkscreen.
  • Schematic Prints – schematic drawings used in the design.

Fabrication Outputs

  • Composite Drill Drawings – drill positions and sizes (using symbols) for the board in one drawing.
  • Drill Drawing/Guides – drill positions and sizes (using symbols) for the board in separate drawings.
  • Final Artwork Prints – combines various fabrication outputs together as a single printable output.
  • Gerber Files – creates manufacturing information in Gerber format.
  • Gerber X2 Files – a new standard that encapsulates a high-level of design information with backward compatibility to the original Gerber format.
  • IPC-2581 File – a new standard that encapsulates a high-level of design information within a single file.
  • NC Drill Files – creates manufacturing information for use by numerically controlled drilling machines.
  • ODB++ – creates manufacturing information in ODB++ database format.
  • Power-Plane Prints – creates internal and split plane drawings.
  • Solder/Paste Mask Prints – creates solder mask and paste mask drawings.
  • Test Point Report – creates test point output for the design in a variety of formats.

Netlist Outputs

  • Netlists describe the logical connectivity between components in the design and are useful for transferring the design to other electronics design applications. A large variety of netlist formats are supported.

Report Outputs

  • Bill of Materials – creates a list of parts and quantities (BOM) in various formats required to manufacture the board.
  • Component Cross Reference Report – creates a list of components based on the schematic drawing in the design.
  • Report Project Hierarchy – creates a list of source documents used in the project.
  • Report Single Pin Nets – creates a report listing any nets that only have one connection.

Individual Outputs or an Output Job File

Main page: Streamlining Generation of Manufacturing Data with Output Jobs

The PCB editor has three separate mechanisms for configuring and generating output:

  1. Individually – the settings for each output type are stored in the Project file. You selectively generate that output when required using the commands in the Fabrication Outputs, Assembly Outputs and Export sub-menus (accessed from the File menu), and the Reports menu.
  2. Using an Output Job file – the settings for each output type are stored in an Output Job file, which is a dedicated output settings document that supports all possible output types. These outputs can then be generated manually or as a project release.
  3. In the design release process – output documentation that is set in all Output Job files of the project can be generated as a part of the integrated project release process, with the ability to validate the design.

Example of an OutputJob file
An Output Job file allows you to configure each output type, configure their output naming, format, and output location. Output Job files can also be copied from one project to another.

Although the individual outputs configured using the File and Reports menus use the same setup dialogs as an Output Job, the settings are independent and must be configured again if you switch from one approach to the other.

The OutputJob file, or OutJob, maps each output (in the list on the left) to an output container (in the column on the right). The output setting defines what you want to output (double-click to configure); the container defines where the output is to be written to (double-click the icon, or click the Change link). Any number of outputs can be added in the OutJob, and outputs can be mapped to individual or shared output containers.

  1. In the Projects panel, right-click on the project name and select Add New to Project » Output Job File. A new OutJob will be opened and added to the project.
  2. Save the OutJob and name it Fabrication. It will automatically be saved in the same folder as the project file.
  3. To add a new Gerber output, click the OutputJob, click this text to add a new Fabrication Output link in the Fabrication Outputs section of the OutJob and select Gerber Files » [PCB Document] as shown in the image below. If you select the [PCB Document] option, the project PCB is automatically chosen. Choosing this also means the OutJob can easily be copied between projects, as this setting will not have to be updated. If there are multiple PCBs in the project, you will need to select the specific board.
  4. The Gerber output has been added; you will configure it shortly.

    OutputJob, showing the menu when you click to add a new Fabrication Output

Configuring the Gerber Files

Dialog page: Gerber Setup

  • Gerber continues to be the most common form of data transfer between board design and board fabrication, with Gerber X2 and ODB++ becoming more and more popular.
  • Each Gerber file corresponds to one layer of the physical board: the component overlay, top signal layer, bottom signal layer, top solder mask layer, and so on. It is advisable to consult with your board fabricator to confirm their requirements before supplying the output files required to fabricate your design.
  • If the board has holes, an NC Drill file must also be generated, using the same units, resolution, and position on film settings.
  • Gerber files are configured in the Gerber Setup dialog, accessed via the PCB Editor's File » Fabrication Outputs » Gerber Files command, or by adding a Gerber output into the Fabrication Outputs section of an Output Job then double-clicking on it.

    Composite image showing 3 of the 5 tabs in the Gerber Setup dialog
    Configure the Gerber outputs in the Gerber Setup dialog.

  1. In the OutJob, double-click on the Gerber Files output added in the previous set of steps. The Gerber Setup dialog will open, as shown in the image above.
  2. Since the board has been designed in Metric, set the Units to Millimeters on the General tab of the dialog.
  3. The smallest unit used on the board is 0.25mm for the routing and clearance, but because most of the components have their reference point at their geometric center (and were placed on a 1mm grid), some of their pads will actually be on a 0.01 grid. Set the Format to 4:3 on the General tab. This ensures that the resolution of the output data is more than adequate to cover these grid locations. Note: the NC drill file must always be configured to use the same Units and Format.
  4. Switch to the Layers tab then click the Plot Layers button and select Used On. Note that mechanical layers may be enabled; these are not normally Gerbered on their own. Instead, they are often included if they hold detail that is required on other layers, for example, an alignment location marker that is required on every Gerber file. In this case, the Mechanical Layer options on the right side of the dialog are used to include that detail with another layer. Disable any mechanical layers that were enabled in the Layers to Plot section of the dialog.
  5. Click on the Advanced tab of the dialog. Confirm that the Position on Film option is set to Reference to relative origin. Note: the NC drill file must always be configured to use the same Units, Format, and Position on Film settings as the Gerber files otherwise the drill locations will not match the pad locations!
  6. Click OK to accept the other default settings and close the Gerber Setup dialog.
  7. Same way, add the NC Drill output to the OutJob file – click the OutputJob, click this text to add a new Fabrication Output link in the Fabrication Outputs section of the OutJob and select NC Drill Files » [PCB Document].
  8. Double-click on the added NC Drill Files output to access the NC Drill Setup dialog. Set the Units to Millimeters and the Format to 4:3. Make sure that the Coordinate Position option is set to Reference to relative origin, and click OK to accept the other default settings and close the dialog.

    NC Drill Setup dialog, configured to generate proper NC Drill files
    The NC Drill Setup dialog configured to generate proper NC Drill files for the tutorial.

  9. Now that the Gerber and NC Drill settings are configured, the next step is to configure their naming and output location. This is done by mapping them to an Output Container on the right side of the OutJob. For discrete files with their own file format, use a Folder Structure container. Select Folder Structure in the list of Output Containers then click the radio buttons for the Gerber and NC Drill Files in the Enabled column of the Outputs section to map these outputs to the selected container, as shown below.

    OutputJob configured to generate Gerbers and NC Drill as discrete files
    The OutJob configured to generate Gerber and NC Drill outputs as discrete files.

  10. The last step is to configure the container. To do this, click the Change link in the container to open the Folder Structure settings dialog. Across the top are a set of controls that are used to configure if the outputs are Release Managed or Manually Managed; make sure that they are set to Release Managed. Explore the other options. The lower part of the dialog will display how the names and folder structure change as you select different options.
  11. Click OK to close the dialog.

Configuring Validation Report Generation

The software includes a number of validation checks, which can be included as an output, during output generation. Each produces an HTML report file. During the project release process, these checks will be performed prior generation of other outputs, and if any validation checks are not passed successfully, the release will fail.

  1. To add a new Validation output, click the OutputJob, click this text to add a new Validation Output link in the Validation Outputs section of the OutJob and select Design Rules Check » [PCB Document].
  2. Map the added report to the Folder Structure Output Container – select the Folder Structure container in the list on the right side of the OutJob, then click the radio button for the Design Rules Check output in the Enabled column of the Outputs section.
  3. Save locally and close the OutputJob file.

Configuring the Bill of Materials

Main page: BOM Management with ActiveBOM

Ultimately, every part used in the design must have detailed supply chain information. Rather than requiring that this information be added to each design component, or added as a post-process in an Excel spreadsheet, you can add it at any point through the design cycle in an ActiveBOM (*.BomDoc).

ActiveBOM is the component management editor included in Altium Designer, which is used to:

  • Configure the component information so that it is BOM-ready, including adding additional non-PCB component BOM items, such as the bare board, glue, mounting hardware, and so on.
  • Add additional columns, such as a line number column, to suit the requirements of the assembly house.
  • Map each design component to a real-world manufacturer part.
  • Verify the supply chain availability and price for each part, for a defined number of manufactured units.
  • Calculate the cost to build for the defined number of manufactured units.

ActiveBOM, configured for the tutorial project
ActiveBOM is used to map each design component to a real-world part.

This ability to inject supply chain details directly into the BOM changes the role of the BOM document in the PCB project. No longer a simple output file, ActiveBOM raises the component management process to sit alongside the schematic capture and PCB design processes, where ActiveBOM's BomDoc becomes the source of all Bill Of Materials data for the PCB project for all BOM-type outputs. ActiveBOM is the recommended approach to BOM management.
ActiveBOM queries the supply chain in real-time, using the Part Providers enabled in the settings of your connected Workspace. Because data is updated in real-time, the availability of the parts used in this tutorial will change over time. The list of available suppliers also changes over time. For these reasons, the results you get may be different from the results shown and described in this tutorial.

To include a BomDoc in the tutorial:

  1. Select File » New » ActiveBOM Document from the main menus. Note that a PCB project can only include one BomDoc.
  2. The BomDoc will be created, and the components used in the tutorial listed as BOM Items. The BomDoc is configured in the Properties panel, where the production quantity and currency, supply chain, and visible BOM Item parameters are defined, along with other settings. Take some time to familiarize yourself with the features available in the Properties panel's two tabs. Note that the panel includes a search field at the top, which is handy for quickly locating a control or a parameter.
  3. Explore the Columns tab of the panel. Note that the available data to be included in the BOM can be sourced from various locations, controlled by the Sources buttons.
  4. The components are detailed in the main grid area of the BomDoc. By default, there is a column titled Line #. Click the Set Line Numbers button (ActiveBOM, Set Line Numbers button) to populate this column (you may need to refresh the BomDoc with the Refresh button at the top-right of the document to show the Line # values in the grid).
  5. Because the components were acquired from the Manufacturer Part Search panel, each part already includes supply chain information. When you click on a part in the BOM Items grid, its supply chain information is displayed in the lower region of the BomDoc as shown in the image above. Each row displayed in this lower region of the BomDoc is referred to as a Solution, with the manufacturer part + part number (referred to as an MPN) shown on the left, and available suppliers + supplier part numbers (referred to as SPNs) are shown in each tile on the right.
  6. Note that the BOM Items grid includes a BOM Status column on the right. Hover the mouse cursor over a status icon for information about any issues detected.
  7. The Status icons should indicate that all of the Items include the error No MPN ranked. This means that the designer (you) has not yet checked through the selected parts (MPNs) and indicated that they are happy with each of them. An MPN is accepted by assigning it a rank (as shown in the image above). Do this for each of the items that show no other error type. It is possible that the transistor may have other errors; this will be resolved shortly.
  8. The Status of four of the five BOM Items should change to green (ActiveBOM Status Indicator, ready to order) indicating that these Items are clear (ready to order).
  9. The status of each Item is checked against the current configuration of BOM Checks configured in the Properties panel. The BOM Checks list in the panel details all BOM checks that are currently being violated. The available BOM checks and their current settings are configured in the Bom Checks dialog (accessed with the ActiveBOM Gear button, click to open the BOM Checks dialog icon below the BOM Checks list).
  10. Select the transistor Item; it may be flagged as Obsolete. For an Item that does not have an MPN assigned, or has an MPN but that part has no suppliers, you can also create a Manufacturer Link.

    The Manufacturer Link feature allows you to connect a Workspace part, or a non-Workspace part with supply chain issues, to your preferred manufacturer part. Using this feature, you can bring the full power of the Altium Parts Provider to all of your design components directly in the BomDoc, complete with real-time supplier, price, and availability information. The Manufacturer Link is stored in the BomDoc.
  11. To add a Manufacturer Link, select the transistor in the grid, click the Add Solution button and select Create/Edit PCL (Part Choice List) from the menu that appears.
  12. The Edit Manufacturer Links dialog will open. Click the Add button to add a new Manufacturer Link; the Add Part Choices dialog will open. This dialog is used to search for a suitable manufacturer part. As well as identifying a suitable part, you can also check the suppliers, price, and availability.

    The Search field in the Add Part Choices dialog is automatically populated with data from the component you selected in the BomDoc. The field that supplies the search data is determined by the Suggested Keywords setting in the Data Management – Part Providers page of the Preferences dialog. The default is to search using the Comment field; this can be changed if required.
  13. If the search only returns the same part you already have used, try broadening the search, for example, search for BC547C.
  14. Keep an eye on the vertical colored bar at the edge of the Manufacturer Part column. This indicates the Lifecycle state of that part. Ideally, you will select a part with a green Lifecycle state (Volume Production). Note that you do not need the part to have models since you already have a symbol on the schematic and a footprint on the PCB.
  15. Choose a part that has a Lifecycle state of Volume Production (hover the cursor over the vertical colored bar to view the lifecycle state) and stock available, then click OK to accept this part.

    Added part choices and rankings in the BomDoc are automatically saved back for the component in the Workspace.
  16. You will return to the Edit Manufacturer Links dialog. Click OK to close the dialog and return to the BomDoc.
  17. The Solutions region of the BomDoc will show two solutions: the original part used in the design, and the Solution you just added. The Solutions are listed in the order they will be used in the BOM. Use the Ranking feature to promote the part you selected to be the primary Solution by hovering over the stars then clicking the desired rank (as shown below).
  18. All parts now include supply chain details. Save the BomDoc and the project locally.

ActiveBOM, adding a Manufacturing Link to create another Solution
Create a Manufacturer Link to select a part directly in the BomDoc when the schematic part does not include suitable supply chain details.

Preparing the Output BOM

Dialog page: Report Manager

The actual output BOM file that is generated is done using the Report Manager. The Report Manager is a highly configurable report generation engine that can generate output in a variety of formats including text, CSV, PDF, HTML, and Excel. Excel-format BOMs can also have a template applied using one of the pre-defined templates or one of your own. An Excel-format BOM can also be generated without Microsoft Excel being installed; select the MS Excel File option in the File Format drop-down.

  • The Report Manager generates BOM output from the Bill of Materials For Project dialog, accessed via:
    • The schematic or PCB editor's Reports » Bill of Materials, or
    • By adding a BomDoc to the project and running the BomDoc's Reports » Bill of Materials command, or
    • By adding a Bill of Materials into the Report Outputs section of an Output Job.
  • The default behavior is for the Report Manager to present the component detail in the same way it has been configured in the BomDoc if the project includes a BomDoc. Columns can be added and removed using the Columns tab in the Properties region of the dialog.
  • If the project does not include a BomDoc, the Columns tab includes an additional region, used to define how like-components are identified for clustering. Clustering is achieved by dragging and dropping component attributes to the Drag a column to group region of the dialog.
  • The main grid region of the dialog is the content that is written into the BOM. In this region, you can click and drag to reorder the columns, click on a column heading to sort by that column, Ctrl+Click to sub-sort by that column, and define value-based filters for a column using the small drop-down in each column header.
  • By default, the BOM generator sources information from the schematic documents. A variety of Sources are available. Use the buttons in the Columns tab in the Properties region of the dialog to enable other sources. For example, if you enable the PCB Parameters you can include detail such as component location and side of board if required.

    Bill of Materials Report Manager dialog
    The Report Manager takes the configuration from the BomDoc if the project includes a BomDoc.

Mapping Design Data into the Generated BOM

Design data can be passed from Altium Designer into an Excel-format Bill Of Materials by referencing an Excel template that includes special statements.

When creating the Bill of Materials template in Excel, a combination of Fields and Columns can be used to specify the desired layout. Several example templates are included with the software in the \Templates folder of the installation user files. Refer to the Including Design Data in the Excel BOM page for details of the available fields. Note that fields need to be defined above or below the Column region of the template.

  1. Add a new OutJob file to the project and save it as Assembly in the same folder as the project file.
  2. To add a new BOM output, click the OutputJob, click this text to add a new Report Output link in the Report Outputs section of the OutJob and select Bill of Materials » [ActiveBOM Document].
  3. Double-click on the added Bill of Materials output to open the Report Manager dialog.
  4. In the Export Options of the Properties pane on the right side of the dialog, set Generic XLS (*.xls, *.xlsx, *.xlsm) for the File Format and BOM Template Single Supplier for the Template.

    Unlike the MS-Excel (*.xls, *.xlsx *.xlsm) file format, Generic XLS (*.xls, *.xlsx, *.xlsm) uses a built-in XLS-format file generator, so that this format can be generated without having Microsoft Excel installed.

    Bill of Materials Report Manager dialog, Export Options
    The Report Manager takes the configuration from the BomDoc if the project includes a BomDoc.

  5. Click OK to save changes and close the dialog.
  6. In the OutJob file, map the added BOM report to the PDF Output Container – select the PDF container in the list on the right side of the OutJob, then click the radio button for the Bill of Materials output in the Enabled column of the Outputs section.
  7. Configure the PDF container – click the Change link in the container to open the PDF settings dialog. Click the Assembly.PDF entry, select the Separate file for each output using output name, and click Done. The output BOM will be assigned the name set to the output in the OutJob file (Bill of Materials.pdf), that can be seen in the Preview region of the dialog.

    PDF setting dialog, configuring output naming
    Configure the BOM output naming in the PDF setting dialog.

  8. Click OK to close the dialog.
  9. Add the Pick & Place output to the OutJob file – click the OutputJob, click this text to add a new Assembly Output link in the Assembly Outputs section of the OutJob and select Generates pick and place files » [PCB Document].
  10. Double-click on the added Generates pick and place files output to access the Pick and Place Setup dialog. Set the Units to Metric in the Output Setting region on the bottom left part of the dialog and click OK to accept the other default settings and close the dialog.
  11. Map the added Pick & Place output to the Folder Structure Output Container – select the Folder Structure container in the list on the right side of the OutJob, then click the radio button for the Generates pick and place files output in the Enabled column of the Outputs section.
  12. Save the project to the Workspace.

Project Release

Main page: Board Design Release

With output documentation configured in OutJob files, the project is ready to be released to the connected Workspace. The board design release process is automated, enabling you to release your board design projects without the risks associated with manual release procedures. When a particular project is released, a snapshot of the design source is taken and archived along with any generated output – which represents a tangible product that is made from that design project and sold by the company.

The release process itself is performed using Altium Designer's Project Releaser, the user interface to which is provided courtesy of a dedicated view – the Release view. The release process is a staged flow, with the entries on the left-hand side of the view showing you at-a-glance, which stage you are currently at.

Project Releaser, Configure Server Release stage
The Release view – the user interface to the Project Releaser.

  1. Access the Release view – right-click the project file in the Project panel and select the Project Releaser command from the context menu.
  2. The Release view will open as a separate document tab. On the first stage – 1. Configure Server Release (shown on the image above) – you specify the type(s) of data that you wish to generate. Click on Details controls at the far right of each data set header to access details of what exactly is going to be generated by a data set.
  3. Click the Options button at the bottom-left of the view to access the Project Release Options dialog. On the dialog's Release Options tab, make sure that the Managed - <WorkspaceName> is selected as the Release Target; Fabrication is assigned to Fabrication Data set, and Assembly is assigned to the Assembly Data set. Click OK to close the dialog and get back to the Release view.

    Project Release Options dialog, configured for online release
    Configure options for the online release in the Project Release Options dialog.

  4. Make sure that both fabrication and assembly Data Items are included in the release – Include Fabrication Data and Include Assembly Data for No Variant options are enabled (source data are always included in the project release) – then click the button to proceed.
  5. The Item Creation dialog will open, with the list of target release items to be created in the Workspace. Select the Create items option to confirm creation of the items.
  6. If there are changes in the open documents that have not been saved locally, the Project Modified dialog will open. In this case, select the Save and Commit changes option to save the changes locally and proceed with saving the changes to the Workspace.

    If there are changes to the project and/or its files that have not been saved to the Workspace yet, the Pending Commits dialog will open, alerting about this fact. Select the Commit option to proceed with saving the changes to the Workspace.
  7. In the Commit to Version Control dialog that opens, make sure that modified project's source files, and those that are not in version control, are enabled, enter a meaningful Comment (e.g., The project is ready to be released), and click the Commit And Push button.
  8. The next stage of the release process – 2. Validate Project – is run automatically when one or more Validation-type reports are detected in assigned OutJob file(s). As the Fabrication OutJob file includes generation of the Desing Rules Check report, this validation output generator is run.

    If any validation checks are not passed successfully, the release will fail. For the project release in this tutorial, this will mean that the PCB document includes at least one DRC violation. In this case, stop the release process with the Cancel button at the bottom-right of the view, open the PCB document, resolve the DRC violations, then start the release process again.
  9. If validation is successful, the next stage of the release process – 3. Generate Data – is run automatically. This is where all other outputs – defined in the OutJob file(s) assigned to the included Data Items – are run, to generate the data to be released into the relevant target items in the Workspace.
  10. With all validation checks passed, and output data generated, the next stage of the release process – 4. Review Data – allows you to review the generated data. Click a View link to open the associated data file, or file set, either within the relevant editor within Altium Designer (e.g. the CAM editor) or within the relevant external application (e.g. a PDF viewing tool). If the generated data all looks good, proceed with the release by clicking the Release button at the bottom-right of the view.

    Project Releaser, Review Data stage
    Review of the generated data, ready to be released to the Workspace.

  11. The Confirm Release dialog will open, summarizing the configurations of the project that will be released to the Workspace. Enter a Release Note (e.g., Initial Release), and click OK.
  12. After confirming the release in the previous stage, the next stage – 5. Upload Data – is automatically entered. It simply presents the progress of data upload into the revisions of the relevant data Items in the Workspace.
  13. The final stage of the process – 6. Execution Report – provides a summary of the release. Close the Release view using the Close button at the bottom-right of the view.
You started with a blank schematic sheet and worked through to a finished PCB with output files released to the Workspace, which is the entire design process in Altium Designer. Next, we will explore some features related to project management and collaboration.

Project History

Altium Designer, in conjunction with a connected Workspace, allows you to view and interact with an advanced graphically orientated Project History timeline. The dedicated History view provides a progressive timeline of major events relating to the project – its creation, commits, releases, clones, and MCAD exchanges – with various actions supported where applicable.

Project History of the Multivibrator project
The History view of the Multivibrator project.

The History view can essentially be broken down into three key sections:

  • Main trunk of the timeline. Direction of event chronology is from the bottom up. The first event – the creation of the project – will appear at the bottom of the timeline. Subsequent events appear above, with the latest (the most current event) appearing at the top of the timeline.
  • Events. Each time a supported event (including project creation, saving to the Workspace, and project release) happens in association with the project, that event is added to the timeline as a dedicated tile. Each type of event will have a different colored tile and will either be linked directly to the main trunk of the timeline.
  • Search. Click the control at the top-right of the view to access a search field that facilitates basic searching of the project history. As you type your search string, filtering will be applied to the timeline to present only the events relevant to that search.
  1. To access the History view for the project from within Altium Designer, right-click on its entry in the Projects panel and choose the History & Version Control » Show Project History command from the context menu. The History view presents as a distinct tabbed document (Multivibrator History).
  2. Explore events relating to the project: project creation (the tile at the very bottom of the timeline), project commits (saving it to the Workspace), project release (the tile at the very top of the timeline, that straddles the timeline as a 'major' event).
  3. Click the control at the top-right of the view to access a search field and perform a search of events related to the R1 resistor. Enter R1 to the search field – one tile should be filtered, with the search string highlighted in the event details.

    Project History, Search feature
    Using the Search feature in the History view.

  4. Clear the search field to clear the current filtering and return to the full timeline – click on the Clear Filter control in the box summarizing how many events are being shown (at the top of the view) or click the control at the far right of the search field.
  5. Close the History view – right-click on its document tab and select the Close Multivibrator History command from the context menu.

Viewing the Design in a Web Browser

Main page: Web Viewer Functionality (on the Altium 365 Platform, in a Concord Pro Workspace)

The Workspace's Web Viewer interface provides universal access to PCB project documents through a standard web browser. Much more than just a web-based viewer, its advanced browser technology allows users to navigate through the project structure, interact with design documents, highlight areas or objects for commenting notes, and search, cross-probe, select and inspect components and nets throughout the design.

Web Viewer interface, Design view, board in 3D
The Web Viewer interface provides an immersive and interactive experience for reviewing a design. Shown here is the board in 3D.

To ensure a smooth experience with the Web Viewer, ensure you have the latest version of a supported Web Browser installed, that WebGL is enabled for it and that the video drivers for your computer are up to date. For more information, see Altium 365 Viewers – Troubleshooting Guide (for Web Viewer on the Altium 365 Platform) or System Requirements – Web Browser Requirements (for Web Viewer of a Concord Pro Workspace).

The Web Viewer interface presents information across distinct data views. The views presented will depend on the type of data being viewed. When viewing design source, four data views are used to present the source schematic(s), board in 2D, board in 3D, and Bill of Materials respectively.

The Web Viewer interface for a specific project can be accessed directly from the Workspace browser interface, or indirectly from within Altium Designer.

  1. To access the Web Viewer interface from within Altium Designer, right-click on the project entry in the Projects panel and choose the Show in Web Browser command from the context menu. The detailed management page for the project will open in your default web browser, with the Design view of the project presented.
  2. The SCH data view that presents the source schematic sheet will open by default. Using view buttons at the top of the main viewing area, switch between other data views available: PCB (the board in 2D), 3D (the board in 3D), and BOM (Bill of Materials).

    Buttons for switching the current data view.
    Buttons for switching the current data view.

  3. On the SCH data view, use Mouse Wheel to zoom in/out; Click, Hold&Drag (or Right-Click, Hold&Drag) to pan the document.
  4. Hover the cursor over a component and click to select it and display its details in the right-hand pane.
  5. Hover the cursor over a wire and click to select the net and display its details in the right-hand pane.
  6. Buttons at the top of the right-hand pane allow cross-probing to the selected object on other data views. When a component or a net is selected, use these buttons to switch to another data view, with the same object selected, centered, and zoomed there. Select the GND net on the schematic view and click the PCB button in the details pane to switch to the board data view with the net selected, centered, and zoomed.

    Cross-probing controls (for a selected net).
    Cross-probing controls (for a selected net).

  7. In the PCB data view, use Mouse Wheel to zoom in/out Click, Hold&Drag (or Right-Click, Hold&Drag) to pan the document.
  8. Use the Layers pane accessed by clicking on the control at the top-left of the view (e.g. ) to control layer visibility. Use the Top View and Bottom View controls at the top of the pane to quickly toggle between viewing the board from the top or bottom respectively.
  9. Switch to the 3D view. Use Mouse Wheel to zoom in/out; Click, Hold&Drag to rotate the board; Right-Click, Hold&Drag to pan the board.
  10. Click the control in the top-right control cluster to access the Search facility, allowing you to search for components and/or nets. Type C1 in the search field to display the list of matching components and nets. Click NetC1_1 to select this net on the current data view.

    Searching for a net within the active 3D view.
    Searching for a net within the active 3D view.

  11. Switch to the BOM data view. Use links in the Name column to open part's page in Octopart. Use links in the Designator column to cross-probe to the component on the last active data view prior to accessing the BOM data view.

Document Commenting

Related pages: Web Viewer Functionality – Comments (on the Altium 365 Platform, in a Concord Pro Workspace), Management of Projects – Project Commenting

The Web Viewer interface supports commenting of your design documents. A comment is a user-added note that is assigned to a specific point, object, or area (as applicable) on a supported data view, and may be replied to by other users. Comments promote collaboration between users without altering the shared data itself because comments are stored by the Workspace independently of that data. Comments applied in the Web Viewer interface in the following places become available in Altium Designer and vice-versa.

  1. When the project is opened in the Web Viewer interface, switch to the SCH data view.
  2. Click the control in the top-right control cluster to display the Comments pane where project comments are shown.
  3. Click the button in the top banner area of the browser tab or the  button in the Comments pane. The cursor will change to a cross-hair and you will enter comment placement mode.
  4. Left-click on the C1 capacitor. A commenting window will be presented – enter a comment in the field provided and click Post. A comment marker will be presented in the main viewing area.

    Placing a comment in the Web Viewer interface.
    Placing a comment in the Web Viewer interface.

  5. Open the schematic sheet in Altium Designer. Note that the comment marker () next to the C1 capacitor. Click on it to display the commenting dialog. Double-click on it to open the Comments panel (the panel can also be opened from the Panels button button menu).
  6. In the Reply field of the commenting window, enter a reply to the initial comment and click Reply.

    Replying to a comment.
    Replying to a comment.

  7. Click the button at the top-right of the dialog to mark the comment as resolved (i.e. close it as complete).
  8. In Altium Designer, open the PCB document in its 2D layout mode (shortcut: 2).
  9. Click the button at the top-right of the application window or the button in the Comments panel to enter comment placement mode.
  10. Click and hold the left mouse button away from an object and drag the cursor to create a rectangular highlighted area around resistors, and then release the mouse button to confirm its final shape.
  11. In the commenting dialog, click the control or enter the @ character and select a user from the dropdown list that appears. Enter a comment in the comment field, leave the Assign to option enabled and click Post. The user will be mentioned in the comment, and the comment will be assigned to this user.

    Comment for an area in the PCB document. A user is mentioned in the comment, and the comment is assigned to this user.
    Comment for an area in the PCB document. A user is mentioned in the comment, and the comment is assigned to this user.

  12. In the Web Viewer interface, switch to the PCB data view of the project and make sure that the comment added to the PCB in Altium Designer presents in the main viewing area and in the Comments pane.
  13. Click the comment marker to open the commenting window and click the control at the top-right to mark the comment as resolved.

Project Share

Related pages: Workspace Projects – Sharing a Managed Project (on the Altium 365 Platform, in a Concord Pro Workspace), Sharing a Design, Management of a Specific Project – Sending Data to Your Manufacturer

Once a project is saved to the Workspace, you'll want to determine which users can actually access that project, for collaborative design and/or reviewing this project. This is done by sharing the project, or rather, by configuring its access permissions. This can be performed through Workspace's browser interface, and also directly from within Altium Designer.

Example of sharing a design from Altium Designer
A design saved to Workspace can be shared with other users (including those outside the Workspace) and roles, for editing or for viewing and commenting only.

  1. In Altium Designer, click the button at the top-right of the application window to open the Share dialog.
  2. Click the Share with control to see who currently has access to the projects.

    Share dialog, access from Altium Designer
    Access the Share dialog in Altium Designer and check with whom the project is currently shared.

  3. By default, the project is available for editing to all members of the Workspace – note the Workspace Members entry and the Can Edit at the right. Click the Can Edit and select Can View from the drop-down – Workspace members will still have access to the project but for viewing and commenting only, while the project owner (the user who has created the project) and Workspace administrators will have editing permissions for this project.

    For a Concord Pro Workspace, Everyone in the team will have permissions for viewing the project by default. You can change this the same way, by clicking the Can View drop-down and selecting the desired option.

    Share dialog, changing permissions for everyone in the team
    Change access to the project permissions from the Share dialog.

  4. Click the Save button to save the changes. You can click the Who has access control to get back to the list of entities who has access to the project and make sure that the change has been applied.

    Project sharing setting can also be configured through the Workspace's browser interface. For more information, see the Workspace Projects – Sharing a Managed Project page (on the Altium 365 Platform, in a Concord Pro Workspace).
    When working on a project hosted in the Altium 365 Workspace, you can also share your designs with people outside of your Workspace team – either for viewing and commenting only, or for editing – without the need to invite them into that team. This allows invited stakeholders to view/edit (as applicable) a live, work-in-progress design project, without gaining access to your full server of design data. For more information, see the Sharing a Design – Sharing with a non Team Member page.
  5. Besides sharing an actual work-in-progress design, you can also create and share design snapshots, i.e. design at that specific point in time of the project's development, for wider collaboration with others through the Web. To share in this manner, click to select the Snapshot on the Web entry, on the left side of the Share dialog.
  6. By default, the dialog is set to Share By Link, meaning that you can generate a link and anyone who is given the link will have access to view the design snapshot through their Web browser for a time-limited period of 48 hours. Click the button to generate the link to the design snapshot.

    Share dialog, sharing snapshot by link
    Generate a link to the provide a simple access to the project snapsoht on the Web.

  7. Once the link is ready, click the button to copy it.
  8. Open the link in your web browser – you will be taken to an instance of the Altium 365 Viewer – on the main altium.com site – with the design processed and loaded.

    Design snapshot in Altium 365 Viewer
    Using the shared link, a recipient can browse the design snapshot using Altium 365 Viewer, loaded on the main altium.com site.

    The Share dialog also provides an ability to share a design snapshot with one or more specific people, by email invitation. Clicking the Share with specific people control on the Snapshot on the Web tab of the dialog will switch the sharing mode to allow you to do this. Recipients will have access to view, share or download the design snapshot through the Web-based Altium 365 Platform Interface. Such a design snapshot is available permanently through the platform and commenting on the design is possible with this level of sharing.

One of the most powerful aspects of the Altium 365 infrastructure platform is its support for collaboration on a global scale. At the heart of this is the platform's support for Global Sharing. With Altium 365, you can effortlessly share your current design progress with management, or purchasing, or a potential manufacturer.

Once the project is released to an Altium 365 Workspace, you can share this data with your manufacturer through a defined Manufacturing Package, which they can then peruse through the Altium 365 platform's dedicated Manufacturing Package Viewer – without them having access to your Workspace and therefore keeping your design data out of sight. They can then download the Build Package with which to get your board fabricated and assembled.

  1. Open the project in Workspace's browser interface.
  2. Click the Releases entry at the left-hand menu to access the list of project releases.
  3. Click the button associated with the release's entry. The Sending to Manufacturer window will be presented in which to configure the content of the package, and to whom it will be sent.

    Releases view You can send (share) a specific release of a project directly with your manufacturer.

  4. By default, fabrication and assembly data sets are added to the package. Enter a description of what the package gives to the Description field, and enter an email to the Manufacturer Email field.
  5. You can leave other fields with their default values and click the button. The package will be shared with you (as the author of the package) and the specified manufacturer(s) and an entry for it will appear in the Sent region of the Releases view.

    Releases view, a package has been sent
    After sending a manufacturing package, an entry will appear for it back in the Releases view, in the Sent region.

The manufacturer to whom you sent the package will receive an email invite to access that package through Altium 365. Upon signing in to the Altium 365 platform, they will be taken to the Manufacturing Package Viewer, with the shared package loaded.

Manufacturing Package Viewer, access from email invite
Accessing the shared manufacturing package from the email invite that is received by the manufacturer.

The Manufacturing Package Viewer interface offers a range of integrated capabilities that allow detailed access to the release data contained within the shared manufacturing package. These capabilities are accessed through different pages of the Viewer:

  • Overview – this page of the Viewer shown on the image above presents a summary overview of the design in terms of key board data and any user-defined parameters that have been defined for the project (on the Workspace side). 2D and 3D previews of the board are also provided. The full release package can be downloaded from this view.
  • Fabrication – this page of the Viewer provides an embedded Gerber Viewer that uses the Web Viewer interface. Standard review features include layer visibility selection and comment markup. Show image
  • Assembly – while labeled 'Assembly' this page actually provides both 2D fabrication (PCB data view) and assembly (3D data view) views of the board. These data views use the Web Viewer interface. This interface offers a range of capabilities that allow detailed access to the design's data and layout. You'll be able to search, select, cross-probe, and inspect components and nets across the two sub-views as applicable, as well as the ability to leave comments. And when viewing the board in 2D, you can take measurements. Show image
  • Bill of Materials – this page of the Viewer presents a simple BOM listing for parts used in this specific release of the design. Show image
  • Structure – area of the Viewer presents a structured listing of all files available in the data sets included with the manufacturing package being viewed. This will typically include generated data for fabrication and assembly data sets, but could also include the snapshot of the design from which the release package was made (if the source has been included in the package). Each file can be independently downloaded. Show image
Learn more about Viewing Manufacturing Packages.
Congratulations! You explored project management features for collaborative design and finished the tutorial.

This tutorial has introduced you to just some of the powerful features of the Altium software but we've only just scratched the surface of the design power available to you. Once you start exploring, you will find a wealth of features to make your design life easier. See other pages of the Exploring Altium Designer section to learn more.

 

Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.

お問合せ

お近くの営業所にお問合せください。

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
You are reporting an issue with the following selected text
and/or image within the active document: