LC_ODA project Home

This is C++ project of Microsoft Visual Studio 2019, used to build LiteCAD plugin for import and export AutoCAD DWG and DXF files.

Download the LC_ODA project source code.

The project uses libraries of OpenDesign Alliance (ODA), which are available for ODA members.
Download the following files from ODA website:

Kernel_vc16md.zip
Kernel_vc16mddbg.zip
Kernel_vc16_amd64md.zip
Kernel_vc16_amd64mddbg.zip
Drawings_vc16md.zip
Drawings_vc16mddbg.zip
Drawings_vc16_amd64md.zip
Drawings_vc16_amd64mddbg.zip

Unzip contents of the files into directory C:\ODA on your computer.

LC_ODA project get ODA include files from directories:

C:\ODA\KernelBase\Include
C:\ODA\KernelBase\Extensions\ExServices
C:\ODA\Kernel\Include
C:\ODA\Kernel\Extensions\ExServices
C:\ODA\Drawing\Include
C:\ODA\Drawing\Extensions\ExServices

and ODA link files from directories:

c:\ODA\lib\vc16md
c:\ODA\lib\vc16mddbg
c:\ODA\lib\vc16_amd64md
c:\ODA\lib\vc16_amd64mddbg

Also LC_ODA project requires the file OdActivationInfo which is not included in the source. This file is unique for ODA member, so you have to create it on the ODA website and then copy it into LC_ODA project directory.
When all required files are copied, open solution LC_ODA.sln, choose configuration - "Debug" or "Relese", platform - "x86" or "x64", and build the project.
After successful build, find result files Plugin_DWG32.dll and Plugin_DWG64.dll in the directories \LC_ODA\_Final_Win32\ and \LC_ODA\_Final_x64\
Copy plugin into LiteCAD directory and your application will support import and export of AutoCAD DWG and DXF files.