The C-Sharp examples can be found in the folder C:\Program Files\Graebert GmbH\ARES Commander 20?? SDK\SDK\Samples\CSharp. Open the solution file CSharpSamples.sln and follow the steps How to build and load a C# application.
Note: The pictured dialogs below are from the version ARES Commander 2017. Please note the different naming of the dlls for ARES Commander 2015, 2016, 2017, 2018, 2019, 2020 and 2021.
Add under References via the Browse option the TD_Mgd_4.03_14.dll out of the ARES Commander\BIN-Folder to the C# project.
Right-click on HelloWorld and build the application HelloWorld.dll.
Type NETLOAD in the Command window and press Enter.
Browse to C:\Program Files\Graebert GmbH\ARES Commander 20?? SDK\Samples\CSharp\HellowWorld_build[x86, x64 or Any CPU][Release\ or Debug] and load the HelloWorld.dll.
Note: The NETLOAD command gives no response, if the loading of the application was successful.Now you can execute the C# program by typing HELLOWORLD in the Command window.
The command creates a text entity “Hello World!” in the drawing.
Type ZOOM in the Command window and press Enter, then type F and press Enter. The Fit option will zoom into the text and fill the screen with “Hello World!”
Note: If you need further information about getting started with TD.Net, please contact us via support@graebert.com.