Parent page: Design Reuse
Being able to re-use design content is something that all product development companies want, and can greatly benefit from. Not only does reuse save time, being able to easily reuse a section of a previous design means that all the qualification and testing of that part of the design is done. Design reuse is much more than copy and paste, though, true reuse requires the content to be locked down so you're guaranteed that it is the same as before. No quick edits to change the color of a component or a tweak to a resistor value, working with reusable content must be like working with off-the-shelf components; place the content, wire it in, and it works just like it did last time.
Altium NEXUS, in conjunction with a connected Workspace, caters for the ability to create managed schematic sheets (Managed Schematic Sheet Items) in that Workspace. Such sheets can be created:
- Through Direct Editing.
- Through saving of the current schematic sheet to the Workspace.
- By uploading the relevant schematic document (
*.SchDoc
) to a revision of a target managed schematic sheet.
Once a managed schematic sheet has been created (and data saved into a revision of it), it can be reused in future board-level design projects.
Just What is a Managed Schematic Sheet?
A managed schematic sheet is a standard Altium NEXUS schematic sheet containing components and wiring, that has been stored in a Workspace, so it can be reused in other designs. It is edited like any other schematic sheet. The managed schematic sheet concept is not limited to a single schematic sheet either, you can place a managed schematic sheet in your design that is the top of a tree of other managed schematic sheets.
Managed schematic sheets differ from device sheets in that they are stored in a Workspace, where device sheets are stored in a folder on a hard drive. As such, managed sheets enjoy the benefits attributed to Workspace content, including simplified storage and enforced version control, and of course secured integrity.
► See information about locally managed Device Sheets.
The decision to move from device sheets to managed schematic sheets comes when there is a desire to make the transition from reusable content to Workspace reusable content – that is, when there is a desire or need to be able to control the release of that design content and provide a single source of this content for the entire team.
By making it Workspace content you can be sure that the revision of a managed schematic sheet that you use in a design can be easily identified and traced back to its source whenever needed. And because it is Workspace content it can be revised and updated when needed, and the usage relationships can all be traced – both down to the components on that sheet, and up to the designs that use that sheet. This ensures you have all the information needed to decide if that revised sheet must be pushed through to existing designs, or if a particular design must continue to use the previous revision.
Folder Type
When creating the folder in which to store managed schematic sheets, you can specify the folder's type. This has no bearing on the content of the folder – saving a schematic sheet will always result in a corresponding Managed Schematic Sheet 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 managed schematic sheets, set its Folder Type as Managed Schematic Sheets
, 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.
Item Naming Scheme
Another important aspect of the parent folder is the Item Naming Scheme employed for it. This defines the format of the unique ID for each Item created in that particular folder. Several default example schemes are available, utilizing the short-form code for either the folder type (SSC
– Schematic Sheet Collection) or the content type (SCH
– Schematic Document):
$CONTENT_TYPE_CODE-001-{0000}
– for example, SCH-001-0001
.
$CONTENT_TYPE_CODE-001-{A00}
– for example, SCH-001-A01
.
$FOLDER_TYPE_CODE-001-{0000}
– for example, SSC-001-0001
.
$FOLDER_TYPE_CODE-001-{A000}
– for example, SSC-001-A001
.
Using a default naming scheme, the software will automatically assign the next available unique ID, based on that scheme, having scanned the entire Workspace and identifiers of existing content. This can be a great time-saver when manually creating managed schematic sheets.
A custom scheme can also be defined for a folder, simply by typing it within the field, ensuring that the variable portion is enclosed in curly braces (e.g. SHEET
-001-{0000}
).
The Item Naming Scheme of the parent folder is applied to the Unique ID for each Item created within that folder.
The Item Naming Scheme employed for the parent folder can be changed at any time. The modified scheme will then be applied to any subsequent newly-created content within that folder.
Content Type
When creating a target Managed Schematic Sheet Item in which to store your schematic sheet, ensure that its Content Type is set to Managed Schematic Sheet
, in the Create New Item dialog. If you are creating the Item in a Managed Schematic Sheets
type folder, this content type will be available from the right-click context menu when creating the Item.
Creating a managed schematic sheet within a Managed Schematic Sheets
folder – the correct Content Type is available on the context menu.
Item Lifecycle Definition and Revision Naming
When defining a managed schematic sheet, be sure to specify the type of lifecycle management to be used for the sheet, and the naming scheme employed for its revisions, respectively.
Control over which content types can use a particular lifecycle definition or revision naming scheme can be defined and enabled at a global level from within the Content Types dialog when defining each schema. The default schemes assigned for use by a managed schematic sheet are: Generic Lifecycle
and 1-Level Revision Scheme
, respectively.
Once a template definition has been saved into the initial revision of a Managed Schematic Sheet Item, these schemes cannot be changed for that particular Item.
Specify the required schemes in the Create New Item dialog, using the Lifecycle Definition and Revision Naming Scheme fields respectively.
If the option to control use of lifecycle definitions and revision naming schemes per content type is enabled for any definitions/schemes, and the Managed Schematic Sheet content type is not set to use a particular definition/scheme, then that definition/scheme will not be available in the applicable drop-down list.
Selecting the Lifecycle Definition and Revision Naming schemes for a manually created managed schematic sheet.
Observing standard revision naming schemes and lifecycle definitions, across the various types of design content in a Workspace ensures smooth, consistent management of this content.
It is a good idea to add a Name and Description as part of the managed schematic sheet's definition. This information is used when searching the Workspace and enables quick identification of what a managed schematic sheet offers.
Saving a Schematic Sheet
Related page: Creating and Editing Content Directly through a Workspace
So far, we've discussed the support for a managed schematic sheet in the Workspace, in terms of related folder and content types. Saving an actual defined schematic sheet into a revision of such a Managed Schematic Sheet Item can be performed in a couple of ways, as outlined in the below sections.
To assist with the smooth reuse of Managed Sheets in your designs, it is highly recommended that the schematic sheet is manually annotated (Tools » Annotation » Annotate Schematics) prior to being saved as a Managed Sheet. When a design using Managed Sheets is complete, all of the sheets and components can be renumbered across the project.
► See the Annotating Components and Sheets section below for information.
Direct Editing
A schematic sheet can be edited and saved into the initial revision of a newly-created Managed Schematic Sheet Item, courtesy of the Workspace's support for direct editing. Direct editing frees you from the shackles of separate version-controlled source data. You can simply edit a supported content type using a temporary editor loaded with the latest source direct from the Workspace itself. And once editing is complete, the entity is saved (or re-saved) into a subsequent planned revision of its parent Item, and the temporary editor closed. There are no files on your hard drive, no questioning whether you are working with the correct or latest source, and no having to maintain separate version control software. The Workspace handles it all, with great integrity, and in a manner that greatly expedites changes to your data.
When you create a Managed Schematic Sheet Item, you have the option to edit and save a schematic sheet into the initial revision of that Item, after creation. To do so, enable the option Open for editing after creation, at the bottom of the Create New Item dialog (which is enabled by default). The Item will be created and the temporary Schematic Editor will open, presenting a .SchDoc
document as the active document in the main design window. This document will be named according to the Item-Revision, in the format: <Item><Revision>.SchDoc
(e.g. SCH-0007-1.SchDoc
).
If your Workspace has at least one saved
Schematic Template, the
Select configuration item (Schematic Templates) dialog will appear. Use this to choose which template is to be applied to the schematic document.
Example of editing the initial revision of a managed schematic sheet, directly from the Workspace – the temporary Schematic Editor provides the document with which to define your schematic sheet.
Use the document to define the schematic sheet as required. Because managed schematic sheets are stored in a Workspace, the components on them should also be stored in the Workspace. That way, you get the full benefit of the content system that the Workspace provides, including being able to identify and locate all the components used on the managed schematic sheet (the children), and also being able to identify and locate which designs the managed schematic sheet has been used in (where-used). For more information see Component Management with a Connected Workspace.
The ability to use Workspace components to build larger design building blocks enables the design-flow to become ever-more streamlined, and at a higher level of abstraction. The designer, just like picking parts off a shelf, reuses these managed schematic sheets of design functionality as constituent components of the bigger design project. And the more managed schematic sheets of such circuitry that have been created and saved into the Workspace, the more functionality the designer has access to, which in turn boosts productivity for subsequent designs.
Considerations when Creating a Managed Schematic Sheet
When it comes to the design of a managed schematic sheet, the application of tuned standards not only aid in readability of the sheet but bring a strong level of design consistency and uniformity. So not only a consistency presentation-wise but also adherence to certain best-practice design principles. The following sections take a closer look at a suggested naming convention for managed schematic sheets, as well as some of the key standards that might be followed in their design.
Naming Convention
In terms of naming, one suggestion is that each managed schematic sheet is named according to the primary, or key component that it features. This name is the part's order code (the code used when ordering it from a vendor). Example managed schematic sheet file names might be:
MAX3062EEKA.SchDoc
– featuring a MAX3062EEKA 20Mbps RS-485 Transceiver, from Maxim.
BMP085.SchDoc
– featuring a BMP085 Digital Barometric Pressure Sensor, from Bosch.
RTL8201CL.SchDoc
– featuring an RTL8201CL Single-Port 10/100M Fast Ethernet PHYceiver, from Realtek.
The sheet title can be used to concisely describe the functionality of the circuit captured by the sheet. Typically, the key component name will also be included in this title.
Example managed schematic sheet, featuring a BMP085 component.
Design Standards
When it comes to populating a blank schematic sheet, designers are rather chef-like in nature – each having their own signature way of doing things. Presentation-wise, for example, different designers will adopt different styles, layout preferences, use of color, and so on. After all, if all designers across the planet presented schematic circuitry in the exact same fashion, the design world would take on a mundane, monochromatic-like appearance! The key is to adopt a method of capture and presentation that is consistent across your own design teams.
Now, in saying that, there are some key design principles that, when adopted, really do aid not only the consistency of the managed schematic sheets produced, but are fundamental to the concept of design for reuse itself. The following are some suggested principles:
- Each managed schematic sheet features a single or small group of key components focusing on a specific function.
- All possible supporting circuitry will be included in the sheet.
- Parts of the design that can be configured in multiple ways can be refactored to parent or sub-sheet within reason, allowing the sub-sheet behavior to be configured from the parent without adding unnecessary structural overhead.
- Multi-purpose signals are passed to parent sheets using reasonable and generic signal naming, allowing them to be re-mapped to their specific purpose.
- Ensure readability of the single standalone managed schematic sheet is preserved, while allowing a designer to easily understand how it would be implemented as an element in their design.
- Use of consistent naming, presentation and design standards.
In terms of designing for reuse, the following suggested items are particularly relevant and important to capture at the managed schematic sheet level:
- The use of signal harnesses where possible, since the standard harness is itself a reusable design element.
- No labeling of local nets – so avoiding the use of Net Labels – since doing so actually makes it harder to manage connectivity through the design in which the managed schematic sheet is used. The most common exception to this, however, is the requirement of such labeling when creating buses.
- All power ports connected to a port sheet interface and passed to the parent sheet – local power ports are avoided to prevent confusion.
- Port direction and I/O type is strictly set according to the signal direction with the exception of Power nets (these will be
unspecified
). Where signal direction is not specified, Bidirectional
is used.
- Using a standard set of signal names, using generic names where possible (e.g.
5V0
instead of 5.0V
/5V
/5Volts
). There is a certain degree of flexibility here as well, since connections are explicit through the use of strict hierarchy across all design projects. This allows names to be defined differently for any two connected objects, at different levels of the design hierarchy, because their connection is explicit.
- Using a standard set of sheet-level parameters.
Another suggested addition to a managed schematic sheet is that of a section to highlight the key component on the sheet, in terms of its manufacturer, and an at-a-glance listing of its key features. This can prove invaluable to a designer when assessing its merit for inclusion into a new design.
Features of the key component listed alongside the design circuitry.
There are three relevant controls when direct editing, readily available from the Quick Access Bar (at the top-left of the main application window), or from the Schematic Standard toolbar:
- – Save Active Document. Use this button to locally save any changes made to the document. This allows you to save current changes, should you wish to come back at a later stage to make further changes before ultimately saving to the Workspace.
-
/ – Save to Workspace. Use this button to save the defined schematic sheet to the Workspace, storing it within the initial (planned) revision of the target Managed Schematic Sheet Item. The Edit Revision dialog will appear, in which you can change Name, Description, and add release notes as required. The document and editor will close after the save. The document containing the source schematic sheet (*.SchDoc
) will be stored in the revision of the Item.
A
Save to Server control is also conveniently provided to the right of the schematic sheet's entry, within the
Projects panel itself.
- / – Discard Local Changes. Use this button if you wish to cancel editing and discard any changes made. The document and editor will close, and nothing will be saved to the target Managed Schematic Sheet Item.
These controls are also available as commands – Save (Shortcut: Ctrl+S), Save to Server (Shortcut: Ctrl+Alt+S), and Discard Local Changes – from the main File menu and from the right-click menu of the schematic sheet's entry in the Projects panel.
The saved data stored in the Workspace consists of the source schematic sheet, defined in the Schematic Document file (<Item><Revision>.SchDoc
), as well as any associated harness definition files (*.Harness
). In the Explorer panel, switch to the Preview aspect view tab to see a graphical representation of the sheet, along with a listing of its constituent components (and managed schematic sheet template if applicable).
Click on the hyperlink entry for a child Component Item Revision to cross-probe to it in the Explorer panel. The Child Items area also provides a right-click context menu with commands for working with a child Component Item Revision.
Browse the saved revision of the managed schematic sheet, back in the Explorer panel. Switch to the Preview aspect view tab to see a graphical representation, and a listing of the child component revisions.
The child components used on the sheet can also be browsed from the Children aspect view tab. Double-click an entry to cross-probe, right-click to access a set of component-related commands.
Browse the constituent components on the managed schematic sheet, through the Children aspect view.
Saving an Existing Sheet to the Workspace
While direct editing is the preferred approach for most design content that can be stored in a Workspace, when it comes to existing schematic sheets (or device sheets for that matter), you also have the ability to save a sheet directly to the Workspace. This requires that you have a planned revision of an existing Managed Schematic Sheet Item, into which the sheet will be saved. The process is as follows:
- Create a new Managed Schematic Sheet Item and initial planned revision, or have a planned revision of another existing Item, as required.
- Open the schematic sheet, or device sheet, within Altium NEXUS.
- Choose the File » Save as Managed Sheet to Server command from the main menus.
-
The Choose Planned Item Revision dialog will appear. Use this to choose the target revision of the required Managed Schematic Sheet Item (which must be in the Planned
state), then click OK.
If the target Managed Schematic Sheet Item doesn't exist, you can create it through the Choose Planned Item Revision dialog on-the-fly. If doing so, be sure to disable the Open for editing after creation option (in the Create New Item dialog), otherwise, you'll enter direct editing mode.
- The Edit Revision dialog will appear, in which you can change Name, Description, and add release notes as required.
- After clicking OK, the sheet will be saved and stored in the revision of the Item.
Example of sending an existing device sheet to the Workspace to which you are actively connected. The saving must be to an existing revision of a managed schematic sheet, and that revision must be in the Planned
state.
Uploading a Schematic Sheet
You can also upload a schematic sheet into the revision of a Managed Schematic Sheet Item. This can be performed in a couple of ways.
Upload Menu
A schematic sheet can be uploaded by right-clicking on the required Managed Schematic Sheet Item in the Explorer panel, and choosing the Upload command from the context menu. The Create New Revision dialog will appear, in which you can change Name, Description, and add release notes as required. Use the Sources region of the dialog to load the required schematic sheet. This can be performed by dragging and dropping the file from Windows Explorer, onto the region. Alternatively, click the button – the Add Files dialog (a standard Windows open-type dialog) will appear. Use this to browse to, and open, the required file (*.SchDoc
).
If the Item has no planned revision, upload will be to the next planned revision, created on-the-fly as part of the upload process.
Manually specifying the schematic sheet to be uploaded to the target Managed Schematic Sheet Item.
Once the desired sheet is dropped in, or selected and the Open button clicked, an entry for it will appear back in the Sources region. Proceed with the upload by clicking the OK button. The uploaded sheet will be available on the Preview aspect view tab for the Item Revision, in the Explorer panel.
The uploaded sheet can be viewed on the Preview aspect view tab for the revision of the managed schematic sheet, along with a listing of its child Items.
Drag and Drop from Windows Explorer
A schematic sheet can also be uploaded by dragging the selected file from a source folder in your Windows Explorer, and dropping it onto the required target Managed Schematic Sheet Item in the Explorer panel. The Create New Revision dialog will appear, with the dragged file listed in the Sources region. Modify Name (which will be the file name, including extension) and Description (which will be in the format Uploaded from <FileNameandPath>, Size <FileSize>, Created on <FileCreationDate>
), and add any Release Notes as required, and then click the OK button.
If the existing Managed Schematic Sheet Item has no planned revision, upload will be to the next planned revision, created on-the-fly as part of the upload process. If you drop the dragged file away from an existing Item, a new Managed Schematic Sheet Item will be created. The
Create New Item dialog will appear. The
Name of the item will be the file name, including extension. The
Description will be in the format
Uploaded from <FileNameandPath>, Size <FileSize>, Created on <FileCreationDate>
. Change these as required. The
Item ID will be in accordance with the Item Naming scheme defined at the folder level. If the folder has no naming scheme defined, naming will follow the
$CONTENT_TYPE_CODE-001-{0000}
scheme.
Uploading a schematic sheet using the drag and drop method.
Reusing a Managed Schematic Sheet
Related pages: Management of Projects, Controlling Access to Workspace Content
Once a schematic sheet has been saved to a Workspace, and its lifecycle state set to a level that the organization views as ready for use at the design level, that sheet can be reused in future board-level design projects. And keeping to the use of the Workspace as the source of all content in and for a design, it is good practice to reuse your managed schematic sheet content in Workspace Projects – which themselves are under the Workspace's wing.
Using
controlled access to Workspace content, in conjunction with suitable lifecycle schema, authorized personnel (librarians, senior design management) can ratify, and make available, only those managed sheets that are to be used in designs. This allows the designer to design away, reassured that they are using only those sheets of reusable design circuitry authorized to be used.
It is the way you include a managed schematic sheet in the current design that lets Altium NEXUS know it is not a regular schematic sheet. You add a regular schematic to your project via the File menu, whereas you add a managed schematic sheet to your project by placing it from the Workspace. Placement is performed from Altium NEXUS's Explorer panel.
Prior to Placement...
Placing a managed schematic sheet truly is simplicity itself. But before you do anything, there are a couple of points to note:
- A managed schematic sheet's sheet symbol cannot be placed onto a free schematic, the target sheet must be part of a project.
- Ensure that the schematic sheet that is to receive the associated sheet symbol is open in Altium NEXUS and is the active document. If documents are open across multiple windows, ensure also that the window containing that active schematic document has focus.
When working with Altium NEXUS across multiple windows, if the Explorer panel is docked in any mode to a window without the target schematic in it, the Place command will remain grayed-out. This is because clicking within a docked panel focuses the window to which that panel is attached. With the panel floating, however, the required Altium NEXUS window can be focused (the one with the active target schematic), and that window will keep focus when working inside the panel.
Placement
To place from the Explorer panel:
- Browse or search for the managed schematic sheet you wish to place.
- Right-click on the specific revision of the managed schematic sheet required (typically the latest, in which case just right-click directly on the top-level Item entry).
- Choose the Place command.
A sheet symbol that references the sheet will float attached to the cursor – just pick a ball-park spot on the active schematic sheet and click to effect placement. You can fine-tune and nudge it into its final location at a later stage.
As you place the sheet symbol, Altium NEXUS copies the managed sheet that the symbol represents, from the Workspace into the project folder, within a sub-folder called \Managed\Sheets
. A copy of each managed sheet is stored here, each within its own sub-folder identified by a system-generated unique identifier (GUID).
The GUID-named sub-folder in which the instance of the managed schematic sheet is downloaded and stored must not be edited/renamed in any way.
Placement of a managed schematic sheet. Right-click on the desired Item Revision and choose the Place command – a sheet symbol representing the managed schematic sheet is available on the cursor for placement into the design.
Drag and Drop from the Explorer Panel
For more express placement of your managed schematic sheets from the Explorer panel, Altium NEXUS provides the ability to drag & drop revisions of managed schematic sheets directly onto the active schematic document.
Browse your Workspace for the required managed schematic sheet to be placed. Placement involves a specific revision of its Item, so be sure to expand the main Item entry to list all of its available revisions. Then click on the required revision and drag an instance of it onto the schematic sheet.
You may need to disable the
Show only latest option for the
Explorer panel's Items view. Click the
control (at the top-right of the panel) to access this option.
Drag and drop the top-level entry for a managed schematic sheet itself, to place an instance of the latest revision of that sheet.
Re-Saving a Managed Schematic Sheet
At any stage, you can come back to any revision of a managed schematic sheet in the Workspace, and edit it directly. Right-click on the revision and choose the Edit command from the context menu. Once again, the temporary editor will open, with the schematic sheet contained in the revision opened for editing. Make changes as required, then save the document into the next revision of the managed schematic sheet.
Right-clicking on the top-level entry for a managed schematic sheet itself will edit the latest revision of that sheet.
Accessing the command to launch direct editing of an existing revision of a managed schematic sheet.
Updating a Managed Schematic Sheet
If you need to change the schematic sheet stored in a Managed Schematic Sheet Item, and you have the updated sheet, you can upload that sheet to that Item – the new sheet will be stored in the next revision of that Item.
Downloading Saved Data
Download the data stored in a revision of a managed schematic sheet by right-clicking on that revision and choosing the Operations » Download command from the context menu. The applicable file(s) 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.
Access the Download command from the top-level entry for a managed schematic sheet itself, to download the applicable file(s) stored in the latest revision of that sheet.
Click the Explore button in the Download from Server dialog, to quickly explore to the download folder.
Annotating the Components and Sheets
To guarantee the integrity of the circuitry used in a Managed Sheet, that sheet cannot be edited during normal design use. That means the sheet number and designator assignments cannot be modified on the sheet. So just how do you number all the sheets in the project and annotate all of the components?
These tasks are managed by two commands: sheets are numbered using the Tools » Annotation » Annotate Compiled Sheets command and components are annotated using the Tools » Annotation » Board Level Annotate command. Sheet number and designator assignments are stored in a separate file, <ProjectName>*.annotation
.
The component annotation tools need to know the order that the schematic sheets are to be processed. For this reason, it is better to number the sheets before numbering the components.
The Annotating Components and Sheets principles are the same as when using local Device Sheets. For more information on annotating designs that include Managed Sheets, see the following sections on the Device Sheets page:
Soft Deletion
When connected to a Workspace, flexible functionality is available for removing a managed schematic sheet directly from within Altium NEXUS, from the Explorer panel. Right-click on the sheet'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 managed schematic sheet 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 a managed schematic sheet that is currently being used.
Multiple managed schematic sheets can be deleted in a single action. Select all required sheets 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 managed schematic sheet. The sheet will be moved to the Workspace's Trash area.
To proceed with the deletion, click the button. The managed schematic sheet 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 the 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 a soft deleted managed schematic sheet:
- The managed schematic sheet will not be available from your design software, or from within the Web interface.
- Anywhere the managed schematic sheet was being used will reflect that the managed schematic sheet has been deleted.
- A managed schematic sheet 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 a managed schematic sheet – moving it to the Trash – you can create a new managed schematic sheet with that same name again. If you were to subsequently restore the original managed schematic sheet, and the original name is taken, an integer suffix will be used, to keep its name unique within the Workspace.