Skip to main content
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.

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)

Parameters

config AutocadConfig

Properties

Command

A command string to execute once AutoCAD launches.

Property Value

string

LaunchConfig

Controls how AutoCAD will be launched.

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.

Returns

Process

acadLocation()

Returns

string