> ## 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.Domains Class Reference

Use to get all domains within a TD instance.

## Public Member Functions

| Type | Name |
| - | - |
| | [Domains](#a83fb26112fb03ea64168eebd62f05445) () |
| | [Domains](#a5882c4e48d619c3630ac5baa95b329be) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_thermal_desktop.md) tdInstance) Creates dictionaries for each type of domain. [Domains](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_domains.md) in master drawing will create dictionary where key=domain name, value=list of connections in domain [Domains](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_domains.md) in XREF drawing will create dictionary where key=database name (name of XREF), value=list of domains Does not determine connections for domains in XREF drawings. |
| void | [UpdateFromTD](#a38a1549e91ea718dd4862de0a322b2bb) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_thermal_desktop.md) tdInstance) Updates the client-side instance with the latest data from the TD entity. |
| void | [UpdateFromTD](#a3325772bf63d9512a69793c2659ca36f) () Updates the client-side instance with the latest data from the TD entity. |
| List\< string > | [GetNames](#a77e8fd71d5cb7dc02dafea3785bdccca) () Returns all domain names. Call [UpdateFromTD()](#a3325772bf63d9512a69793c2659ca36f) first to synchronize with the TD instance. |

## Properties

| Type | Name |
| - | - |
| Dictionary\< string, List\< [Connection](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_connection.md) > > | [EdgeDomains](#a32d3b5f2df78c88b1cd2539eac5a5235)`[get, set]` Key = Name of domain Value = list of connections in domain. |
| Dictionary\< string, List\< [Connection](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_connection.md) > > | [LumpDomains](#abac2e3ca668a0dfe3315f38e30ef44db)`[get, set]` Key = Name of domain Value = list of connections in domain. |
| Dictionary\< string, List\< [Connection](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_connection.md) > > | [NodeDomains](#af2a8c0c7086e518c4c36de9783b2d32f)`[get, set]` Key = Name of domain Value = list of connections in domain. |
| Dictionary\< string, List\< [Connection](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_connection.md) > > | [PathDomains](#a23be57f40db508546d7d1f4501a5b9f2)`[get, set]` Key = Name of domain Value = list of connections in domain. |
| Dictionary\< string, List\< [Connection](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_connection.md) > > | [SolidDomains](#a258c81d040fd173573117e7e83984966)`[get, set]` Key = Name of domain Value = list of connections in domain. |
| Dictionary\< string, List\< [Connection](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_connection.md) > > | [SurfaceDomains](#a6018f90fbc548bcacf615105f0e6f175)`[get, set]` Key = Name of domain Value = list of connections in domain. |
| Dictionary\< string, List\< string > > | [EdgeDomainsXREF](#ad48ff9b959b08b735769a8ebc0f938f2)`[get, set]` Key = Name of XREF Value = list of domain names in XREF. |
| Dictionary\< string, List\< string > > | [LumpDomainsXREF](#a05d348e898912f66eb30cbed53cfcac4)`[get, set]` Key = Name of XREF Value = list of domain names in XREF. |
| Dictionary\< string, List\< string > > | [NodeDomainsXREF](#af9172faf0416dbe0b3986f6de022abb6)`[get, set]` Key = Name of XREF Value = list of domain names in XREF. |
| Dictionary\< string, List\< string > > | [PathDomainsXREF](#aeb90e8c4ee7ad35b25adb6075c7c7595)`[get, set]` Key = Name of XREF Value = list of domain names in XREF. |
| Dictionary\< string, List\< string > > | [SolidDomainsXREF](#abe56bd487ba1cbbdf65a9a22c336e51c)`[get, set]` Key = Name of XREF Value = list of domain names in XREF. |
| Dictionary\< string, List\< string > > | [SurfaceDomainsXREF](#a5f28726c89b76f421be533a29e239653)`[get, set]` Key = Name of XREF Value = list of domain names in XREF. |
| [ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_thermal_desktop.md) | [TD](#a1aca7b34d10247e88c42c1646d9c7281)`[get, set]` |

## Detailed Description

Use to get all domains within a TD instance.

## Constructor & Destructor Documentation

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

```csharp theme={null}
OpenTD.Domains.Domains()
```

`inline`

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

```csharp theme={null}
OpenTD.Domains.Domains(ThermalDesktop tdInstance)
```

`inline`

Creates dictionaries for each type of domain. [Domains](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_domains.md) in master drawing will create dictionary where key=domain name, value=list of connections in domain [Domains](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_domains.md) in XREF drawing will create dictionary where key=database name (name of XREF), value=list of domains Does not determine connections for domains in XREF drawings.

**Parameters**

| Name | Description |
| - | - |
| tdInstance | |

## Member Function Documentation

### GetNames()

```csharp theme={null}
List< string > OpenTD.Domains.GetNames()
```

`inline`

Returns all domain names. Call [UpdateFromTD()](#a3325772bf63d9512a69793c2659ca36f) first to synchronize with the TD instance.

**Returns**

List\<System.String>.

**See also**

[OpenTD.Domains.UpdateFromTD()](#a3325772bf63d9512a69793c2659ca36f), [OpenTD.Domains.UpdateFromTD(ThermalDesktop)](#a38a1549e91ea718dd4862de0a322b2bb)

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

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

`inline`

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

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

```csharp theme={null}
void OpenTD.Domains.UpdateFromTD(ThermalDesktop tdInstance)
```

`inline`

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

## Property Documentation

### EdgeDomains

```csharp theme={null}
Dictionary<string, List< Connection > > OpenTD.Domains.EdgeDomains
```

`get` `set`

Key = Name of domain Value = list of connections in domain.

### EdgeDomainsXREF

```csharp theme={null}
Dictionary<string, List<string> > OpenTD.Domains.EdgeDomainsXREF
```

`get` `set`

Key = Name of XREF Value = list of domain names in XREF.

### LumpDomains

```csharp theme={null}
Dictionary<string, List< Connection > > OpenTD.Domains.LumpDomains
```

`get` `set`

Key = Name of domain Value = list of connections in domain.

### LumpDomainsXREF

```csharp theme={null}
Dictionary<string, List<string> > OpenTD.Domains.LumpDomainsXREF
```

`get` `set`

Key = Name of XREF Value = list of domain names in XREF.

### NodeDomains

```csharp theme={null}
Dictionary<string, List< Connection > > OpenTD.Domains.NodeDomains
```

`get` `set`

Key = Name of domain Value = list of connections in domain.

### NodeDomainsXREF

```csharp theme={null}
Dictionary<string, List<string> > OpenTD.Domains.NodeDomainsXREF
```

`get` `set`

Key = Name of XREF Value = list of domain names in XREF.

### PathDomains

```csharp theme={null}
Dictionary<string, List< Connection > > OpenTD.Domains.PathDomains
```

`get` `set`

Key = Name of domain Value = list of connections in domain.

### PathDomainsXREF

```csharp theme={null}
Dictionary<string, List<string> > OpenTD.Domains.PathDomainsXREF
```

`get` `set`

Key = Name of XREF Value = list of domain names in XREF.

### SolidDomains

```csharp theme={null}
Dictionary<string, List< Connection > > OpenTD.Domains.SolidDomains
```

`get` `set`

Key = Name of domain Value = list of connections in domain.

### SolidDomainsXREF

```csharp theme={null}
Dictionary<string, List<string> > OpenTD.Domains.SolidDomainsXREF
```

`get` `set`

Key = Name of XREF Value = list of domain names in XREF.

### SurfaceDomains

```csharp theme={null}
Dictionary<string, List< Connection > > OpenTD.Domains.SurfaceDomains
```

`get` `set`

Key = Name of domain Value = list of connections in domain.

### SurfaceDomainsXREF

```csharp theme={null}
Dictionary<string, List<string> > OpenTD.Domains.SurfaceDomainsXREF
```

`get` `set`

Key = Name of XREF Value = list of domain names in XREF.

### TD

```csharp theme={null}
ThermalDesktop OpenTD.Domains.TD
```

`get` `set`

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

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV\_ALPHA/buildXX/OpenTD/**Domains.cs**
