ODA Product: | Drawings SDK |
Sample Name: | ExDgnCopy |
Categories: | C++ / Beginner / Working with .dgn files / Android, iOS, macOS, Linux, Windows, WinCE, WinRT |
Location: | <INSTALL_DIR>/Dgn/Examples/ExDgnCopy |
Note: <INSTALL_DIR>
is a directory where
you unpacked the Drawings SDK archive.
A simple cross-platform console application that copies an existing .dgn file to a new .dgn file.
To run the ExDgnCopy 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.
ExDgnCopy <source file> <destination file> [-DO] [MtLoading]
source file
|
Full path to the source .dgn file to be copied. |
destination file
|
Full path to the destination file. Please note, that the extension of the target file should be also specified. |
-DO
|
Disable the output of the progress meter. |
MtLoading
|
Enable multi-threaded loading. |
If the application executed properly, you will see the progress of the source file loading and the destination file saving process (until the -DO parameter is used). 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.
|