Creating a Harness Wiring Component for Use with Harness Design in Altium Designer
You can define the connectivity on your Harness Wiring Diagram not only by placing wires one-by-one and then changing their properties (and adding cable, shield and twist objects), but also by creating components with predefined structure and properties as required, which are then placed into the Wiring Diagram document from your Workspace library. Such a component is created in the Component Editor (in its Single Component Editing or Batch Component Editing mode) by adding/defining a Harness Wiring model for it and then saving the component to your connected Workspace.
Creation Using the Component Editor (Single Component Editing Mode)
To create a new component:
- Select the File » New » Component command from the main menus. Alternatively, select File » New » Library from the main menus, then select Create Library Content » Component from the Workspace region of the New Library dialog that opens.
-
In the Create new component dialog that opens, choose a component type. If there is a component template linked to the selected component type, this template will be used to predefine the component with the data from it.
-
Click OK in the dialog to access the Component Editor in its Single Component Editing Mode. Use the Component, Parameters and Part Choices regions of the Component Editor to define the key properties of the component, component parameters and part choices, respectively. Refer to the Component, Parameters and Part Choices sections of the Single Component Editing page to learn more.
-
When the current component definition does not include any model, the Add Harness Wiring entry will be available in the Models region of the Component Editor. Click the drop-down icon on the button below the entry and choose New from the associated menu to create a new Harness Wiring model or Existing to select a Harness Wiring model created and saved to the connected Workspace previously.
-
When the New option is selected, a temporary Harness Wiring model editor will open in the design space. Use the editor to define the wiring structure you would like to reuse in your harness designs. Place one or more Harness Wire objects with the properties configured as required. Add Cable, Shield and Twist objects if needed.
-
In the Symbol mode of the Properties panel (active when no object is selected in the design space), define the model Name as required.
-
Once the Harness Wiring model is defined, save the changes by selecting the File » Save command from the main menus and close the editor by right-clicking the model document tab and selecting the Close <ModelName> command from the context menu. The Harness Wiring model will appear linked back in the Models region of the Component Editor. Note that the Revision State field below the preview of the model will show
Not released
. Upon saving the component to the Workspace, the newly defined model will automatically be saved to the Workspace also, into the initial revision of a new Harness Wiring Item. -
With the component defined, select the File » Save to Server command from the main menus to save the component to the Workspace. The Edit Revision dialog will appear, in which you can change Name and Description of the component and add release notes as required. The editor will close after the save.
Your new component will be available in the Components panel for placing in your Wiring Diagram documents: learn more.
Creation Using the Component Editor (Batch Component Editing Mode)
A component can also be defined using the Component Editor in its Batch Component Editing mode. When in this mode (which can be accessed by choosing the Tools » Switch to Batch Editor command from the main menus of the Component Editor in its Single Component Editing mode or by opening multiple components for editing), the Harness Wiring model can be added as follows:
-
In the Required Models/Parameters region of the Editor, click the Add control and select HarnessWiring to specify that the Harness Wiring model is required by the components being defined.
-
In the Required Models/Parameters region of the Editor, click the Add control and select HarnessWiring, then choose the Harness Wiring model through the Choose Models dialog that opens. Any number of model links may be added, including links to different revisions of the same model. In this way, add links to the required Harness Wiring models to be used by components being defined in the Editor.
-
In the component definition region below, click within the HarnessWiring model cell and use the drop-down field to access the pop-up window, which presents a grid of added Harness Wiring model links. Double-click the required model entry to assign that model to the component definition.
- Complete the component definitions with other required data (e.g., parameters, part choices and datasheets).
- Save the components to the Workspace by selecting the File » Save to Server command.
Editing a Harness Wiring Model
Harness Wiring models can be browsed using the Components panel. Enable visibility of models by clicking the button at the top of the panel and selecting Models, then selecting the Harness Wirings category.
To edit an existing Harness Wiring model, right-click its entry in the Components panel and select the Edit command. The temporary editor will open, with the model opened for editing. Make changes as required, then save the document into the next revision of the Harness Wiring model.
Updating Related Components
When you make a change to a Harness Wiring model, the moment you save that change into a new revision of the model, any components that use that model will become effectively out of date, still using the previous revision. In most cases, you will no doubt want to re-save those components, with the respective model links updated to use the latest revisions available. To streamline this process, a Workspace, in conjunction with Altium Designer, facilitates the ability to update related components – at the point of re-saving a Workspace model – after having made any modifications to that model through the direct editing feature.
The option to perform this update to the parent components can be found in the Create Revision dialog that appears when saving the modified Harness Wiring model back to the target Workspace. This option – Update items related to <ModelItemRevision> – is enabled by default.
Once you click OK in the Create Revision dialog, the modified Harness Wiring model is saved back to the Workspace, and its associated temporary editor is closed. All components referencing that Harness Wiring model will be re-saved to use its new revision automatically (the next revision of each component is automatically created and the save performed).