设计首选项

您正在阅读的是 23. 版本。关于最新版本,请前往 设计首选项 阅读 22 版本
 

Parent page: Workspace Content Types

Altium Designer, in conjunction with your connected Workspace, provides the ability to create and manage designer preferences (Designer Preferences Items) in that Workspace. Such designer preferences are created through the release of the currently defined preferences, in Altium Designer's Preferences dialog. Once designer preferences have been created (and data released into a revision of it), they can be reused in future board-level design projects.

In addition, a Designer Preferences Item can be used as a configuration data item in one or more defined Environment Configurations. An environment configuration is used to constrain a designer's working environment to only use company-ratified design elements. Environment configurations are defined and stored within the Team Configuration Center – a service provided through the Workspace, and the facilitator of this concept of Environment Configuration Management. For more information, see Environment Configuration Management (Altium 365 Workspace, Enterprise Server Workspace).

In addition, a Designer Preferences Item can be used as a configuration data item in one or more defined Environment Configurations. An environment configuration is used to constrain a designer's Altium NEXUS working environment to only use company-ratified design elements. Environment configurations are defined and stored within the Team Configuration Center – a service provided through the Workspace, and the facilitator of this concept of Environment Configuration Management. For more information, see Environment Configuration Management (for an Altium 365 Workspace or a NEXUS Server Workspace).

Folder Type

When creating the folder in which to store designer preferences, you can specify the folder's type. This has no bearing on the content of the folder – releasing preferences will always result in a Designer Preferences Item. It simply provides a visual 'clue' as to what is stored in a folder and can be beneficial when browsing a Workspace for particular content. To nominate a folder's use as a container for designer preferences, set its Folder Type as Altium Designer Preferences, when defining the folder properties in the Edit Folder dialog.

Specifying the folder type – its intended use – gives a visual indication of the content of that folder when browsing the Workspace.
Specifying the folder type – its intended use – gives a visual indication of the content of that folder when browsing the Workspace.

Content Type

When creating the target Designer Preferences Item in which to store your currently defined software preferences, ensure that its Content Type is set to Altium Designer Preferences, in the Create New Item dialog. If you are creating the Item in an Altium Designer Preferences type folder, this content type will be available from the right-click context menu when creating the Item.

Creating designer preferences within an Altium Designer Preferences folder – the correct Content Type is available on the context menu.
Creating designer preferences within an Altium Designer Preferences folder – the correct Content Type is available on the context menu.

Releasing Preferences

So far, we've discussed the support for designer preferences in the Workspace, in terms of related folder and content types. Releasing your current software preferences into the revision of a Designer Preferences Item can be performed in a streamlined way.

While you can upload a preferences file (*.DXPPref) to a revision of designer preferences – using the Item Revision's right-click Upload command in the Explorer panel – this is not the best method, since you will not have the opportunity to control, on release, how each preference is to be applied when reusing that revision at a later stage. As such, this method will not be explored in this document.

You can save the currently defined preferences for Altium Designer to your Workspace, directly from within the Preferences dialog (click on the control at the top-right of the main design window). Click the drop-down arrow associated to the button at the bottom of the dialog, and choose the Save to server command from the menu. The Choose Item dialog will appear – use this to choose the next planned revision of an existing Designer Preferences Item, or create a new Designer Preferences Item (and initial planned revision) on-the-fly.

Saving the currently defined preferences for your active instance of Altium Designer, to a planned revision of a target Designer Preferences Item, in a Workspace.
Saving the currently defined preferences for your active instance of Altium Designer, to a planned revision of a target Designer Preferences Item, in a Workspace.

After choosing the required target Item Revision, click OK – the Edit Revision dialog will appear, in which you can change Name, Description, and add release notes as required. Clicking OK to proceed will present the Release preferences dialog. This dialog is used to manage the way in which the range of Altium Designer preferences is released to the targeted revision of the designer preferences.

Edit the revision as required, including adding release notes, then proceed to define how the preferences are released, through the Release preferences dialog.
Edit the revision as required, including adding release notes, then proceed to define how the preferences are released, through the Release preferences dialog.

The dialog presents an entry for each of the pages of options found in the Preferences dialog, along with entries for the following range of additional (and useful!) Altium Designer settings:

  • Customizations (under System) – user interface customizations (menus, shortcuts, buttons etc).
  • Item Manager (under System) – Item update settings.
  • Vault Explorer – settings relating to the Explorer panel.
  • View Configurations (under PCB Editor) – layer colors and activation, custom display configurations.
  • Snippets Folders (under PCB Editor) – target folders for design Snippets.
  • LayerStack Manager – settings relating to the Stackup Editor.
  • Material Library – settings related to the materials library, used when defining a layer stackup in the Stackup Editor.

The dialog offers three applicable modes – Apply Modes – for how preferences will be applied to Altium Designer when the revision of the designer preferences is loaded from the Workspace:

  • Apply and Lock – the preferences/settings will be loaded in Altium Designer as read only (uneditable) options. They will return to an editable state when the user is no longer connected to the Workspace.
  • Apply First Time – the preferences/settings will be loaded in Altium Designer as initial settings, which can be edited by the user.
  • Do Not Apply – the preferences/settings will not be loaded in Altium Designer, allowing the existing settings to remain.
The distinction between the two Apply modes (above) is most useful when a revision of a Designer Preferences Item will be added to an Environment Configuration, where the preferences will be automatically applied when a user connects to the Workspace and chooses to use that configuration.
The distinction between the two Apply modes (above) is most useful when a revision of a Designer Preferences Item will be added to an Environment Configuration, where the preferences will be automatically applied when a user connects to the Workspace and chooses to use that configuration.
All of the additional settings, with the exception of Customizations, can only be set to Apply First Time, or Do Not Apply.

The Apply Mode can be defined:

  • For an individual entry, by clicking within the corresponding Apply Mode cell and choosing the required mode from the drop-down menu.
  • For all entries in an expandable section/category, by clicking within the corresponding Apply Mode cell for that section's/category's entry and choosing the required mode from the drop-down menu.
  • For all entries in a single sweep, by using the menu associated to the Apply button, at the bottom-right of the dialog.

The mode in which preferences/settings are released will determine their accessibility when later reusing the revision of the designer preferences.
The mode in which preferences/settings are released will determine their accessibility when later reusing the revision of the designer preferences.

An entry of Custom at a section/category level simply means that the child entries are at differing mode levels.

Once you have defined the modes as required click Import – the release will proceed, with the preferences stored in the revision of the target designer preferences, as seen back in the Explorer panel. The released data stored in the revision consists of configuration settings files for preferences pages, and associated settings files for application look and feel, all tidily contained in a single zip file – preferences.zip.

Browsing the released revision of the targeted designer preferences, back in the Explorer panel.
Browsing the released revision of the targeted designer preferences, back in the Explorer panel.

Reusing Designer Preferences

Once your Altium Designer preferences/settings set has been released to a Workspace, and its lifecycle state set to a level that the organization views as ready for use at the design level, that set of preferences/settings can be reused in future board-level design projects.

When you are connected to your Workspace, you are free to manually reuse the revisions of any designer preferences that have been shared with you. The ability to load preferences stored in a local file (*.DXPPref) also remains available, should you need to use this.

If you do not connect to your Workspace you can still work with Altium Designer (under your valid Altium Designer license), but you will not be able to access that Workspace, or any other services it provides. You will therefore not be able to reuse any Workspace-based designer preferences. You will only be able to use file-based preferences defined locally.

To load a revision of designer preferences from your Workspace to Altium Designer, choose the Load from server command from the Load drop-down menu in the Preferences dialog, and then choose the desired Item Revision through the Choose Item dialog (essentially an incarnation of the Explorer panel).

Manually choosing a revision of designer preferences, whose defined preferences/settings are to be applied to Altium Designer.
Manually choosing a revision of designer preferences, whose defined preferences/settings are to be applied to Altium Designer.

After clicking OK, the Load preferences from Vault dialog will appear. The dialog reflects the exact setup that you defined for each preferences/settings entry – through the Release preferences dialog – when the revision was released.

Check, and adjust if necessary, the preferences/settings that will be loaded from the Workspace, using the Load preferences from Vault dialog.
Check, and adjust if necessary, the preferences/settings that will be loaded from the Workspace, using the Load preferences from Vault dialog.

  • – entity is either set to Apply and Lock or Apply First Time.
  • – entity is set to Do Not Apply.
The icon simply reflects the custom nature of a section/category (the child entries are at differing Apply mode levels).

Click Import to have the preferences, as defined in the Item Revision, applied to your instance of Altium Designer. Should you wish, you can make changes – overriding on-the-fly – by toggling the Apply state for an entity. Note that if you enable an entity that was set as Do Not Apply, it will become Apply First Time.

The preferences will load with a dialog indicating progress. A final dialog will appear after the process is finished, alerting you to the fact you may need to restart Altium Designer for changes to menus, toolbars, or locale to take effect.

A Preferences page set to Apply and Lock during the release, in the Release preferences dialog, will be set to read-only when the revision of the designer preferences is loaded in Altium Designer. This is indicated by the symbol displayed at the top-right of the page, and also the symbol to the right of the page's entry in the main tree (at the left of the Preferences dialog).

Preferences that have been released as Apply and Lock will be read-only for the current session when reloaded in Altium Designer.
Preferences that have been released as Apply and Lock will be read-only for the current session when reloaded in Altium Designer.

Such pages will remain locked while the user is connected to the Workspace, for only that session.

Preferences that were set to Do Not Apply during release are unaltered in Altium Designer when the preferences are loaded.

Reuse as Part of an Environment Configuration

A released preferences set can also be used as a configuration data item in one or more defined Environment Configurations. An environment configuration is used to constrain a designer's working environment to only use company-ratified design elements. Environment configurations are defined and stored within the Team Configuration Center – a service provided through the Workspace.

Once you have connected to the Workspace, and chosen (if applicable) from the selection of environment configurations available to you, Altium Designer will be configured, with respect to use of preferences. If the chosen environment configuration has a defined Designer Preferences Item revision, then that is applied straight away. If the chosen environment configuration applicable to you does not have a Designer Preferences Item revision specified, then preferences will remain manually definable. In other words, you are free to manually reuse a revision of a Designer Preferences Item, or use a locally saved preferences file. For more information, see Environment Configuration Management ( Altium 365 Workspace, Enterprise Server Workspace).

Under the enforcement of an environment configuration that includes a revision of a Designer Preferences Item, Altium Designer’s existing preferences settings will be replaced by those enabled in that revision – those that were set to Apply First Time, or Apply and Lock. Preferences that were set to Do Not Apply are left unaltered when the configuration is applied and the preferences loaded.

If preferences were set to Apply First Time when originally released to the Item revision in the Workspace, they will only be applied once when those preferences are subsequently loaded in Altium Designer. When the connected user then changes those preference options, they will not be overwritten the next time the user connected to the Workspace.
Note that the preferences management menus (at the bottom of the Preferences dialog) are disabled, with the exception of the Save commands.

 

Reuse as Part of an Environment Configuration

A released preferences set can also be used as a configuration data item in one or more defined Environment Configurations. An environment configuration is used to constrain a designer's Altium NEXUS working environment to only use company-ratified design elements. Environment configurations are defined and stored within the Team Configuration Center – a service provided through the Workspace.

Once you have connected to the Workspace, and chosen (if applicable) from the selection of environment configurations available to you, Altium NEXUS will be configured, with respect to use of preferences. If the chosen environment configuration has a defined Designer Preferences Item revision, then that is applied straight away. If the chosen environment configuration applicable to you does not have a Designer Preferences Item revision specified, then preferences will remain manually definable. In other words, you are free to manually reuse a revision of a Designer Preferences Item, or use a locally saved preferences file. For more information, see Environment Configuration Management (for an Altium 365 Workspace or a NEXUS Server Workspace).

Under the enforcement of an environment configuration that includes a revision of a Designer Preferences Item, Altium NEXUS’s existing preferences settings will be replaced by those enabled in that revision – those that were set to Apply First Time, or Apply and Lock. Preferences that were set to Do Not Apply are left unaltered when the configuration is applied and the preferences loaded.

If preferences were set to Apply First Time when originally released to the Item revision in the Workspace, they will only be applied once when those preferences are subsequently loaded in Altium NEXUS. When the connected user then changes those preference options, they will not be overwritten the next time the user connected to the Workspace.
Note that the preferences management menus (at the bottom of the Preferences dialog) are disabled, with the exception of the Save commands.

Updating Designer Preferences

If you need to change the preferences set stored in a Designer Preferences Item, make changes to the active preferences as required, then save those preferences to the next planned revision of that Item.

Downloading a Preferences File

Download the Preferences zip file (preferences.zip) stored in a revision of a Designer Preferences Item, by right-clicking on that revision and choosing the Operations » Download command from the context menu. The file will be downloaded into a sub-folder under the chosen directory, named using the Item Revision ID. The file can be found in the Released folder therein. The zip includes:

  • A configuration settings file (*.ini) for each preferences page whose Apply Mode (on release of the revision) was set to Apply First Time, or Apply and Lock.
  • Files relating to any of the additional settings whose Apply Mode (on release of the revision) was set to Apply First Time. These could include, for example:
    • Object defaults (ADVPCB.DFT, Sch_DefPrimitives.dft, Sch_DefPrimitives.MMsdft, PcbDrawing_Primitives.xml)
    • 2D and 3D view configuration files (*.config_2dsimple, *.config_3d)
    • PCB Color templates (*.PCBSysColors)
    • DXP.RAF
    • DXP.RCS
    • UserTools.TLT
Access the Download command from the top-level entry for a Designer Preferences Item itself, to download the preferences file stored in the latest revision of that Item.
Click the Explore button in the Download from Server dialog, to quickly explore to the download folder.

Soft Deletion

When connected to a Workspace, flexible functionality is available for removing designer preferences directly from within Altium Designer, from the Explorer panel. Right-click on the designer preferences' entry in the panel and choose the Delete Item command from the context menu. The Delete Items dialog will appear, in which to confirm the deletion. The action is actually a 'soft delete', whereby the designer preferences will be moved into the Trash area of the Workspace. The Trash is essentially a recycle bin into which any content within your Workspace can be moved (through a soft delete action). It is isolated from the rest of the Workspace.

With the soft-delete facility, you are able to delete preferences that are currently being used.
Multiple Designer Preferences Items can be deleted in a single action. Select all required Items using standard multi-select controls (Shift+Click, Ctrl+Click), then right-click and choose the Delete Items command from the context menu.

Soft deletion of a Designer Preferences Item. The Item will be moved to the Workspace's Trash area.
Soft deletion of a Designer Preferences Item. The Item will be moved to the Workspace's Trash area.

To proceed with the deletion, click the button. Designer preferences will be removed and a Deletion Summary dialog will confirm successful deletion. If there was an issue with deletion, this will be flagged to you.

All content deleted in this manner can be found on the Trash page of the Workspace's browser interface. Note that you can only view content that you have personally soft deleted. Administrators will be able to see the full content of the Trash page – so all content that has been soft deleted.

Things to consider in relation to soft deleted designer preferences:

  • The designer preferences will not be available from your design software, or from within the Web interface.
  • Anywhere the designer preferences were being used will reflect that the preferences have been deleted.
  • Designer preferences can be restored, or permanently deleted from the Trash page, provided you have editing rights. Permanent deletion is only possible provided it is not being used by a parent item.
Note that if you have soft deleted designer preferences – moving it to the Trash – you can create new designer preferences with that same name again. If you were to subsequently restore the original designer preferences, and the original name is taken, an integer suffix will be used, to keep its name unique within the Workspace.
If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.

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

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

Content