ODA Product: | Drawings SDK |
Sample Name: | ExDgnCreate |
Categories: | C++ / Beginner / Working with .dgn files / Android, iOS, macOS, Linux, Windows, WinCE, WinRT |
Location: | <INSTALL_DIR>/Dgn/Examples/ExDgnCreate |
Note: <INSTALL_DIR>
is a directory where
you unpacked the Drawings SDK archive.
A sample application that illustrates creating a new drawing, populating it with various elements and saving it to a V8 .dgn file.
To run the ExDgnCreate 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.
ExDgnCreate <filename> [-DO] [MAT_SS3]
filename
|
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. |
MAT_SS3
|
Use SS3 materials. |
If the application executed properly, you will see the progress of the target file saving process (until the -DO parameter is used). In case you get the "usage" message, check the parameters.
Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.
|