OpenTD.AutocadLauncher Class Reference
Last update: 16.07.2025Use 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()
|
inline |
Member Function Documentation
◆ acadLocation()
|
inlineprotected |
◆ 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
|
getset |
A command string to execute once AutoCAD launches.
◆ 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/TDDEV_ALPHA/buildXX/OpenTD/AutocadLauncher.cs