C++ / Working with .dwg files, Working with .dgn files / Linux, Windows
Location:
<INSTALL_DIR>/Drawing/Examples/OdBagFiler
Description
Illustrates usage of the oddbEntGet() function.
Run Sample Application
To run the OdBagFilerEx sample application, please do the following:
Open the terminal and go to the directory where the sample binary file is
built:
For Windows:
<INSTALL_DIR>\exe\<PLATFORM_NAME>\
For Non-Windows OS:
<INSTALL_DIR>/bin/<PLATFORM_NAME>/
<INSTALL_DIR> is a directory where you unpacked the
Drawings SDK archive.
To determine your <PLATFORM_NAME> parameter, please see
the ODA Platform Naming Conventions section in the
Downloading Drawings SDK topic.
Run the sample with appropriate arguments:
OdBagFilerEx <filename>
filename
Full path to a .dwg file.
If the application executed properly, you will see the information about the
data dump of the objects contained in the source file.
In case you get the "usage" message, check the parameters.
An error message indicates problems with the source file.