ODA Product: | Drawings SDK |
Sample Name: | OdColladaExportEx |
Categories: | C++ / Working with .dwg files / Android, iOS, macOS, Linux, Windows |
Location: | <INSTALL_DIR>/Drawing/Examples/OdColladaExportEx |
OdColladaExportEx is a simple console application used for reading a .dwg or .dxf file and writing it to a Collada (.dae) file. It illustrates the usage of Drawing/Exports/ColladaExport functionality.
To run the OdColladaExportEx sample application, please do the following:
<INSTALL_DIR>\exe\<PLATFORM_NAME>\
<INSTALL_DIR>/bin/<PLATFORM_NAME>/
<INSTALL_DIR>
is a directory where you unpacked the
Drawings SDK archive.<PLATFORM_NAME>
parameter, please see
the ODA Platform Naming Conventions section in the
Downloading Drawings SDK topic.
OdColladaExportEx <input file> <output file>
input file
|
A full path to a .dxf or .dwg file to read data from. |
output file
|
A full path to a .dae file to write data to. |
If the application executed properly, you will see the file loading progress and a message that the database was converted successfully and the file is successfully exported. In case you get the "usage" message, check the parameters. An error message indicates problems with the source file.
Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.
|