ODA Product: | Drawings SDK |
Sample Name: | ExDgnDwgProject |
Categories: | C++ / Beginner / Working with .dwg files, Working with .dgn files / Android, iOS, macOS, Linux, Windows, WinCE, WinRT |
Location: | <INSTALL_DIR>/Dgn/Examples/ExDgnDwgProject |
Note: <INSTALL_DIR>
is a directory where
you unpacked the Drawings SDK archive.
A simple console application that illustrates working with .dwg and .dgn files. It creates a new .dwg and a new .dgn file and fills them with some objects.
To run the ExDgnDwgProject 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.
ExDgnDwgProject <destination file>
destination file
|
Full path to destination files with file name. Please note, that the extension of the destination file should not be specified. Two files with the same name are created: one with the .dwg extension and another with the .dgn extension. |
If the application executed properly, you will see the progress of the .dgn file saving process, database conversion process and the .dwg file saving process. In case you get the "usage" message, check the parameters.
Copyright © 2002 – 2021. Open Design Alliance. All rights reserved.
|