ODA Product: | Drawings SDK |
Sample Name: | OdReadEx |
Categories: | C++ / Beginner Developer / Working with .dwg files / Android, iOS, macOS, Linux, Windows |
Location: | <INSTALL_DIR>/Drawing/Examples/OdReadEx |
OdReadEx reads a drawing file and displays all information about the entities and object types located in the file.
It illustrates:
To run the OdReadEx 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.
OdReadEx <filename> [MT] [DO] [DR] [PL] [DD]
filename
|
A full path to a drawing file to read data from. |
MT | A loading data in multi threading mode. |
DO | Disable the output of the progress meter. |
DR | Disable dimensions recomputing. |
PL | Enable partial loading. |
DD | Only loading data without dumping. |
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.
|