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

Controls how [ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md) object connects to its actual TD instance when [ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1) is called.

## Public Types

| Type | Name |
| - | - |
| enum | [Types](#abd41449782efbc0f8a04a6ca43a25311) \{ [START\_NEW\_TD](#abd41449782efbc0f8a04a6ca43a25311a54491a722ec3f300682eb3a6711c5995) , [AUTO](#abd41449782efbc0f8a04a6ca43a25311ae1f2d5134ed2543d38a0de9751cf75d9) , [ATTACH\_TO\_TD](#abd41449782efbc0f8a04a6ca43a25311a2f405afd9f53967fafd96fb5c93c1b07) , [INPROCESS](#abd41449782efbc0f8a04a6ca43a25311ab61d850eff77166498d04996cd33fa9b) } Determines whether [ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md) will start a new instance of TD, attach to an existing instance, or automatically try to attach but revert to starting a new instance if attaching fails. There's also an INPROCESS option that is only used internally by TD. |

## Public Member Functions

| Type | Name |
| - | - |
| | [TdConnectConfig](#a5ec2a1c0f115c6c2888ad08bb83f7d3e) () |

## Properties

| Type | Name |
| - | - |
| [Types](#abd41449782efbc0f8a04a6ca43a25311) | [Type](#a28c9457977b0f221f72006992984df17)`[get, set]` |
| [RootedPathname](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/struct_open_t_d_1_1_utility_1_1_rooted_pathname.md) | [AcadExePathname](#a3745daa68e8b7cd8e7686b7b850039ac)`[get, set]` Normally [ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1) uses the latest version of AutoCAD it finds on your machine. Set AcadExePathname to the location of another acad.exe to force it to use that version of AutoCAD. Caution: some older versions of AutoCAD may not work with [OpenTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/namespace_open_t_d). |
| string | [StartDirectory](#a7abfa8cdeb05154b7bd270fce1db8297)`[get, set]` The starting directory for the acad.exe process. For the current working directory, see [ThermalDesktop.GetCurrentWorkingDirectory()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#ac15aac3c8b123edcde5b7990b3be70cb). |
| string | [Address](#a5b2282c2f28b8732e5d8e1ce9c753495)`[get, set]` |
| static string | [DefaultAddress](#a36196468058a194e37dc7062dba682c0)`[get]` |
| string | [AddressUsed](#a1227c57da2fcec492355667cd4109b95)`[get, set]` |
| int | [PortUsed](#aff7e6f2d27b362d9602561b666778f7c)`[get, set]` |
| [RootedPathname](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/struct_open_t_d_1_1_utility_1_1_rooted_pathname.md) | [DwgPathname](#a3ce352790582d8ab16e16d0bcac68657)`[get, set]` Path to dwg file to open or attach to if already opened. If left blank and [TdConnectConfig.Type](#a28c9457977b0f221f72006992984df17) allows it, [ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1) will start a new, blank drawing. Do not use this member to find the current dwg name. Instead, use [ThermalDesktop.GetCurrentDwgPathname()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a833b6c089e146a396188e24ea0af4cdd). |
| [TimeoutProperties](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_timeout_properties.md) | [StartTimeout](#a042d71ce2c38fe9f1597116bcce6da31)`[get, set]` Controls how long [OpenTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/namespace_open_t_d) will try to connect to TD before timing out. |
| bool | [AcadVisible](#aec3a5664f7285fe6c7475d5998eed427)`[get, set]` Controls whether a newly-started instance of TD will be visible. |
| bool | [ShowAcadSplashScreen](#af353ea627c65cde87cb566c6c2219299)`[get, set]` Controls whether the AutoCAD splash screen is displayed during startup. |
| string | [AdditionalAcadCommandline](#a850c545d2aa5fdf11cb2135d58039ce5)`[get, set]` Additional arguments to use when starting acad.exe. |

## Detailed Description

Controls how [ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md) object connects to its actual TD instance when [ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1) is called.

**See also**

[OpenTD.ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md), [OpenTD.ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1)

## Member Enumeration Documentation

### Types

```csharp theme={null}
enum OpenTD.TdConnectConfig.Types
```

Determines whether [ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md) will start a new instance of TD, attach to an existing instance, or automatically try to attach but revert to starting a new instance if attaching fails. There's also an INPROCESS option that is only used internally by TD.

**See also**

[OpenTD.ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md), [OpenTD.ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1)

| Enumerator | |
| - | - |
| START\_NEW\_TD | |
| AUTO | |
| ATTACH\_TO\_TD | |
| INPROCESS | |

## Constructor & Destructor Documentation

### TdConnectConfig()

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

`inline`

## Property Documentation

### AcadExePathname

```csharp theme={null}
RootedPathname OpenTD.TdConnectConfig.AcadExePathname
```

`get` `set`

Normally [ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1) uses the latest version of AutoCAD it finds on your machine. Set AcadExePathname to the location of another acad.exe to force it to use that version of AutoCAD. Caution: some older versions of AutoCAD may not work with [OpenTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/namespace_open_t_d).

The acad executable pathname.

**See also**

[OpenTD.ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md), [OpenTD.ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1)

### AcadVisible

```csharp theme={null}
bool OpenTD.TdConnectConfig.AcadVisible
```

`get` `set`

Controls whether a newly-started instance of TD will be visible.

**See also**

[OpenTD.ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md), [OpenTD.ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1)

### AdditionalAcadCommandline

```csharp theme={null}
string OpenTD.TdConnectConfig.AdditionalAcadCommandline
```

`get` `set`

Additional arguments to use when starting acad.exe.

**See also**

[OpenTD.ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md), [OpenTD.ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1)

### Address

```csharp theme={null}
string OpenTD.TdConnectConfig.Address
```

`get` `set`

### AddressUsed

```csharp theme={null}
string OpenTD.TdConnectConfig.AddressUsed
```

`get` `set`

### DefaultAddress

```csharp theme={null}
string OpenTD.TdConnectConfig.DefaultAddress
```

`static` `get`

### DwgPathname

```csharp theme={null}
RootedPathname OpenTD.TdConnectConfig.DwgPathname
```

`get` `set`

Path to dwg file to open or attach to if already opened. If left blank and [TdConnectConfig.Type](#a28c9457977b0f221f72006992984df17) allows it, [ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1) will start a new, blank drawing. Do not use this member to find the current dwg name. Instead, use [ThermalDesktop.GetCurrentDwgPathname()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a833b6c089e146a396188e24ea0af4cdd).

**See also**

[OpenTD.ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md), [OpenTD.ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1), [OpenTD.ThermalDesktop.GetCurrentDwgPathname()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a833b6c089e146a396188e24ea0af4cdd)

///

### PortUsed

```csharp theme={null}
int OpenTD.TdConnectConfig.PortUsed
```

`get` `set`

### ShowAcadSplashScreen

```csharp theme={null}
bool OpenTD.TdConnectConfig.ShowAcadSplashScreen
```

`get` `set`

Controls whether the AutoCAD splash screen is displayed during startup.

**See also**

[OpenTD.ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md), [OpenTD.ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1)

### StartDirectory

```csharp theme={null}
string OpenTD.TdConnectConfig.StartDirectory
```

`get` `set`

The starting directory for the acad.exe process. For the current working directory, see [ThermalDesktop.GetCurrentWorkingDirectory()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#ac15aac3c8b123edcde5b7990b3be70cb).

**See also**

[OpenTD.ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md), [OpenTD.ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1), [OpenTD.ThermalDesktop.GetCurrentWorkingDirectory()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#ac15aac3c8b123edcde5b7990b3be70cb)

///

### StartTimeout

```csharp theme={null}
TimeoutProperties OpenTD.TdConnectConfig.StartTimeout
```

`get` `set`

Controls how long [OpenTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/namespace_open_t_d) will try to connect to TD before timing out.

**See also**

[OpenTD.ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md), [OpenTD.ThermalDesktop.Connect()](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a401d066096a6c3fec2a1b893973422f1)

### Type

```csharp theme={null}
Types OpenTD.TdConnectConfig.Type
```

`get` `set`

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

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