> ## 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.AutocadConfig Class Reference

Controls how AutoCAD will be launched.

## Public Member Functions

| Type | Name |
| - | - |
| | [AutocadConfig](#ac1d44428a134176faf77eb501f666027) () |
| | [AutocadConfig](#a5e7f7fae07fe101220e8fca3281cf2d7) ([TdConnectConfig](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_td_connect_config.md) config) |

## Properties

| Type | Name |
| - | - |
| string | [ExePathForStart](#a0df60fb87f3caa260882876f04493e42)`[get, set]` Path to acad.exe. Leave blank to use the default. |
| [RootedPathname](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/struct_open_t_d_1_1_utility_1_1_rooted_pathname.md) | [DwgPathname](#aefaec1e73283c61c8bfe10eb3b4bf62c)`[get, set]` Path to a dwg file to attempt to open when AutoCAD launches. |
| string | [StartDirectory](#aaa035461688e639f2ce31e6396c3f858)`[get, set]` Path to the initial working directory. |
| bool | [Visible](#a095cf32a03c13ef6d09e2b75dacec2a1)`[get, set]` Controls whether the AutoCAD window will be visible. |
| bool | [ShowSplashScreen](#a97d7ba18ad1f87b4cf9d7ea5b50fb59c)`[get, set]` Controls whether the AutoCAD splash screen will be displayed during startup. |
| string | [AdditionalCommandline](#a2b5e77a5235e44f08af203b9de3e1a4f)`[get, set]` A string containing commandline switches to be addded to the acad.exe command. |

## Detailed Description

Controls how AutoCAD will be launched.

## Constructor & Destructor Documentation

### AutocadConfig() \[1/2]

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

`inline`

### AutocadConfig() \[2/2]

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

`inline`

## Property Documentation

### AdditionalCommandline

```csharp theme={null}
string OpenTD.AutocadConfig.AdditionalCommandline
```

`get` `set`

A string containing commandline switches to be addded to the acad.exe command.

### DwgPathname

```csharp theme={null}
RootedPathname OpenTD.AutocadConfig.DwgPathname
```

`get` `set`

Path to a dwg file to attempt to open when AutoCAD launches.

### ExePathForStart

```csharp theme={null}
string OpenTD.AutocadConfig.ExePathForStart
```

`get` `set`

Path to acad.exe. Leave blank to use the default.

### ShowSplashScreen

```csharp theme={null}
bool OpenTD.AutocadConfig.ShowSplashScreen
```

`get` `set`

Controls whether the AutoCAD splash screen will be displayed during startup.

### StartDirectory

```csharp theme={null}
string OpenTD.AutocadConfig.StartDirectory
```

`get` `set`

Path to the initial working directory.

### Visible

```csharp theme={null}
bool OpenTD.AutocadConfig.Visible
```

`get` `set`

Controls whether the AutoCAD window will be visible.

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

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