> ## 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.

# Class AutocadLauncher

Namespace: [OpenTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/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.

```csharp theme={null}
public class AutocadLauncher
```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[AutocadLauncher](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.AutocadLauncher.md)

## Inherited Members

[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### AutocadLauncher(AutocadConfig)

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

#### Parameters

`config` [AutocadConfig](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.AutocadConfig.md)

## Properties

### Command

A command string to execute once AutoCAD launches.

```csharp theme={null}
public string Command { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### LaunchConfig

Controls how AutoCAD will be launched.

```csharp theme={null}
public AutocadConfig LaunchConfig { get; set; }
```

#### Property Value

[AutocadConfig](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.AutocadConfig.md)

## Methods

### Launch()

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

```csharp theme={null}
public Process Launch()
```

#### Returns

[Process](https://learn.microsoft.com/dotnet/api/system.diagnostics.process)

### acadLocation()

```csharp theme={null}
protected string acadLocation()
```

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)
