ODA Product: | Drawings SDK |
Sample Name: | ExDgnReadWrite |
Categories: | C++ / Beginner / Working with .dgn files / Android, iOS, macOS, Linux, Windows, WinCE, WinRT |
Location: | <INSTALL_DIR>/Dgn/Examples/ExDgnReadWrite |
Note: <INSTALL_DIR>
is a directory where
you unpacked the Drawings SDK archive.
A simple console application that reads a .dgn file to a database, slightly modifies some elements and then saves the database to a V8 .dgn file.
To run the ExDgnReadWrite 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.
ExDgnReadWrite <source file> <destination file> [MtLoading] [NoWait]
source file
|
Full path to the source .dgn file. |
destination file
|
Full path to the destination .dgn file. Please note, that the extension of the file should be also specified. |
MtLoading
|
Enable multi-threaded loading. |
NoWait
|
Disable prompt. |
If the application executed properly, the destination file will appear. 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.
|