设计首选项

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

Parent page: Server Items

Altium Designer, in conjunction with your managed content server, caters for the ability to create and manage Designer Preferences Items in that server. Such Items are created through release of the currently defined preferences, in Altium Designer's Preferences dialog. Once a Preferences Item has been created (and data released into a revision of it), and its lifecycle state set to a level that the organization views as ready for use at the design level, it c an be reused in future board-level design projects.

In addition, a managed 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 NEXUS Server installation, and the facilitator of this concept of Environment Configuration Management.

Folder Type

When creating the folder in which to store a Designer Preferences Item, 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 server for particular content. To nominate a folder's use as a container for Designer Preferences Items, 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 server.
Specifying the folder type - its intended use - gives a visual indication of the content of that folder when browsing the server.

Item 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 Item type will be available from the right-click context menu when creating the Item.

Creating a Designer Preferences Item within an Altium Designer Preferences folder - the correct Content Type is available on the context menu.
Creating a Designer Preferences Item 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 a Designer Preferences Item in the server, in terms of related folder and item types. Releasing your current software preferences into the revision of such an item can be performed in a streamlined way.

While you can upload a preferences file (*.DXPPref) to a revision of a Designer Preferences Item - 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 managed content server, 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 managed content server.Saving the currently defined preferences for your active instance of Altium Designer, to a planned revision of a target Designer Preferences Item, in a managed content server.

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 are released to the targeted revision of the Designer Preferences Item.

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 managed Designer Preferences Item is loaded from the server:

  • 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 signed in to the server.
  • 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 managed Designer Preferences Item will be added to an Environment Configuration, where the preferences will be automatically applied when a user signs in to the server, 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 managed Designer Preferences Item.

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 Item, 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 Item, back in the Explorer panel.Browsing the released revision of the targeted Designer Preferences Item, back in the Explorer panel.

Reusing a Managed Designer Preferences Item

Once your Altium Designer preferences/settings set has been released to a managed content server, 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 signed in to your managed content server, you are free to manually reuse the revisions of any Designer Preferences Items 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 sign in to your managed content server you can still work with Altium Designer (under your valid Altium Designer License), but you will not be able to access that server, or any other services it provides. You will therefore not be able to reuse any managed Designer Preferences Items. You will only be able to use file-based preferences defined locally.

To load a revision of a managed Designer Preferences Item from your managed content server 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 a Designer Preferences Item, whose defined preferences/settings are to be applied to Altium Designer.Manually choosing a revision of a Designer Preferences Item, 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 server,
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 managed Designer Preferences Item 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 signed in to the server, 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 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 NEXUS Server installation.

Once you have signed in to the NEXUS Server, 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 managed Designer Preferences Item, or use a locally saved preferences file. For more information, see Environment Configuration Management.

Under the enforcement of an environment configuration that includes a revision of a managed 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 managed preferences loaded.

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

Updating a Designer Preferences Item

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 using an Altium 365 Workspace as your managed content server, flexible functionality is available for removing a Designer Preferences Item directly from within Altium Designer, from the Explorer panel. Right-click on the Item's 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 Item will be moved into the Trash area of the Workspace. The Trash is essentially a recycle bin into which any managed item 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 an item that is 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. The item 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 items deleted in this manner can be found on the Trash page of the Workspace's browser interface. Note that you can only view items that you have personally soft deleted. Administrators will be able to see the full content of the Trash page - so all items that have been soft deleted.

Things to consider in relation to a soft deleted item:

  • The item will not be available from your design software, or from within the Web interface.
  • Anywhere the item was being used will reflect that the item has been deleted.
  • An item 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 an item - moving it to the Trash - you can create a new item with that same name again. If you were to subsequently restore the original item, 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