realvirtual.io
  • Building Digital Twins with Unity and realvirtual.io
  • Basics
    • Installation
    • Demo Model
      • Old Demo Model
    • Editor User Interface
      • Hierarchy Window
      • 3D Views
      • Quick Edit
      • Move Pivot Points (Pro)
      • Selection Window (Pro)
      • Material Window (Pro)
      • Measurement (Pro)
      • Kinematic Tool (Pro)
      • Model Checker
    • Runtime UI
      • Group Manager
      • Debug Console
      • Responsiveness
      • Runtime Persistence
    • Importing and exporting
    • Folder structure
    • Tutorial
    • Physics
    • CAD import (Pro)
      • CADLink (Pro)
      • CAD Checker (Pro)
      • CAD Updater (Pro)
    • Reusable Components (Prefabs)
    • Cadenas parts4cad
    • Publishing the Digital Twin
    • Revision management
  • News
  • Login & Download Updates (Pro)
  • Components & Scripts
    • Realvirtual
      • Environment Controller
    • MU, Source and Sink
      • Source
      • Sink
    • Motion and Kinematic
      • Drive
      • Kinematic
      • Group
      • Joint
      • CAM
      • TransportSurface
      • Guided Transport
      • Drive behavior
      • Chain
      • Chain element
      • Motion for developers
    • Sensors
      • Sensor
      • Measure
      • MeasureRaycast
    • Picking and Placing MUs
      • Grip
      • Gripper
      • Fixer
      • Pattern
    • Changing MUs
      • MaterialChanger
      • PartChanger
      • Cutter
    • Scene Interaction
      • 3D Buttons
      • Screen Overlay Buttons
      • Scene Selectables
      • Lamp
      • Interact3D
      • UI components
      • HMI components (Pro)
        • Start your own HMI
        • HMI Tab
        • HMI DropDown
        • HMI Puschbutton
        • HMI Switch
        • HMI Value
        • HMI Text
        • HMI Slider
        • HMI Message
        • HMI Marker
      • ModelZoo (Pro)
    • Interfaces
      • Interface Tools
        • Signal Manager
        • Signal Importer Exporter
        • Signal Catcher
        • OnValueChangedReconnect
      • Signal Importer / Exporter
      • ABB RobotStudio (Pro)
      • Denso Robotics (Pro)
      • EthernetIP (Pro)
      • Fanuc (Pro)
      • FMI
      • Igus Rebel
      • MQTT (Pro)
      • Modbus (Pro)
      • OPCUA (Pro)
      • PLCSIM Advanced (Pro)
      • RoboDK (Pro)
      • RFSuite (Pro)
      • SEW SimInterface (Pro)
      • Siemens Simit Interface (Pro)
      • Simit Shared Memory (Pro)
      • Simulink (Pro)
      • S7 TCP
      • TwinCAT (Pro)
      • TwinCAT HMI (Pro)
      • UDP (Pro)
      • Universal Robots (Pro)
      • Wandelbots Nova (Pro)
      • Websocket (Pro)
      • Windmod Y200 (Pro)
      • Custom Interfaces
    • Performance Tools
      • Combine Meshes (Pro)
      • Create Prefab (Pro)
      • Hierarchy Cleanup (Pro)
      • Mesh Optimizer (Pro)
      • Performance Optimizer (Pro)
    • Defining Logic
      • Unity Scripting
      • Behavior Graph
      • Logicsteps
      • Unity Visual Scripting
      • Recorder
    • Robot Inverse Kinematics (Pro)
    • Volume Tracking (Pro)
  • Multiplayer (Pro)
  • Extensions
    • ModelZoo
      • Beckhoff TwinCAT
      • Siemens S7
      • Denso Cobotta 1300
      • Wandelbots Nova Fanuc CRX
      • Universal Robots UR10
      • Fanuc Roboguide
    • realvirtual.io AIBuilder
      • realvirtual.io AI Builder Overview
      • Generate AI Training Data
      • AI Training
      • Testing AI in a Digital Twin
      • Deploying the AI
    • realvirtual.io Simulation
      • Conveyor Library
      • Path System
        • Path finding
        • Line
        • Curve
        • Workstation
        • Catcher
        • Pathmover
    • realvirtual.io Industrial Metaverse
      • Setup Guide
      • VR Modules
      • AR Modules
      • Multiuser
    • AGX Physics
    • VR Builder
    • CMC ViewR
  • Advanced Topics
    • Render Pipelines
    • Mixed Reality with Meta Quest3
    • Upgrade Guide
      • Upgrade to 2022
    • Open Digital Twin Interface
    • Usefull Addons
    • Improving Performance
    • Supported Platforms
    • Compiler Defines
    • For Developers
      • Important Classes and Interfaces
      • Assembly Definitions
      • Starting your development
      • Class documentation
      • realvirtual Init Sequence
      • realvirtualBehavior Lifetime Methods
      • Testing
    • Newtonsoft JSON
    • Troubleshooting
  • Release Notes
  • AI Digital Twin Assistant (GPT4)
  • License Conditions
Powered by GitBook
On this page
  • CAD Updater based on custom imports
  • CAD Updater based on CADLink imports
  • Comparing CAD files
  • Manual Control
Edit on GitHub
  1. Basics
  2. CAD import (Pro)

CAD Updater (Pro)

Updating (reimporting) CAD Data

PreviousCAD Checker (Pro)NextReusable Components (Prefabs)

Last updated 18 days ago

With CAD Updater you can compare a newly imported CAD file with the current CAD file in your Unity project. For comparison, both CAD data are imported into different sub-game-objects into the same scene.

The CAD Updater supports imports from CADLink and custom sources like PIXYZ. Note that part IDs for comparison are automatically generated based on the CAD design path (e.g., 'Assembly2|Subassembly3|Part1'). For successful CAD updates, ensure that part names remain unchanged and the part structure is not reordered.

CAD Updater based on custom imports

For custom imported data, the CAD Updater must be applied to the top level of the existing CAD data. Specify both the Current CAD Data (CAD Current) and the Update Data (CAD Update). It's crucial that the structure and naming below CADCurrent and CADUpdate remain identical (except for added or deleted parts). Once set up, click "Compare Current with Update" to review detected changes. Use the "Isolate Buttons" to inspect changes in detail. If everything checks out, select "Update" to apply the changes. Please refer to the section below for more detailed information about CADUpdater.

CAD Updater based on CADLink imports

Comparing CAD files

CAD Updater is automatically added to the CADLink component as soon as you import a CAD file a second time. After the second import the following message will pop up:

CAD Updater script is automatically added:

After the update import, the comparison between the current and the new CAD data is started automatically. You can restart it manually with the Button Compare Current with Update.

The Isolate Buttons allow you the see in detail what has been changed in the Update.

On the left-hand side of the Unity Hierarchy View, you can see a status icon that is informing you about the status of the CAD component.

Icon
Description

Green Hook

No changes

Red Cross

Is deleted in Update

Blue Plus

Is added in Update

Orange !

Mesh is changed

Orange Arrows

Position is changed in Update

After the update check, you can update your current CAD data by selecting Update. All changes will be performed on the current CAD data and the update import will be deleted. Your current CAD data will now be like the Update but all changes that you performed within Unity/realvirtual.io will remain.

Manual Control

Each component in the CAD design will have automatically added a CAD script. This script takes care of the current status and you can control exactly the Update behavior.

By selecting Keep or Keep Including Children you can Keep the current object (including the children if selected) and it will not be touched by the Update process.

If there is no relation found between the Current and the Update CAD data it could be that something is marked as to be deleted but you want to keep and update this. You can manually generate a relation by dragging an Update CAD Script into Keep and Replace by Update. This will manually set the IDs of the Update and the Current Identical and the Update will be performed.

If you are using for reading in the CAD Data the CAD Updater component will be attached automatically to the parent Gameobject of CADLink as soon as you are updating your CAD data. All properties and options of CAD Updater are set automatically. Update means that there are already CAD data underneath CADLink and you import new CAD data. If you don’t want to perform an update you should delete all data underneath CADLink before importing a new CAD file.

For Step and 3MF data there are some limitations with the CAD Update. Each mesh is defined by an ID and compared with the newly imported mesh. Because there are no special ID and revision properties inside the Step or 3MF data (like with JT), the ID of each part is defined by its location in the hierarchy and an occurrence number if there are two identical names at the same hierarchy level. This means that you should not rearrange elements (changing parents) under the CADLink object. Instead, you should use the script for rearranging the kinematic parents and children.

© 2025 realvirtual GmbH - All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including printing, saving, photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher.

CADLink
Kinematic
https://realvirtual.io
CADUpdater Settings for custom imports
Update check finished
CAD updater inspector
CAD Updater status icons
CAD script for manual update control