Altium Designer Documentation

Compile

Created: October 2, 2017 | Updated: October 2, 2017
您正在阅读的是19.1版本。 关于最新版本,请前往阅读21版本

Parent page: WorkspaceManager Commands

The following pre-packaged resources, derived from this base command, are available:


Applied Parameters: Action=Compile|ObjectKind=Project

Summary

This command is used to compile all source documents of the active project.

Access

With a source document for the project open as the active document, this command is accessed by choosing the Project » Compile Project command, from the main menus.

Use

After launching the command, the active project will be compiled.

For a PCB design project, the compilation process performs four functions:

  1. Instantiates the design hierarchy.
  2. Establishes net connectivity between all the design sheets.
  3. Builds an internal Unified Data Model (UDM) of the design.
  4. Checks for logical, electrical and drafting errors between the UDM and compiler settings.

With respect to point 4, any violations that are detected by the Compiler will be listed as warnings and/or errors in the Messages panel.

Tips

  1. A project is currently active when one of its associated design documents is active in the main design window.
  2. The Compiler uses the options defined on the Error Reporting and Connection Matrix tabs of the Options for Project dialog (as applicable to the project type), when checking the source documents for violations.
  3. For a PCB design project, use the Navigator panel to peruse the connectivity model for the compiled source documents. The Projects panel can also be used to browse components and nets for the design.


Applied Parameters: Action=Compile|ObjectKind=FocusedProject

Summary

This command is used to compile all source documents of the focused project.

Access

This command can be accessed by:

  • Right-clicking over the entry for a project in the Projects panel, and choosing the Compile Project command from the context menu.
  • Focusing the entry for a project, or one of its associated documents in the Projects panel, then clicking the  button at the top of the panel.

Use

First, ensure that the project you wish to compile is the focused project in the Projects panel.

After launching the command, the focused project will be compiled.

For a PCB design project, the compilation process performs four functions:

  1. Instantiates the design hierarchy.
  2. Establishes net connectivity between all the design sheets.
  3. Builds an internal Unified Data Model (UDM) of the design.
  4. Checks for logical, electrical and drafting errors between the UDM and compiler settings.

With respect to point 4, any violations that are detected by the Compiler will be listed as warnings and/or errors in the Messages panel.

Tips

  1. An entity in the Projects panel is focused either by clicking on it, or right-clicking on it. To distinguish it as being the focused entry, it appears with a blue border.
  2. The Compiler uses the options defined on the Error Reporting and Connection Matrix tabs of the Options for Project dialog (as applicable to the project type), when checking the source documents for violations.
  3. For a PCB design project, use the Navigator panel to peruse the connectivity model for the compiled source documents. The Projects panel can also be used to browse components and nets for the design.

 

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: