---
title: Delete Model(s) from Digital Twin for one Litmus Edge
slug: solutions/delete-models-from-digital-twin-for-one-litmus-edge
docTags: 
createdAt: 2025-08-21T13:34:31.629Z
---

To delete Model(s) with Litmus Excel Add-ins, you should be familiar with how Models work in [Digital Twins](docId\:xlj3gvOZyg_52Ue4pB5u7) on Litmus Edge as well as the consequences.

# Before You Begin

- You have installed the Litmus Excel Add-ins extension. See [Install Litmus Excel Add-ins](docId\:GZDhBJ1xZZNDDThYOCuuu) for details.
- You have prepared a [Tool file](docId\:Ov8snXeMrb3nVZJJK6DUh). &#x20;
- Model(s) have been [added](docId\:TJpsZlSmmrLw_pD_9J-KD) to Digital Twins.

# Initial Preparation

Open a new DT Model Management Tool File in Excel.

If prompted, *Enable Content&#x20;*&#x74;o allow the code to run.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/jzotppmZSPdRS7VZpFPvg_image.png" size="80" width="600" height="150" position="center" showCaption="false"}

Make sure the the tool is set **Connect To** is set to *One LE*.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/aO7bYH1Wq3rNXSDl4Y98O_image.png" size="70" width="330" height="152" position="center" showCaption="false"}

# Delete Models(s)

## Import Model(s)

Import the Model Settings for Model(s) defined on Litmus Edge using the [Import Model(s) Wizard](docId:6B2RMRJG50mF_gtiDWT8w).

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/gPCiYe7-BZGbUBRCV5AiX_image.png" size="70" width="399" height="177" position="center" showCaption="false"}

Users can set a filter to reduce the number of Module(s) shown as selection to the user.

- **Search Option**: Select what type of filter is to be used
- **Model Name Mask**: Set the filter to be applied. Will be ignored if **Search Option** is set to *ALL*
- The wizard will show what filter will be applied.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/z7e1bnlfZZVuON-mNGwMG_image.png" size="80" width="889" height="769" position="center" showCaption="false"}

- Press the **Search** button to pull the filtered List of Model(s) from Litmus Edge.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/Lqm-D1_3o_vhMXeQgumkz_image.png" size="80" width="889" height="769" position="center" showCaption="false"}

- The user will be shown the filtered List of Model(s) matching their filter.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/Tjwvftef0CYJu9jetHCUh_image.png" size="80" width="883" height="750" position="center" showCaption="false"}

- Select the Model(s) to import and press the **Import** button.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/SFksZAPN_HFte_UNsNbNG_image.png" size="80" width="886" height="724" position="center" showCaption="false"}

:::hint{type="info"}
**Notes**:

Users can choose between:

- Pres&#x73;**&#x20;New Search** to set another filter and search again if the list doesn't show the Model(s) the user wanted to import
- Select **All&#x20;**&#x4D;odel(s) using the Checkbox in the Header Row.
- Select a **Group** of Model(s) by selecting their respective Check Box
- Select one **Model&#x20;**&#x62;y selecting the respective Check Box
- Select **No&#x20;**&#x4D;odel and close the Wizard pressing the **Close** button instead.
:::

- The selected Model(s) with their settings are imported into the sheet.&#x20;
  Once finished, the user can either.
  - perform another search using the **New Search** button
  - finsih the import using the **Close** button

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/End8bYv4xn6RwXsh7oMYq_image.png" size="80" width="2005" height="793" position="center" showCaption="false"}

- The **Action** for each imported tag is set to **M** for modify.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/iP77nHLUHlfXDXPyXORdI_image.png" size="80" width="838" height="427" position="center" showCaption="false"}

## Mark Model(s) for deleteion

Change the **Action&#x20;**&#x74;o **D** for the Models(s) you want to delete on Litmus Edge.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/MGFx7VxGash-Tket3062n_image.png" size="80" width="535" height="208" position="center" showCaption="false"}

:::hint{type="info"}
**Notes**:

*Set the&#x20;****Action&#x20;****to&#x20;****I****&#x20;for ignore for Model(s) in the sheet you do not want to process.*
:::

## Executing Actions

If the tool also includes Models with either the **Action A** or **M**, it is **Recommended&#x20;**&#x62;ut not mandatory to verify the configuration first without executing the Action by pressing the **Verify Only** button.

::Image[]{src="https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/IUxlUYbRSE5BVTZ5cuLwR_image.png?format=webp" size="80" width="428" height="199" position="center" showCaption="false"}

This will check that all required Model Settings are provided and logically correct. And provide any finding to the user.
Example: Below the user not select a UNS Connector despite having enabled UNS in column **UNS Enabled**.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/o1CmOKDyLpDWAJsC3XiHt_image.png" size="80" width="982" height="509" position="center" showCaption="false"}

:::hint{type="warning"}
**Important:&#x20;**&#x54;he tool can not verify if all provided Model settings are factually correct. For example it can not verify that the value of a Static Attribute is correct for what the user want to achieve.
:::

The Model(s) can be deleted from Litmus Edge by pressing the **Verify + Execute** button.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/ryGNwLnWOHwbkjJf1kPqq_image.png" size="80" width="335" height="152" position="center" showCaption="false"}

This will check that all required Model Settings are provided and logically correct. And provide any finding to the user.
If no issues have been identified, the tool will verify that the user wants to execute **ALL** the actions from the **Action** Column:

1. **A**: Add Model(s)
2. **M**: Modify Model(s)
3. **D**: Delete Model(s)
4. **I**: Ignore Model(s) -> do nothing

To perform all actions, press the **Yes** button.

::Image[]{src="https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/Qz5tBypCu-cZMWvEOqRCL_image.png?format=webp" size="80" width="710" height="341" position="center" showCaption="false"}

The Tool will perform ALL Actions row by row. When finished, a result Summary is shown. Close the Result Summary by pressing the **X** close button.

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/q5v6CA8A1Vi67-Dr7Gre0_image.png)

The tool will ask if the user wants to re-compare the Model(s) against Litmus Edge.
To re-compare, press the **Yes&#x20;**&#x62;utton.
To not re-compare, press the **No** button.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/CkpoVZVmYQ_8iZgvuVaBo_image.png" size="70" width="401" height="151" position="center" showCaption="false"}

If the User selected to press the **Yes&#x20;**&#x62;utton from aboves messagebox, the tool will pull all the Model settings from Litmus Edge again including the ModelID and also change the **Action&#x20;**&#x74;o **M** for each Model with a ModelID or **A&#x20;**&#x66;orModel with no ModelID.&#x20;

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/CekIHGJ2kv3IoFe6M7ncb_image.png)

# Troubleshooting

As Litmus Edge doesn't allow to delete Digital Twin Models which have Digital Instances associated with, the Excel tool performs the same check for both **Verify Only** and **Verify + Execute** buttons from the LitmusConfiguration Ribbon.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/z5N6FsGBWupoSR-kmPQH4_image.png" size="70" width="565" height="148" position="center" showCaption="false"}

In case a Model has Instances, the Action will be changed from "D" to "I" and the user will be notified.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/0jd5uqqu0KPYkVI_AOcC1_image.png" size="60" width="395" height="286" position="center" showCaption="false"}

Before the Check:

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/RvaAagkVceAbrroY1gokN_image.png)

After the Check:

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/9t9tdrkYbsGtXwyNnW2W3_image.png)

