Drawings SDK Developer Guide > Getting Started with Drawings SDK > Using Sample Applications >
Reading, Dumping and Writing a .dst File

Summary

ODA Product: Drawings SDK
Sample Name: OdSheetSet
Categories: C++ / Advanced Developer / Working with .dwg files / Android, iOS, macOS, Linux, Windows
Location: <INSTALL_DIR>/Drawing/Examples/OdSheetSet

Description

OdSheetSet is a sample console application used for reading, dumping and optionally writing a .dst file.

Run Sample Application

To run the OdSheetSet sample application, please do the following:

  1. Open the terminal and go to the directory where the sample binary file is built:
    • For Windows: <INSTALL_DIR>\exe\<PLATFORM_NAME>\
    • For Non-Windows OS: <INSTALL_DIR>/bin/<PLATFORM_NAME>/
    <INSTALL_DIR> is a directory where you unpacked the Drawings SDK archive.
    To determine your <PLATFORM_NAME> parameter, please see the ODA Platform Naming Conventions section in the Downloading Drawings SDK topic.
  2. Run the sample with appropriate arguments:
    OdSheetSet <infilename> [<outfilename>]
infilename A full path to a .dst file to read data from. Please note, that the extension (.dst) should be also specified.
outfilename A full path to an output .dst file to write data to (not required). Please note, that the extension (.dst) should be also specified.

If the application executed properly, you will see the dump of the source sheet set file. In case you get the "usage" message, check the parameters. An error message indicates problems with the source file.

See also:

Using the Sample Code

Copyright © 2002 – 2021. Open Design Alliance. All rights reserved.