ODA Product: | Drawings SDK |
Sample Name: | OdAveEx |
Categories: | C++ / Working with .dwg files, Working with .dgn files / Linux, Windows |
Location: | <INSTALL_DIR>/Drawing/Examples/OdAveEx |
The sample illustrates working with old-style materials, lights, scenes (AVE) used in early versions of .dwg files.
To run the OdAveEx 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.
OdAveEx <option> <filename>
option
|
-r — Dump AVE information from file. -w — Create a sample file with AVE information using box.sat file data. |
filename
|
Full path to a .dwg file. |
If the application executed properly, you will see the progress of loading or saving a file (depending on the option) and information about the AVE data dump. 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.
|