Making changes in the Digital Twin

Making changes in the Digital Twin

Introduction

Usually it is necessary to make changes like renaming, adding, removing parts, changing their materials and colors, these are all basic functionalities that Unity already provides.

Renaming

To rename a part in the hierarchy:
  1. Right click the part you wish to rename in the hierarchy
  2. Select the option "Rename"
  3. To save the changes press "Setup" on the "ZeroStateManager" component ( find it by typing ZeroStateManager in the hierarchy )

Moving Parts

To find out how to move around objects in unity, you can use Unity Learn's website.
  1. Select the part you wish to move around the scene
  2. While Move tool (W) is selected, select the handles of the selected part and move them to the desired location. The part can be either moved, rotated, or scaled.

  3. To save the changes press "Setup" on the "ZeroStateManager" component ( find it by typing ZeroStateManager in the hierarchy )

Adding Parts

To add parts to the scene it is required to create an FBX format file containing the 3d parts and import it to your project:
  1. Use the article for importing your FBX model into the Unity project

  2. Add the new parts into your scene, make sure the parts are under the "Main Model" part in the hierarchy.

  3. To save the changes press "Setup" on the "ZeroStateManager" component ( find it by typing ZeroStateManager in the hierarchy )

Removing Parts

Notes

Note that models that are linked to their FBX file cannot be removed, only the top parent of the hierarchy can be removed:


  1. Select the part you wish to remove

  2. Press "Delete" on your keyboard, or right click the object and select "Delete"

  3. To save the changes press "Setup" on the "ZeroStateManager" component ( find it by typing ZeroStateManager in the hierarchy )

It is important to note that when done making changes in the digital twin,

You must use the 'Setup' function before play testing or building the digital twin.

The Setup function defines the current state of the model as a default state.

Notes

*This action can be done only in Unity's Edit mode.


The way to setup is by clicking on the top object of the model's hierarchy, which contains the component called 'Zero State Manager'. if you can't find it, use the search field in the hierarchy, and write ZeroStateManager.

Then press on the Setup button.

Test the changes in the model in Play mode.


    • Related Articles

    • frontline 3D Studio - Tools

      Introduction To enhance your workflow and fully utilize the benefits of our advanced 3D Studio, we have curated a list of tools for you to incorporate into your work. These tools will increase your proficiency and make your tasks easier. So, let's ...
    • frontline.io 3D Studio - Wire Creation Tool

      Introduction When working with CAD models, you may have noticed that they often lack of cable structures, making it difficult to accurately simulate cable movement and interactions. This is where wires come in handy. By creating wires within the ...
    • How to set a default camera location

      Open UIData>Locations>Main Location. Find a suitable location and press Shift+Ctrl+F this will set the camera to a new location. Move the "Main Location" GameObject to the center of the Digital Twin. Select "Devices" GameObject and then in the ...
    • How to create a procedure in Unity

      A Procedure is made of interactions, you can create interactions following these steps: This video shows the process of creating a procedure: Web side Login to the frontline.io website and select your workspace. after that select an existing project ...
    • How to Upload a Model to frontline.io from 3D Studio

      Currently, your model can only be accessed through Unity. In order for others to be able to see it in the frontline.io Application, we need to build and upload it. At the top menu go to LLS > Frontline Builder. In this window, you can manage and ...