Skip to main content

OpenTD reference 2026 R1

Class TdConnectConfig

Last update: 09.03.2026

Namespace: OpenTD
Assembly: OpenTD.dll

Controls how ThermalDesktop object connects to its actual TD instance when ThermalDesktop.Connect() is called.

public class TdConnectConfig

Inheritance

object ← TdConnectConfig

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

TdConnectConfig()

public TdConnectConfig()

Properties

AcadExePathname

Normally ThermalDesktop.Connect() 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.

public RootedPathname AcadExePathname { get; set; }

Property Value

RootedPathname

See Also

ThermalDesktop, ThermalDesktop.Connect()

AcadVisible

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

public bool AcadVisible { get; set; }

Property Value

bool

See Also

ThermalDesktop, ThermalDesktop.Connect()

AdditionalAcadCommandline

Additional arguments to use when starting acad.exe.

public string AdditionalAcadCommandline { get; set; }

Property Value

string

See Also

ThermalDesktop, ThermalDesktop.Connect()

Address

public string Address { get; set; }

Property Value

string

AddressUsed

public string AddressUsed { get; }

Property Value

string

DefaultAddress

public static string DefaultAddress { get; }

Property Value

string

DwgPathname

Path to dwg file to open or attach to if already opened. If left blank and TdConnectConfig.Type allows it, ThermalDesktop.Connect() will start a new, blank drawing. Do not use this member to find the current dwg name. Instead, use ThermalDesktop.GetCurrentDwgPathname().

public RootedPathname DwgPathname { get; set; }

Property Value

RootedPathname

See Also

ThermalDesktop, ThermalDesktop.Connect(), ThermalDesktop.GetCurrentDwgPathname()

PipeBaseAddress

public static string PipeBaseAddress { get; }

Property Value

string

PipeEndpointName

Advanced. If not blank, specifies the name of the communications channel used by OpenTD to communicate with this instance of TD. If starting a new TD instance, OpenTD will attempt to create a channel with this name. If attaching, OpenTD will attempt to connect to a channel with this name. Leave blank for automatic channel-naming. To open a named channel in TD, use the 'RcOpenTD' AutoCAD command.

public string PipeEndpointName { get; set; }

Property Value

string

See Also

ThermalDesktop, ThermalDesktop.Connect()

PipeEndpointNameUsed

Gets the communication channel name actually used. Set when ThermalDesktop.Connect() is called successfully.

public string PipeEndpointNameUsed { get; }

Property Value

string

See Also

ThermalDesktop, ThermalDesktop.Connect()

PortUsed

public int PortUsed { get; }

Property Value

int

ShowAcadSplashScreen

Controls whether the AutoCAD splash screen is displayed during startup.

public bool ShowAcadSplashScreen { get; set; }

Property Value

bool

See Also

ThermalDesktop, ThermalDesktop.Connect()

StartDirectory

The starting directory for the acad.exe process. For the current working directory, see ThermalDesktop.GetCurrentWorkingDirectory().

public string StartDirectory { get; set; }

Property Value

string

See Also

ThermalDesktop, ThermalDesktop.Connect(), ThermalDesktop.GetCurrentWorkingDirectory()

StartTimeout

Controls how long OpenTD will try to connect to TD before timing out.

public TimeoutProperties StartTimeout { get; set; }

Property Value

TimeoutProperties

See Also

ThermalDesktop, ThermalDesktop.Connect()

Type

public TdConnectConfig.Types Type { get; set; }

Property Value

TdConnectConfig.Types

Methods

GetRepeatableNameFromPath(string, bool)

public static string GetRepeatableNameFromPath(string pathname, bool calledFromServer = false)

Parameters

pathname string

calledFromServer bool

Returns

string

Validate()

public void Validate()

See Also

ThermalDesktop, ThermalDesktop.Connect()

Connect with Ansys