Skip to main content

OpenTD reference 2026 R1

Class AutocadLauncher

Last update: 09.03.2026

Namespace: OpenTD
Assembly: OpenTD.dll

Use to launch an instance of AutoCAD and run a series of commands. Defaults to the latest version of AutoCAD installed, but this can be controlled via the LaunchConfig property.

public class AutocadLauncher

Inheritance

object ← AutocadLauncher

Inherited Members

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

Constructors

AutocadLauncher(AutocadConfig)

public AutocadLauncher(AutocadConfig config)

Parameters

config AutocadConfig

Properties

Command

A command string to execute once AutoCAD launches.

public string Command { get; set; }

Property Value

string

LaunchConfig

Controls how AutoCAD will be launched.

public AutocadConfig LaunchConfig { get; set; }

Property Value

AutocadConfig

Methods

Launch()

Tries to start an instance of AutoCAD, based on the settings within LaunchConfig, and run the command string within Command.

public Process Launch()

Returns

Process

acadLocation()

protected string acadLocation()

Returns

string

Connect with Ansys