Getting Started: How to build and load a C# Example

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 following dialog boxes are from ARES Commander 2017. Names of the .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_15.dll file from the ARES Commander\BIN-Folder to the C# project.

    Ā 

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

    Ā 

  3. Type NETLOAD at the command prompt and press Enter.

    Ā 

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

  5. Load HelloWorld.dll.

    Note: The NETLOAD command displays no confirmation message if the application was successfully loaded.

  6. Run the C# program: Type HELLOWORLD at the command prompt.


    The command creates a text entity in the drawing.


    You can zoom into the text: Type ZOOM at the command prompt and press Enter. Specify the Fit option.


    Note: For more information about getting started with TD.Net, contact us via support@graebert.com.