Skip to main content

OpenTD .NET8 reference 2025 R2

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

Public Member Functions

 AutocadLauncher (AutocadConfig config)
 
void Launch ()
 Tries to start an instance of AutoCAD, based on the settings within LaunchConfig, and run the command string within Command.
 

Protected Member Functions

string acadLocation ()
 

Properties

AutocadConfig LaunchConfig [get, set]
 Controls how AutoCAD will be launched.
 
string Command [get, set]
 A command string to execute once AutoCAD launches.
 

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 & Destructor Documentation

◆ AutocadLauncher()

OpenTD.AutocadLauncher.AutocadLauncher ( AutocadConfig config)
inline

Member Function Documentation

◆ acadLocation()

string OpenTD.AutocadLauncher.acadLocation ( )
inlineprotected

◆ 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

◆ Command

string OpenTD.AutocadLauncher.Command
getset

A command string to execute once AutoCAD launches.

◆ LaunchConfig

AutocadConfig 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

Connect with Ansys