ODA Product: | Drawings SDK |
Sample Name: | OdVectorizeEx |
Categories: | C++ / Beginner Developer / Working with .dwg files / Android, iOS, macOS, Linux, Windows |
Location: | <INSTALL_DIR>/Drawings/Examples/OdVectorizeEx |
OdVectorizeEx is a simple console application used for dumping geometry of the active layout to the console. It illustrates:
To run the OdVectorizeEx 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.
OdVectorizetEx <input file>
input file
|
A full path to a drawing file. Please note, that the extension of the drawing file should be .dwg, .dxf or.dxb. |
Output is written to the standard output stream (stdout
).
You can redirect the output if you need it.
If the application executed properly, you will see the source file loading progress and a database dump, that includes all information about the entities and object types located in the file. In case you get the "usage" message, check the parameters. An error message indicates problems with the source file.
Copyright © 2002 – 2021. Open Design Alliance. All rights reserved.
|