ODA Product: | Drawings SDK |
Sample Name: | ExDgnImport |
Categories: | C++ / Working with .dwg files, Working with .dgn files / Android, iOS, macOS, Linux, Windows |
Location: | <INSTALL_DIR>/Drawing/Examples/ExDgnImport |
Note: <INSTALL_DIR>
is a directory where
you unpacked the Drawings SDK archive.
ExDgnImport is a console application used for converting a .dgn file and saving it to a .dwg file. It illustrates the usage of Drawing/Imports/DgnImport functionality.
To run the ExDgnImport 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.
ExDgnImport <source file> <target file>
source file
|
Full path to the source file to be imported from. |
target file
|
Full path to the destination file. Please note, that the extension of the target file should be also specified. |
If the application executed properly, you will see the progress of the source file opening process, database conversion an saving the target file. 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.
|