ODA Product: | Drawings SDK |
Sample Name: | ExDgnXRefDump |
Categories: | C++ / Advanced / Working with .dwg files, Working with .dgn files / Android, iOS, macOS, Linux, Windows, WinCE, WinRT |
Location: | <INSTALL_DIR>/Dgn/Examples/ExDgnXRefDump |
Note: <INSTALL_DIR>
is a directory where
you unpacked the Drawings SDK archive.
A simple console application that shows working with Reference Attachment elements that can be stored in both .dgn and .dwg files. This application loads a .dgn file and dumps found XData database elements to the destination file.
To run the ExDgnXRefDump 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.
ExDgnXRefDump <source file> <destination file>
source file
|
Full path to the source .dgn file. |
destination file
|
Full path to the destination file, to save the dump data in. |
If the application executed properly, you will see the progress of the source file loading process. 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.
|