Set up digital twin templates
You can create a digital twin template to simplify the process of building business models. A digital twin template is a reusable blueprint of relationships, TSL definitions, and digital twin rules from selected digital twin nodes. You can then import the template into any digital twin by reference or by copy to accelerate development.
Prerequisites
You have added digital twin nodes in the Digital Twin Workbench. For more information, see Add a digital twin node.
Create a digital twin template
-
In the Digital Twin Workbench, select one or more digital twin nodes. Right-click the selection and choose Save as Template.
ImportantYou can select up to 10 digital twin nodes at a time.
-
In the dialog box, enter a template name and click OK.
The template name can contain Chinese characters, English letters, Japanese characters, digits, hyphens (-), underscores (_), forward slashes (/), and periods (.). It must start with a Chinese character, an English letter, or a digit, and be no more than 30 characters long.
The generated template appears in the Digital Twin Template list in the left pane of the workbench. This list displays all digital twin templates in the current instance. - (Optional)
In the Digital Twin Template list, right-click a template to perform the following operations:
Actions
Description
Edit
Opens the template editing canvas, where you can delete nodes, add child nodes, and edit the TSL and digital twin rules.
View Referencing Digital Twins
Displays a list of digital twins that reference this template in the right pane of the workbench. You can click View in the Operation column to open the details page of a specific digital twin.
Delete
You can only delete templates that are not referenced by any digital twin.
Use a digital twin template
In the Digital Twin Workbench, drag a digital twin template onto the canvas to reference or copy it.
You can choose an import method based on your use case. The following table describes each method.
|
Actions |
Reference method |
Copy method |
|
Delete a digital twin node |
You can perform this operation directly within the digital twin. Changes do not affect the original template. |
You can perform this operation directly within the digital twin. Changes do not affect the original template. |
|
Add a child node |
||
|
Edit the TSL |
You cannot perform this operation directly within the digital twin. You must edit the original template. Changes automatically sync to the corresponding nodes in the digital twin. |
|
|
Edit digital twin rules |