Altium Designer Documentation

Compile Mask

Modified by Susan Riege on Jul 20, 2020
此文档页面引用了不再受支持的产品 Altium Vault, Altium Vault 及其组件管理功能已迁移到 Altium Concord Pro
All Contents

Parent page: Schematic Objects

A placed Compile Mask, hover to collapse.

Summary

A compile mask is a design directive. It is used to effectively hide the area of the design it contains from the Compiler, allowing you to manually prevent error checking for circuitry that may not yet be complete and you know will generated compile errors. This can prove very useful if you need to compile the active document or project to check the integrity of the design in other specific areas, but do not want the clutter of compiler-generated messages associated with unfinished portions of the design.

Availability

Compile masks are available for placement in the Schematic Editor only, by choosing the Place » Directives » Compile Mask command, from the main menus.

Placement

After launching the command, the cursor will change to a cross-hair and you will enter compile mask placement mode. Placement is made by performing the following sequence of actions:

  1. Position the cursor and click or press Enter to anchor the first corner of the mask.
  2. Move the cursor to adjust the size of the mask, such that it completely encapsulates the area of the design that you want hidden from the Compiler, then click or press Enter to anchor the diagonally-opposite corner and thereby complete placement of the mask. Design objects falling completely within the bounds of the mask will become grayed-out.
  3. Continue placing further compile masks, or right-click or press Esc to exit placement mode.
Press the Tab key during placement to access an associated properties dialog, from where properties for the compile mask can be changed on-the-fly.

While attributes can be modified during placement (Tab to bring up associated properties dialog), bear in mind that these will become the default settings for further placement unless the Permanent option on the Schematic – Default Primitives page of the Preferences dialog is enabled. When this option is enabled, changes made will affect only the object being placed and subsequent objects placed during the same placement session.

Graphical Editing

This method of editing allows you to select a placed compile mask object directly in the workspace and change its size, shape or location, graphically.

A compile mask can be displayed in either expanded (full frame) or collapsed (small triangle) modes. These modes correspond to the mask being enabled and disabled respectively. Toggle the display mode by clicking on the top-left corner of a placed compile mask.

Click the triangle in the top-left corner to collapse (and disable) a compile mask.

When a fully expanded compile mask object is selected, the following editing handles are available:

A selected Compile Mask (fully expanded).

  • Click and drag A to resize the compile mask in the vertical and horizontal directions simultaneously.
  • Click and drag B to resize the compile mask in the vertical and horizontal directions separately.
  • Click anywhere on the compile mask – away from editing handles – and drag to reposition it. While dragging, the compile mask can be rotated (Spacebar/Shift+Spacebar) or mirrored (X or Y keys to mirror along the X-axis or Y-axis respectively).

The size and shape of a compile mask cannot be changed graphically when it is in collapsed mode, only its location/orientation. As such, editing handles are not available when a collapsed compile mask object is selected:

A selected Compile Mask (collapsed).

  • Click anywhere inside the dashed box and drag to reposition the compile mask as required. The compile mask can be rotated or mirrored while dragging.

If attempting to graphically modify an object that has its Locked property enabled, a dialog will appear asking for confirmation to proceed with the edit. If the Protect Locked Objects option is enabled on the Schematic – Graphical Editing page of the Preferences dialog, and the Locked option for that design object is enabled as well, then that object cannot be selected or graphically edited. Double click on the locked object directly and disable the Locked property or disable the Protect Locked Objects option, to graphically edit the object.

Non-Graphical Editing

The following methods of non-graphical editing are available:

Via an Associated Properties Dialog

Dialog page: Compile Mask

This method of editing uses the following dialog to modify the properties of a compile mask object.

The Compile Mask dialog.

The Compile Mask dialog can be accessed prior to entering placement mode, from the Schematic – Default Primitives page of the Preferences dialog. This allows the default properties for the compile mask object to be changed, which will be applied when placing subsequent compile masks.

During placement, the dialog can be accessed by pressing the Tab key.

After placement, the dialog can be accessed in one of the following ways:

  • Double-clicking on the placed compile mask object.
  • Placing the cursor over the compile mask object, right-clicking and choosing Properties from the context menu.
  • Using the Edit » Change command and clicking once over the placed compile mask object.

Via the SCH Inspector Panel

Panel pages: SCH Inspector, SCH Filter

The SCH Inspector panel enables the designer to interrogate and edit the properties of one or more design objects in the active document. Used in conjunction with appropriate filtering - by using the SCH Filter panel, or the Find Similar Objects dialog - the panel can be used to make changes to multiple objects of the same kind, from one convenient location.

Via the SCH List Panel

Panel pages: SCH List, SCH Filter

The SCH List panel allows the designer to display design objects from one or more documents in tabular format, enabling quick inspection and modification of object attributes. Used in conjunction with appropriate filtering - by using the SCH Filter panel, or the Find Similar Objects dialog - it enables the display of just those objects falling under the scope of the active filter – allowing the designer to target and edit multiple design objects with greater accuracy and efficiency.

Tips

  1. While compile masks can be rotated or mirrored along the X or Y axis, this has no effect on the orientation of the design circuitry within.

 

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

联系我们

联系原厂或当地办公室

You are reporting an issue with the following selected text
and/or image within the active document:
Altium Designer 免费试用
Altium Designer Free Trial
我们开始吧!首先,您或者您的公司已经在使用Altium Designer了吗?

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

既然您在使用Altium Designer,为何仍需要试用?

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

好的,实际上您无需下载一个试用版本。

点击下方按钮下载最新版本的Altium Designer安装包

下载Altium Designer 安装包

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

填写下方表格,获取Altium Designer最新报价。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

如果您是Altium维保期内客户,您不需要下载试用版本。

如果您不是Altium维保客户,请填写下方表格免费试用。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

您为何想要试用Altium Designer?

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

那您来对地方了!请填写下方表格申请试用吧。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

Great News!

Valid students can get their very own 6-month Altium Designer Student License for FREE! Just fill out the form below to request your Student License today.

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

好的,您可以下载免费的Altium Designer Viewer查看文档,有效期6个月。

请填写下方表格申请。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

好棒!创作是一件超酷的事情,我们可以为您提供完美的设计软件。

Upverter是一个社区导向的交流平台,专为您这样的创客量身定做。

点击这里看看吧!

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

好的,您可以下载免费的Altium Designer Viewer查看文档,有效期6个月。

请填写下方表格申请。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。