Drawings X Getting Started Guide

Generating License Keys and Activating Drawings X Trial Versions

If you have an activated ODA Drawings SDK trial license on your computer:

  1. Copy TeighaLicense.ini from the ODA trial version folder to one of the following (* is the ODA software version number):
    • C:\Program Files (x86)\Common Files\TeighaX * for a 32-bit system.
    • C:\Program Files\Common Files\TeighaX * for a 64-bit system.

If you don’t have an activated ODA Drawings SDK trial license on your computer:

  1. Copy LicenseManagerApp.exe from one of the following folders (* is the ODA software version number):
    • C:\Program Files (x86)\Common Files\TeighaX * for a 32-bit system.
    • C:\Program Files\Common Files\TeighaX * for a 64-bit system.

Place the file in any other folder where it can be run without elevated privileges (for example, a current user folder).

  1. Follow the manual mode activation steps for the ODA Drawings SDK trial in that folder. Upon success, the TeighaLicense.ini file is created.
  2. Copy TeighaLicense.ini to one of the following folders (* is the ODA software version number):
    • C:\Program Files (x86)\Common Files\TeighaX * for a 32-bit system.
    • C:\Program Files\Common Files\TeighaX * for a 64-bit system.

Drawings X trial version is now ready to use.

 

The following folders are created when the Drawings X trial is installed (where * is the ODA software version number):

  • C:\Program Files (x86)\Common Files\TeighaX * — ODA Kernel SDK binaries used by Drawings X on a 64-bit system, where * is the ODA software version number. For a 32-bit system, the folder is C:\Program Files\Common Files\TeighaX *.
  • Examples — Sample applications source code.
  • Include — Header files for Drawings X.
  • Redist — Merge package files.

Building the Samples for Drawings X

There are no prebuilt samples for Drawings X, but trial users can build the samples from source code. Sample source code is located in the Drawings X trial version installation folder (usually C:\Program Files\Open Design Alliance\TeighaX * for 32-bit systems or C:\Program Files (x86)\Open Design Alliance\TeighaX * for 64-bit systems, where * is the ODA software version number).

To obtain binary files of Drawings X samples for .NET (located in Example/.NET subfolder), the following steps may be required:

  1. Open a solution, for example, sharpTest.sln.
    You can use any version of Visual Studio supported by ODA software and upgrade the solution if it’s requested.
  2. Check whether the Platform property in the Visual Studio Standard toolbar is “x86 CPU architecture”. If yes, go to Step 6 to build the solution immediately. If no, continue to the next step.
  3. On the Standard toolbar, select “Configuration Manager...”.

https://www.opendesign.com/files/images/trial-guide/07.png

  1. For each configuration (Debug/Release) you are going to build, do the following:
    • In Platform, select New. The New Project Platform dialog displays.
    • In New platform, select x86.
    • Click OK.

https://www.opendesign.com/files/images/trial-guide/08.png

  1. Verify that the solution platform is updated as shown below, and then click Close.

https://www.opendesign.com/files/images/trial-guide/09.png

  1. Build the example.