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

Classes

Public Types

Public Member Functions

Static Public Member Functions

Properties

Detailed Description

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

Member Enumeration Documentation

Types

Determines whether ThermalDesktop 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, OpenTD.ThermalDesktop.Connect()

Constructor & Destructor Documentation

TdConnectConfig()

inline

Member Function Documentation

GetRepeatableNameFromPath()

inline static

Validate()

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

Property Documentation

AcadExePathname

get set 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. The acad executable pathname. See also OpenTD.ThermalDesktop, OpenTD.ThermalDesktop.Connect()

AcadVisible

get set Controls whether a newly-started instance of TD will be visible. See also OpenTD.ThermalDesktop, OpenTD.ThermalDesktop.Connect()

AdditionalAcadCommandline

get set Additional arguments to use when starting acad.exe. See also OpenTD.ThermalDesktop, OpenTD.ThermalDesktop.Connect()

DwgPathname

get set 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(). See also OpenTD.ThermalDesktop, OpenTD.ThermalDesktop.Connect(), OpenTD.ThermalDesktop.GetCurrentDwgPathname() ///

PipeBaseAddress

static get

PipeEndpointName

get set 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. See also OpenTD.ThermalDesktop, OpenTD.ThermalDesktop.Connect()

PipeEndpointNameUsed

get Gets the communication channel name actually used. Set when ThermalDesktop.Connect() is called successfully. See also OpenTD.ThermalDesktop, OpenTD.ThermalDesktop.Connect()

ShowAcadSplashScreen

get set Controls whether the AutoCAD splash screen is displayed during startup. See also OpenTD.ThermalDesktop, OpenTD.ThermalDesktop.Connect()

StartDirectory

get set The starting directory for the acad.exe process. For the current working directory, see ThermalDesktop.GetCurrentWorkingDirectory(). See also OpenTD.ThermalDesktop, OpenTD.ThermalDesktop.Connect(), OpenTD.ThermalDesktop.GetCurrentWorkingDirectory() ///

StartTimeout

get set Controls how long OpenTD will try to connect to TD before timing out. See also OpenTD.ThermalDesktop, OpenTD.ThermalDesktop.Connect()

Type

get set The documentation for this class was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD/TdConnectConfig.cs