Close

Relief for ODA Team in Ukraine

Learn more
ODA PRC SDK
ODA PRC SDK Modules

Core Modules

ODA Platform implements PRC format support and functionality through the following components.

OdPrcModule

The main module of .prc file support toolkit.

Header files location: Prc/Include folder.

Platform Configuration Location
Windows Dynamic /Prc/exe/<conf>/OdPrcModule_x.yy_vv.tx
Windows Static /Prc/lib/<conf>/OdPrcModule.lib
Non-Windows Dynamic /Prc/bin/<conf>/OdPrcModule.tx
Non-Windows Static /Prc/lib/<conf>/libOdPrcModule.a

OdPrc2PdfModule

Module that implements the insertion of a .prc stream into a .pdf file.

Header files location: Prc/Include/OdPrcToPdf folder.

Binary executable file name and location depend on platform and configuration:

Platform Configuration Location
Windows Dynamic /Prc/exe/<conf>/OdPrc2PdfModule_x.yy_vv.tx
Windows Static /Prc/lib/<conf>/OdPrc2PdfModule.lib
Non-Windows Dynamic /Prc/bin/<conf>/OdPrc2PdfModule.tx
Non-Windows Static /Prc/lib/<conf>/libOdPrc2PdfModule.a

OdPrc2XmlModule

Module that implements the conversion of a .prc file into XML format.

Header files location: Prc/Include/OdPrcToXml folder.

Binary executable file name and location depend on platform and configuration:

Platform Configuration Location
Windows Dynamic /Prc/exe/<conf>/OdPrc2XmlModule_x.yy_vv.tx
Windows Static /Prc/lib/<conf>/OdPrc2XmlModule.lib
Non-Windows Dynamic /Prc/bin/<conf>/OdPrc2XmlModule.tx
Non-Windows Static /Prc/lib/<conf>/libOdPrc2XmlModule.a

Export Modules

OdDgn2PrcExport

Export module that implements the conversion of a single OdGiDrawable object from a .dgn file to PRC format.

Header files location: Prc/Export/Dgn2PrcExport/Include folder, source files location: Prc/Export/Dgn2PrcExport/Source folder.

Binary executable file name and location depend on platform and configuration:

Platform Configuration Location
Windows Dynamic /Prc/exe/<conf>/OdDgn2PrcExport_x.yy_vv.tx
Windows Static /Prc/lib/<conf>/OdDgn2PrcExport.lib
Non-Windows Dynamic /Prc/bin/<conf>/OdDgn2PrcExport.tx
Non-Windows Static /Prc/lib/<conf>/libOdDgn2PrcExport.a

OdPrcExport

Export module that implements the conversion of a single OdGiDrawable object from a .dwg file to PRC format.

Header files location: Prc/Export/PrcExport/Include folder, source files location: Prc/Export/PrcExport/Source folder.

Binary executable file name and location depend on platform and configuration:

Platform Configuration Location
Windows Dynamic /Prc/exe/<conf>/OdPrcExport_x.yy_vv.tx
Windows Static /Prc/lib/<conf>/OdPrcExport.lib
Non-Windows Dynamic /Prc/bin/<conf>/OdPrcExport.tx
Non-Windows Static /Prc/lib/<conf>/libOdPrcExport.a

Protocol Extension Modules

OdPrcDumpModule

This protocol extension (PE) module implements base dumping functionality for various entities.

Header and source files location: Prc/Extensions/PrcDump folder.

Binary executable file name and location depend on platform and configuration:

Platform Configuration Location
Windows Dynamic /Prc/exe/<conf>/OdPrcDumpModule_x.yy_vv.tx
Windows Static /Prc/lib/<conf>/OdPrcDumpModule.lib
Non-Windows Dynamic /Prc/bin/<conf>/OdPrcDumpModule.tx
Non-Windows Static /Prc/lib/<conf>/libOdPrcDumpModule.a

Third-Party Libraries

ODA PRC SDK core modules use third-party libraries included in binary archives:

  • Windows platforms:
    • /Prc/exe/<conf> for dynamic (*.dll files) versions
    • /Prc/lib/<conf> for static (*.lib files) versions
  • Non-Windows platforms:
    • /Prc/bin/<conf> for dynamic (lib*.so files) versions
    • /Prc/lib/<conf> for static (lib*.a files) versions

For example, ODA PRC SDK depends on the following third-party libraries:

  • LibXML — Library used for dumping .prc files into XML format (implements functionality for working with .xml files).
  • zlib.lib — Library used for compressing data functionality.
  • md5.lib — Library used for creating MD5 hashes and generating unique identifiers.

Configuration Folder Name

<conf> is a configuration folder name that depends on the binary archive that was downloaded and unpacked.

For example, a configuration folder can have the following names:

  • android_x86_r10c_linux_x64
  • hp64
  • iphone_9.1sim
  • lnxX86_4.2
  • lnxX86_4.7dll
  • macOsX_x64_10.5dll
  • solx86
  • sparc32gcc
  • vc11dll

See Download ODA PRC SDK for additional information about downloadable archive names for supported configurations.

Sample Applications

ODA Platform also provides several sample applications that illustrate the methods of using the PRC format supporting modules.

See ODA PRC SDK Sample Applications for additional information.

See Also

Activating ODA Software

ODA PRC SDK Sample Applications

Download ODA PRC SDK

Copyright © 2002 – 2022. Open Design Alliance. All rights reserved.