Skip to main content
Namespace: OpenTD
Assembly: OpenTD.dll
Controls how ThermalDesktop object connects to its actual TD instance when ThermalDesktop.Connect() is called.

Inheritance

object ← TdConnectConfig

Inherited Members

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

Constructors

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.

Property Value

RootedPathname

See Also

ThermalDesktop, ThermalDesktop.Connect()

AcadVisible

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

Property Value

bool

See Also

ThermalDesktop, ThermalDesktop.Connect()

AdditionalAcadCommandline

Additional arguments to use when starting acad.exe.

Property Value

string

See Also

ThermalDesktop, ThermalDesktop.Connect()

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().

Property Value

RootedPathname

See Also

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

PipeBaseAddress

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.

Property Value

string

See Also

ThermalDesktop, ThermalDesktop.Connect()

PipeEndpointNameUsed

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

Property Value

string

See Also

ThermalDesktop, ThermalDesktop.Connect()

ShowAcadSplashScreen

Controls whether the AutoCAD splash screen is displayed during startup.

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().

Property Value

string

See Also

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

StartTimeout

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

Property Value

TdConnectConfig.TimeoutProperties

See Also

ThermalDesktop, ThermalDesktop.Connect()

Type

Property Value

TdConnectConfig.Types

Methods

GetRepeatableNameFromPath(string, bool)

Parameters

pathname string calledFromServer bool

Returns

string

Validate()

Validates this instance of TdConnectConfig. Is called automatically by ThermalDesktop.Connect().

Exceptions

OpenTDException Type ATTACH_TO_TD requires either a valid PipeEndpointName or DwgPathname. or Could not find DwgPathname: ” + DwgPathname

See Also

ThermalDesktop, ThermalDesktop.Connect()

See Also

ThermalDesktop, ThermalDesktop.Connect()