输出作业模板

您正在阅读的是 20.0. 版本。关于最新版本,请前往 输出作业模板 阅读 22 版本
Applies to Altium Designer versions: 19.1 and 20.0
 

Parent page: Server Items

Altium Designer, in conjunction with your managed content server, caters for the ability to create and manage Outputjob Items in that server. Such Items can be created:

  • Through Direct Editing.
  • By uploading the relevant Output Job Configuration file (*.OutJob) to a revision of a target Item.

Once an Outputjob 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 can be reused in future board-level design projects.

In addition, a managed Outputjob 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.

For more information on working with an Output Job Configuration file, see Preparing Multiple Outputs in an Output Job.

Folder Type

When creating the folder in which to store Outputjob Items, you can specify the folder's type. This has no bearing on the content of the folder - releasing an Output Job Configuration file will always result in a corresponding Outputjob 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 Outputjob Items, set its Folder Type as Output Jobs, 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 a target Outputjob Item in which to store your Output Job Configuration, ensure that its Content Type is set to Outputjob, in the Create New Item dialog. If you are creating the Item in an Output Jobs type folder, this Item type will be available from the right-click context menu when creating the Item.

Creating an Outputjob Item within an Output Jobs folder - the correct Content Type is available on the context menu.
Creating an Outputjob Item within an Output Jobs folder - the correct Content Type is available on the context menu.

Releasing an Output Job Configuration

So far, we've discussed the support for an Outputjob Item in the server, in terms of related folder and item types. Releasing an actual defined Output Job Configuration into a revision of such an item can be performed in a streamlined way.

An Output Job Configuration can be edited and released into the initial revision of a newly-created Outputjob Item, courtesy of the server's support for direct editing. Direct editing frees you from the shackles of separate version-controlled source data. You can simply edit a supported Item type using a temporary editor loaded with the latest source direct from the server itself. And once editing is complete, the entity is released (or re-released) 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 managed content server handles it all, with great integrity, and in a manner that greatly expedites changes to your data.

When you create an Outputjob Item, you have the option to edit and release an Output Job Configuration 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 Outputjob Editor will open, presenting a .OutJob 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>.OutJob (e.g. OUT-0006-1.OutJob).

Example of editing the initial revision of an Outputjob Item, directly from the managed content server - the temporary Outputjob Editor provides the document with which to define your configuration.
Example of editing the initial revision of an Outputjob Item, directly from the managed content server - the temporary Outputjob Editor provides the document with which to define your configuration.

Use the document to define the Output Job Configuration as required. For more information on doing this, see Preparing Multiple Outputs in an Output Job.

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 Job Manager Toolbar toolbar:

  •  - Save Active Document. Use this button to 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 releasing to the managed content server.
  •  - Release Document. Use this button to release (effectively save and release) the defined configuration to the managed content server, storing it within the initial (planned) revision of the target Outputjob 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 release. The document containing the configuration, *.OutJob, will be stored in the revision of the Item.
  •  - Cancel Editing. Use this button if you wish to cancel editing. The document and editor will close, and nothing will be released to the target Outputjob Item.

These controls are also available as commands - Save (Shortcut: Ctrl+S), Release to Server (Shortcut: Alt+Ctrl+S), and Cancel Edit - from the main File menu.

The released data stored in the server consists of the Output Job Configuration, defined in the Output Job Configuration file (<Item><Revision>.OutJob). In the Explorer panel, switch to the Preview aspect view tab to see the outputs defined within the configuration.

Browse the released revision of the Outputjob Item, back in the Explorer panel. Switch to the Preview aspect view to see the outputs contained within the configuration.
Browse the released revision of the Outputjob Item, back in the Explorer panel. Switch to the Preview aspect view to see the outputs contained within the configuration.

Uploading an OutJob File

You can also upload an Output Job Configuration file into the revision of an Outputjob Item. This can be performed in a couple of ways.

Upload Menu

An Output Job Configuration file can be uploaded by right-clicking on the required Outputjob 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 OutJob file. 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 (*.OutJob).

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 OutJob file to be uploaded to the target Outputjob Item.Manually specifying the OutJob file to be uploaded to the target Outputjob Item.

Once the desired file 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. Switch to the Preview aspect view tab to see the outputs defined within the configuration, in the Explorer panel.

The content of the uploaded file can be inspected on the Preview aspect view tab for the revision of the Outputjob Item.The content of the uploaded file can be inspected on the Preview aspect view tab for the revision of the Outputjob Item.

Drag and Drop from Windows Explorer

An Output Job Configuration file can also be uploaded by dragging the selected file from a source folder in your Windows Explorer, and dropping onto the required target Outputjob 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 Outputjob 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 Outputjob 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 an OutJob file using the drag and drop method.Uploading an OutJob file using the drag and drop method.

Reusing a Managed Outputjob Item

Related page: Controlling Access to Server Content

Once an Output Job Configuration 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 configuration 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 Outputjob Items that have been shared with you.

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 your organization's managed content server, or any other services it provides. You will therefore not be able to reuse any managed Outputjob Items. You will only be able to use file-based configurations defined locally.

Choose a revision of an Outputjob Item to use, from the Managed OutputJobs tab of the Project Options dialog. Click th button - the Select configuration item (Output Jobs) dialog will appear, listing the latest revision of all Outputjob Items in the server that are available to you (shared with you). Choose the required Item Revision and click OK.

Manually choosing a revision of an Outputjob Item from within the Managed OutputJobs tab of the Project Options dialog.
Manually choosing a revision of an Outputjob Item from within the Managed OutputJobs tab of the Project Options dialog.

Continue adding further revisions of different OutputJob Items as required. After clicking OK to exit the Project Options dialog, save the project and recompile - the chosen OutputJob Item Revision(s) will appear in the Projects panel.

A managed OutputJob is distinguished in the Projects panel by the  icon.

The added revisions of OutputJob Items will be reflected in the Projects panel after the project is saved and recompiled.
The added revisions of OutputJob Items will be reflected in the Projects panel after the project is saved and recompiled.

In addition to using the revisions of managed Outputjob Items, you are also free to create and use unmanaged (local, file-based) Output Job files, should this be required.

Reuse as Part of an Environment Configuration

A released Output Job Configuration 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 Output Job Configurations. If the chosen environment configuration has one or more defined Outputjob Item revisions, then only those defined configurations can be used. If the chosen environment configuration applicable to you does not have any Outputjob Item revisions specified/added, then these will remain manually definable. In other words, you are free to manually reuse a managed Output Job Configuration and/or use local templates. For more information, see Environment Configuration Management.

Under the enforcement of an environment configuration, Altium NEXUS will be configured, with respect to use of Output Jobs, in the following areas.

OutputJob Editor

The OutputJob Editor - accessed when opening a managed OutJob - will reflect that the file is a Managed OutputJob Document, with an indication of the Item Revision, its description, and the parent managed content server in which that Item resides.

The Output Job Editor when viewing a managed Output Job.
The Output Job Editor when viewing a managed Output Job.

Since the OutJob is managed, any controls that would otherwise effect its modification in some way, are disabled. So the following abilities ARE NOT available:

  • Addition of new Output Generators.
  • Configuration of existing Output Generators.
  • Cut, copy, paste, duplication or deletion of an existing Output Generator.
  • Addition of new Output Containers or Hard Copy Jobs.
  • Configuration of an existing Output Container or Hard Copy Job.
  • Cut, copy, paste or deletion of existing Output Containers or Hard Copy Jobs.
  • Toggle the inclusion state of an Output Generator with respect to a valid Output Container or Hard Copy Job.

You can, however, still determine variant usage for the OutJob.

Re-Releasing an Outputjob Item

At any stage, you can come back to any revision of an Outputjob Item in the server, 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 configuration contained in the revision opened for editing. Make changes as required, then commit the release of the document into the next revision of the item.

Right-clicking on the top-level entry for an Item itself, will edit the latest revision of that Item.

Accessing the command to launch direct editing of an existing revision of an Outputjob Item.
Accessing the command to launch direct editing of an existing revision of an Outputjob Item.

Updating an Outputjob Item

If you need to change the output job configuration stored in an Outputjob Item, and you have the updated OutJob file, you can upload that file to that Item - the new file will be stored in the next revision of that Item.

Downloading Released Data

Download the data stored in a revision of an Outputjob Item by right-clicking on that revision and choosing the Operations » Download command from the context menu. The Output Job Configuration 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.

Access the Download command from the top-level entry for an Outputjob Item itself, to download the Output Job Configuration file 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.

 

可用的功能取决于您的 Altium Designer 软件订阅级别

Content