> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenTD.CaseSetManager Class Reference

Use the [CaseSetManager](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_case_set_manager.md) to run cases in batch mode, or to perform other operations available in TD's Case Set Manager.

Inheritance diagram for OpenTD.CaseSetManager:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_case_set_manager.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=1dbfdc67290b23ff84b92830ee031835)

## Public Member Functions

| Type | Name |
| - | - |
| | [CaseSetManager](#a727fdc6fb75205ef2fcf78858525a421) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md) \_td) |
| List\< [CaseSet](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_case_set.md) > | [GetCaseSets](#a2d8fd24a900de6bd5520a3b11748e534) () |
| [CaseSet](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_case_set.md) | [Add](#a3d850fc8e8e45e31376f56a82e47791c) (string name, string groupName="", string sindaFilenames="") |
| void | [Rename](#a61761ff35dca0540eec74c28f02bb051) (string name, string groupName, string newName, string newGroupName) |
| void | [Delete](#a2d6685652f4fd2afd3894e4afcf42910) (string name, string groupName="") |
| void | [Run](#a395ee6fa6edc924e7a7cfc0eb81aaca7) (string name, string groupName="", bool useOldMethod=false) Run one case. Set useOldMethod to true for a less-verbose run method that may not be compatible with every case configuration. |
| void | [Run](#a7de51d83a27f910b402123c2bc92a6d3) (IEnumerable\< int > caseIndices) Run multiple cases, just like selecting them and pressing the run button in the GUI. Use this method to run cases using TD batch mode. |
| bool | [IsCaseRunning](#a515ad34f6486161111d7cab17f64aa47) () Some types of cases return control to TD before they finish. Example: cases involving Dynamic Sinda. This also means they return control to [OpenTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/namespace_open_t_d) before the case finishes. Use this method to check whether a given TD instance is currently running this kind of case. This method is currently experimental. |
| void | [Update](#a5709fd246dfbed52a029f3b621d03ec0) () Updates the TD entity with the latest client data. |
| void | [UpdateFromTD](#aff0927db6de95d73b60c22cd91091792) () Updates the client-side instance with the latest data from the TD entity. |

## Properties

| Type | Name |
| - | - |
| [CaseSetManagerOptions](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_case_set_manager_options.md) | [Options](#a1fac0495361317962ee9baea4398e85c)`[get]` |

## Detailed Description

Use the [CaseSetManager](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_case_set_manager.md) to run cases in batch mode, or to perform other operations available in TD's Case Set Manager.

**See also**

[OpenTD.CaseSet](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_case_set.md)

## Constructor & Destructor Documentation

### CaseSetManager()

```csharp theme={null}
OpenTD.CaseSetManager.CaseSetManager(ThermalDesktop _td)
```

`inline`

## Member Function Documentation

### Add()

```csharp theme={null}
CaseSet OpenTD.CaseSetManager.Add(
    string name,
    string groupName = "",
    string sindaFilenames = ""
)
```

`inline`

### Delete()

```csharp theme={null}
void OpenTD.CaseSetManager.Delete(
    string name,
    string groupName = ""
)
```

`inline`

### GetCaseSets()

```csharp theme={null}
List< CaseSet > OpenTD.CaseSetManager.GetCaseSets()
```

`inline`

### IsCaseRunning()

```csharp theme={null}
bool OpenTD.CaseSetManager.IsCaseRunning()
```

`inline`

Some types of cases return control to TD before they finish. Example: cases involving Dynamic Sinda. This also means they return control to [OpenTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/namespace_open_t_d) before the case finishes. Use this method to check whether a given TD instance is currently running this kind of case. This method is currently experimental.

**Returns**

### Rename()

```csharp theme={null}
void OpenTD.CaseSetManager.Rename(
    string name,
    string groupName,
    string newName,
    string newGroupName
)
```

`inline`

### Run() \[1/2]

```csharp theme={null}
void OpenTD.CaseSetManager.Run(IEnumerable< int > caseIndices)
```

`inline`

Run multiple cases, just like selecting them and pressing the run button in the GUI. Use this method to run cases using TD batch mode.

**Parameters**

| Name | Description |
| - | - |
| caseIndices | |

### Run() \[2/2]

```csharp theme={null}
void OpenTD.CaseSetManager.Run(
    string name,
    string groupName = "",
    bool useOldMethod = false
)
```

`inline`

Run one case. Set useOldMethod to true for a less-verbose run method that may not be compatible with every case configuration.

**Parameters**

| Name | Description |
| - | - |
| name | |
| groupName | |
| useOldMethod | |

### Update()

```csharp theme={null}
void OpenTD.CaseSetManager.Update()
```

`inline`

Updates the TD entity with the latest client data.

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_i_updatable.md#a162ef7c717f51047a1d45c7df4282470).

### UpdateFromTD()

```csharp theme={null}
void OpenTD.CaseSetManager.UpdateFromTD()
```

`inline`

Updates the client-side instance with the latest data from the TD entity.

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_i_updatable.md#a47f3096415cfb5694fd822df8a1eceb0).

## Property Documentation

### Options

```csharp theme={null}
CaseSetManagerOptions OpenTD.CaseSetManager.Options
```

`get`

The documentation for this class was generated from the following file:

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/**CaseSetManager.cs**
