Altium NEXUS Documentation

Snippets

Modified by Susan Riege on Dec 5, 2018
All Contents

Parent page: System & Environment Panels


The Snippets panel is the central point for saving, reusing, and managing design Snippets.

Summary

The Snippets panel provides a simple and easy way to save and reuse sections of design circuitry or code. Saved Snippets can be added into any design without having to start from scratch each time. The Snippets system lets you save any selection of:

  • Circuitry on a single schematic sheet.
  • Circuitry in a PCB design, including the components and the routing.
  • Code from within one of Altium NEXUS's code-aware editors.

The Snippets feature is great for those often-used fragments and smaller sections of circuitry that you want to reuse. 

Panel Access

The Snippets panel is accessed by clicking the Panels tab (located on the bottom right-hand side of the main design window), then selecting Snippets from the pop-up menu. You can also access the panel by clicking View » Panels » Snippets.

Snippet Organization

The Snippets panel allows snippets to be organized into folders so that related snippets can be grouped together, making it easier for you to find. There are two types of folders in the Snippets system:

  • Snippets Folders – these are existing Windows folders that can contain both Snippets and one or more sub-folders of Snippets. These top-level folders cannot be created from within the Snippets panel. Instead, they are 'opened' or 'closed' with respect to browsing the Snippets they contain. These folders can only be created directly on your hard disk or network outside of Altium NEXUS.
  • Sub-Folders – these are lower-level folders used to organize snippets in a more logical and structured way. They can be readily created (and deleted) from within the Snippets panel or directly within an existing folder on your hard disk or network.

Adding and Removing Snippets Folders

Top-level snippets folders are opened and closed from the Available Snippets Folders dialog. This dialog is accessed by clicking the Snippets Folders button at the top-right of the Snippets panel or by right-clicking within the panel and choosing Add » Snippets Folder.

Click Open Folder to browse to the required folder on your hard disk or network. The selected folder will be added to the list in the dialog and subsequently appear within the Snippets panel.


To remove a top-level snippets folder from the list (which is essentially closing it from a browsing perspective), select the folder in the list then click Remove Folder. You also can right-click on the folder in the Snippets panel then choose Remove » Close Snippets Folder. Use the Move Up and Move Down buttons to change the order in which the top-level folders will be presented in the Snippets panel.

Adding and Removing Sub-Folders

To add a new sub-folder to the overall Snippets structure, right-click within the Snippets panel then choose Add » Create New Folder. The Folder Properties dialog opens in which you can specify a name for the new folder and determine under which parent folder it is to be created.

A sub-folder can be renamed and moved under a different 'parent' folder at any time by right-clicking on the folder in the Snippets panel then selecting Properties. To delete a sub-folder, right-click on its entry in the panel then choose Remove » Delete Folder.

The recommended way to add, move, or delete sub-folders is from within the Snippets panel so that the change is immediately reflected in the panel. If you add, move, or delete folders using Windows, the update will not be reflected in the panel until you close and restart Altium NEXUS.

Creating Snippets

To store a Snippet in the Snippets panel, select the required circuitry on the schematic or PCB editor or code within a code-aware editor, then right-click and choose Snippets » Create Snippet from selected objects from the context menu. A Snippet can also be created from within the Snippets panel in the following way: with the object(s)/code selected in the editor, right-click in the Snippets panel then choose Create Snippet From Selection.

   Examples of creating a snippet from a schematic and from the Snippets panel.

The Add New Snippet dialog opens in which you can define a name for the snippet, in which folder it should be stored, as well as any descriptive comment that describes the circuit or code fragment.


Define properties of the new snippet as required.

Once saved, the snippet will be created and will be displayed in the Snippets panel. Note that the name, folder location, and comment for a snippet can be changed at any time from the Snippet Properties dialog, which is accessed by right-clicking on the Snippet entry in the panel then choosing Properties from the context menu.

Each snippet is stored in a standard schematic, PCB or code-based (e.g., *.vhd) file. Upon creation, several other files are also created (*.Snippet, *.SnippetIcon, *.SnippetThumbnail). An indexing file is also present for each Snippet folder to keep track of the Snippets it contains.

Placing Snippets

To place a Snippet in a design, select its entry in the Snippets panel and click the Place Snippet button at the top of the panel. You also can right-click on the entry for the Snippet and choose Place Snippet from the context menu.

Placing a Snippet from the Snippets panel.

Ensure you have the correct target document open as the active document before placing the Snippet. The place command/button will only be available if the Snippet can correctly be placed on that document, i.e., the Snippet type and document type must be the same.

Deleting Snippets

To delete a Snippet, right-click on its entry in the Snippets panel then choose Delete Snippet.

To delete all Snippets in a particular folder, right-click on that folder then choose Remove » Clear Folder.

Right-click Menu

Right-click in the Snippets panel to access the following options and commands:

  • Create Snippet From Selection (available when a desired object(s) is selected) - use to store a Snippet in the panel.
  • Place Snippet (available when a snippet is selected) - place the selected snippet in the design workspace.
  • Delete Snippet (available when a snippet is selected) - delete the selected snippet.
  • Add - create a new folder under the parent folder or add an existing Snippets folder to those available in the panel.
  • Remove - clear the contents of a folder or delete the folder itself.
  • Sort - sort the panel's folder/snippet listing By Date, By Document Type, or By Document. Use Show Details and Show Folders to toggle the visibility of the Snippet folders and details.
  • Show Thumbnails - select Snippets to be displayed in thumbnail or icon form. In the icon state, Snippet comments are not displayed in the panel.
  • Properties - opens the Snippet Properties dialog to view or edit the properties of the selected snippet.

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的资讯,并允许其改变您的通知首选项。