ODA Product: | Drawings SDK |
Sample Name: | ExDgnVectorize |
Categories: | C++ / Advanced / Working with .dgn files / Android, iOS, macOS, Linux, Windows, WinCE, WinRT |
Location: | <INSTALL_DIR>/Dgn/Examples/ExDgnVectorize |
Note: <INSTALL_DIR>
is a directory where
you unpacked the Drawings SDK archive.
A sample application that dumps geometry of the active layout of the .dgn file to the console or to the destination .stl file.
To run the ExDgnVectorize 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.
ExDgnVectorize <filename> [<stlFilename>] [-DO]
filename
|
Full path to the source .dgn file. |
stlFilename
|
Full path to the destination .stl file, to save the dumped geometry data in. Please note, that the extension of the file should be also specified. |
-DO
|
Disable the output of the progress meter. |
If the application executed properly, you will see the progress of the source file loading process. After the file is loaded, the dump of geometry data appears. 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.
|