The C-Sharp C# 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 described in How to build and load a C# application.
Note: The pictured dialogs below following dialog boxes are from the version ARES Commander 2017. Please note Note the different naming of the dlls .dll files for ARES Commander 2015, 2016, 2017, 2018, 2019, 2020 and 2021.
...
, which varies according to the version number.
Under References, add the TD_Mgd_4.03_14.dll out of file from the ARES Commander\BIN-Folder to the C# project.
Right-click on HelloWorld and select Build to build the application HelloWorld.dll.
Type NETLOAD in at the Command window command prompt and press Enter.
Browse to the following folder:
C:\Program Files\Graebert GmbH\ARES Commander 20?? SDK\Samples\CSharp\HellowWorld_build[x86, x64 or Any CPU][Release\ or Debug] and load theLoad HelloWorld.dll.
Note: The NETLOAD command gives displays no response, if the loading of confirmation message if the application was successfulsuccessfully loaded.
Now you can executeExecute the C# program by typing : Type HELLOWORLD in at the Command windowcommand prompt.
The command creates a text entity “Hello World!” in the drawing.
You can zoom into the text: Type ZOOM in at the Command window command prompt and press Enter, then type F and press Enter. The Fit option will zoom into the text and fill the screen with “Hello World!”. Specify the Fit option.
Note:If you need further For more information about getting started with TD.Net, please contact us via support@graebert.com.