Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The C-Sharp examples can be found C# examples are in the following 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 the different naming Names of the dlls for ARES Commander 2015, 2016, 2017, 2018, 2019, 2020 and 2021.

...

.dll files from ARES Commander might be different as they vary according to the version number.

  1. Under References, add the TD_Mgd_4.03_1415.dll out of file from the ARES Commander\BIN-Folder to the C# project.

    Image RemovedImage Added

  2. Right-click on HelloWorld and select Build to build the application HelloWorld.dll.

  3. Type NETLOAD in at the Command window command prompt and press Enter.

  4. Browse Navigate 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 the

  5. Load HelloWorld.dll.

    Note: The NETLOAD command gives displays no response, confirmation message if the loading of the application was successfulsuccessfully loaded.

    Image Removed

    Now you can execute Image Added

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