Class TdConnectConfig
Last update: 09.03.2026Namespace: OpenTD
Assembly: OpenTD.dll
Controls how ThermalDesktop object connects to its actual TD instance when ThermalDesktop.Connect() is called.
public class TdConnectConfig
Inheritance
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
See Also
ThermalDesktop, ThermalDesktop.Connect()
AcadVisible
Controls whether a newly-started instance of TD will be visible.
public bool AcadVisible { get; set; }
Property Value
See Also
ThermalDesktop, ThermalDesktop.Connect()
AdditionalAcadCommandline
Additional arguments to use when starting acad.exe.
public string AdditionalAcadCommandline { get; set; }
Property Value
See Also
ThermalDesktop, ThermalDesktop.Connect()
Address
public string Address { get; set; }
Property Value
AddressUsed
public string AddressUsed { get; }
Property Value
DefaultAddress
public static string DefaultAddress { get; }
Property Value
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
See Also
ThermalDesktop, ThermalDesktop.Connect(), ThermalDesktop.GetCurrentDwgPathname()
PipeBaseAddress
public static string PipeBaseAddress { get; }
Property Value
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
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
See Also
ThermalDesktop, ThermalDesktop.Connect()
PortUsed
public int PortUsed { get; }
Property Value
ShowAcadSplashScreen
Controls whether the AutoCAD splash screen is displayed during startup.
public bool ShowAcadSplashScreen { get; set; }
Property Value
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
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
See Also
ThermalDesktop, ThermalDesktop.Connect()
Type
public TdConnectConfig.Types Type { get; set; }
Property Value
Methods
GetRepeatableNameFromPath(string, bool)
public static string GetRepeatableNameFromPath(string pathname, bool calledFromServer = false)
Parameters
pathname string
calledFromServer bool
Returns
Validate()
public void Validate()