> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenTD.AutocadLauncher Class Reference

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 Member Functions

| Type | Name |
| - | - |
| | [AutocadLauncher](#a067d71c6abb1b973d135c6158c80e12d) ([AutocadConfig](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_autocad_config.md) config) |
| void | [Launch](#a707ce3a16c74f69e2d73c8d66edc7d03) () Tries to start an instance of AutoCAD, based on the settings within LaunchConfig, and run the command string within Command. |

## Protected Member Functions

| Type | Name |
| - | - |
| string | [acadLocation](#ab38cd99b26411f8f54f8d4f5042debc2) () |

## Properties

| Type | Name |
| - | - |
| [AutocadConfig](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_autocad_config.md) | [LaunchConfig](#ad70d24b5fbef7b0627c461984edb4102)`[get, set]` Controls how AutoCAD will be launched. |
| string | [Command](#aed09e885182d1968bfe02382e2cc5e79)`[get, set]` A command string to execute once AutoCAD launches. |

## Detailed Description

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.

## Constructor & Destructor Documentation

### AutocadLauncher()

```csharp theme={null}
OpenTD.AutocadLauncher.AutocadLauncher(AutocadConfig config)
```

`inline`

## Member Function Documentation

### acadLocation()

```csharp theme={null}
string OpenTD.AutocadLauncher.acadLocation()
```

`inline` `protected`

### Launch()

```csharp theme={null}
void OpenTD.AutocadLauncher.Launch()
```

`inline`

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

## Property Documentation

### Command

```csharp theme={null}
string OpenTD.AutocadLauncher.Command
```

`get` `set`

A command string to execute once AutoCAD launches.

### LaunchConfig

```csharp theme={null}
AutocadConfig OpenTD.AutocadLauncher.LaunchConfig
```

`get` `set`

Controls how AutoCAD will be launched.

The documentation for this class was generated from the following file:

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/**AutocadLauncher.cs**
