    

 ## On this page

  

 

 # OpenTD.AutocadLauncher Class Reference

 Last update: 16.07.2025 

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. [More...](#details)

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [AutocadLauncher](#a067d71c6abb1b973d135c6158c80e12d) ([AutocadConfig](class_open_t_d_1_1_autocad_config.xhtml) config) void [Launch](#a707ce3a16c74f69e2d73c8d66edc7d03) () Tries to start an instance of AutoCAD, based on the settings within LaunchConfig, and run the command string within Command.   
 ## <a id="pro-methods" name="pro-methods"></a>Protected Member Functions

string [acadLocation](#ab38cd99b26411f8f54f8d4f5042debc2) () ## <a id="properties" name="properties"></a>Properties

[AutocadConfig](class_open_t_d_1_1_autocad_config.xhtml) [LaunchConfig](#ad70d24b5fbef7b0627c461984edb4102)` [get, set]` Controls how AutoCAD will be launched.   
 string [Command](#aed09e885182d1968bfe02382e2cc5e79)` [get, set]` A command string to execute once AutoCAD launches.   
 <a id="details" name="details"></a>## 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 &amp; Destructor Documentation

<a id="a067d71c6abb1b973d135c6158c80e12d" name="a067d71c6abb1b973d135c6158c80e12d"></a>## [◆ ](#a067d71c6abb1b973d135c6158c80e12d)AutocadLauncher()

 OpenTD.AutocadLauncher.AutocadLauncher  ( [AutocadConfig](class_open_t_d_1_1_autocad_config.xhtml) *config*)   inline 





## Member Function Documentation

<a id="ab38cd99b26411f8f54f8d4f5042debc2" name="ab38cd99b26411f8f54f8d4f5042debc2"></a>## [◆ ](#ab38cd99b26411f8f54f8d4f5042debc2)acadLocation()

 string OpenTD.AutocadLauncher.acadLocation  ( )   inlineprotected 





<a id="a707ce3a16c74f69e2d73c8d66edc7d03" name="a707ce3a16c74f69e2d73c8d66edc7d03"></a>## [◆ ](#a707ce3a16c74f69e2d73c8d66edc7d03)Launch()

 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

<a id="aed09e885182d1968bfe02382e2cc5e79" name="aed09e885182d1968bfe02382e2cc5e79"></a>## [◆ ](#aed09e885182d1968bfe02382e2cc5e79)Command

 string OpenTD.AutocadLauncher.Command  getset 

A command string to execute once AutoCAD launches.





<a id="ad70d24b5fbef7b0627c461984edb4102" name="ad70d24b5fbef7b0627c461984edb4102"></a>## [◆ ](#ad70d24b5fbef7b0627c461984edb4102)LaunchConfig

 [AutocadConfig](class_open_t_d_1_1_autocad_config.xhtml) OpenTD.AutocadLauncher.LaunchConfig  getset 

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**