Client_Dlg-AddDocDataItemFormAdd New Snippet_AD

This document is no longer available beyond version 22. Information can now be found here: Creating Snippets for version 25

The Add New Snippet dialog
The Add New Snippet dialog

Summary

The Add New Snippet dialog allows you to add new snippets (design segments) to a Snippets Examples Windows folder for later use in other designs. Once saved, the snippet will be created and subsequently 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 – accessed by right-clicking on the Snippet entry in the Snippets 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.

Access

This dialog can be accessed in the following ways:

  • With a sub-circuit selected in the PCB document, right-click then select Snippets » Create Snippet from union.
  • With an object selected in the schematic, right-click then select Snippets » Create Snippet from selected objects.
  • From the Snippets panel, right-click and select Create Snippet From Selection.

To access the Snippets panel, the UI.DesignReuse option in the Advanced Settings dialog must be disabled. The Advanced Settings dialog is accessed by clicking the Advanced button on the System – General page of the Preferences dialog. If any changes are made in the Advanced Settings dialog, the software must be restarted in order for the changes to take effect.

When the UI.DesignReuse option is enabled, the Design Reuse panel is used for accessing and managing the snippets. As such, the Add New Snippet dialog will not be accessible when the option is enabled.

Options/Controls

  • Name - use this text box to enter a name for the newly added snippet.
  • Create in - specifies the default folder ("Snippets Examples") for the new snippet. A child folder with the name you created using the New Folder button wiil also appear.
  • New Folder - use this button to open the Folder Properties dialog and create a child folder for the snippets under Snippets Examples.
  • Comment - use this text box to include a meaningful comment for the new snippet.
If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.

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

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