    

 ## On this page

  

 

 # OpenTD.AutocadConfig Class Reference

 Last update: 16.07.2025 

Controls how AutoCAD will be launched. [More...](#details)

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

 [AutocadConfig](#ac1d44428a134176faf77eb501f666027) ()  [AutocadConfig](#a5e7f7fae07fe101220e8fca3281cf2d7) ([TdConnectConfig](class_open_t_d_1_1_td_connect_config.xhtml) config) ## <a id="properties" name="properties"></a>Properties

string [ExePathForStart](#a0df60fb87f3caa260882876f04493e42)` [get, set]` Path to acad.exe. Leave blank to use the default.   
 [RootedPathname](struct_open_t_d_1_1_utility_1_1_rooted_pathname.xhtml) [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.   
 <a id="details" name="details"></a>## Detailed Description

Controls how AutoCAD will be launched.



## Constructor &amp; Destructor Documentation

<a id="ac1d44428a134176faf77eb501f666027" name="ac1d44428a134176faf77eb501f666027"></a>## [◆ ](#ac1d44428a134176faf77eb501f666027)AutocadConfig() \[1/2\]

 OpenTD.AutocadConfig.AutocadConfig  ( )   inline 





<a id="a5e7f7fae07fe101220e8fca3281cf2d7" name="a5e7f7fae07fe101220e8fca3281cf2d7"></a>## [◆ ](#a5e7f7fae07fe101220e8fca3281cf2d7)AutocadConfig() \[2/2\]

 OpenTD.AutocadConfig.AutocadConfig  ( [TdConnectConfig](class_open_t_d_1_1_td_connect_config.xhtml) *config*)   inline 





## Property Documentation

<a id="a2b5e77a5235e44f08af203b9de3e1a4f" name="a2b5e77a5235e44f08af203b9de3e1a4f"></a>## [◆ ](#a2b5e77a5235e44f08af203b9de3e1a4f)AdditionalCommandline

 string OpenTD.AutocadConfig.AdditionalCommandline  getset 

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





<a id="aefaec1e73283c61c8bfe10eb3b4bf62c" name="aefaec1e73283c61c8bfe10eb3b4bf62c"></a>## [◆ ](#aefaec1e73283c61c8bfe10eb3b4bf62c)DwgPathname

 [RootedPathname](struct_open_t_d_1_1_utility_1_1_rooted_pathname.xhtml) OpenTD.AutocadConfig.DwgPathname  getset 

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





<a id="a0df60fb87f3caa260882876f04493e42" name="a0df60fb87f3caa260882876f04493e42"></a>## [◆ ](#a0df60fb87f3caa260882876f04493e42)ExePathForStart

 string OpenTD.AutocadConfig.ExePathForStart  getset 

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





<a id="a97d7ba18ad1f87b4cf9d7ea5b50fb59c" name="a97d7ba18ad1f87b4cf9d7ea5b50fb59c"></a>## [◆ ](#a97d7ba18ad1f87b4cf9d7ea5b50fb59c)ShowSplashScreen

 bool OpenTD.AutocadConfig.ShowSplashScreen  getset 

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





<a id="aaa035461688e639f2ce31e6396c3f858" name="aaa035461688e639f2ce31e6396c3f858"></a>## [◆ ](#aaa035461688e639f2ce31e6396c3f858)StartDirectory

 string OpenTD.AutocadConfig.StartDirectory  getset 

Path to the initial working directory.





<a id="a095cf32a03c13ef6d09e2b75dacec2a1" name="a095cf32a03c13ef6d09e2b75dacec2a1"></a>## [◆ ](#a095cf32a03c13ef6d09e2b75dacec2a1)Visible

 bool OpenTD.AutocadConfig.Visible  getset 

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