Class AutocadLauncher
Last update: 09.03.2026Namespace: 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
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
LaunchConfig
Controls how AutoCAD will be launched.
public AutocadConfig LaunchConfig { get; set; }
Property Value
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
acadLocation()
protected string acadLocation()