Skip to main content

OpenTD .NET8 reference 2025 R2

OpenTD.AutocadConfig Class Reference

Last update: 16.07.2025

Controls how AutoCAD will be launched. More...

Public Member Functions

 AutocadConfig ()
 
 AutocadConfig (TdConnectConfig config)
 

Properties

string ExePathForStart [get, set]
 Path to acad.exe. Leave blank to use the default.
 
RootedPathname DwgPathname [get, set]
 Path to a dwg file to attempt to open when AutoCAD launches.
 
string StartDirectory [get, set]
 Path to the initial working directory.
 
bool Visible [get, set]
 Controls whether the AutoCAD window will be visible.
 
bool ShowSplashScreen [get, set]
 Controls whether the AutoCAD splash screen will be displayed during startup.
 
string AdditionalCommandline [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]

OpenTD.AutocadConfig.AutocadConfig ( )
inline

◆ AutocadConfig() [2/2]

OpenTD.AutocadConfig.AutocadConfig ( TdConnectConfig config)
inline

Property Documentation

◆ AdditionalCommandline

string OpenTD.AutocadConfig.AdditionalCommandline
getset

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

◆ DwgPathname

RootedPathname OpenTD.AutocadConfig.DwgPathname
getset

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

◆ ExePathForStart

string OpenTD.AutocadConfig.ExePathForStart
getset

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

◆ ShowSplashScreen

bool OpenTD.AutocadConfig.ShowSplashScreen
getset

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

◆ StartDirectory

string OpenTD.AutocadConfig.StartDirectory
getset

Path to the initial working directory.

◆ 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

Connect with Ansys