ODA Product: | Civil SDK |
Sample Name: | TcReadEx |
Source Code Location: | <INSTALL_DIR>/Civil/Examples/TcReadEx |
The TcReadEx sample application is the analog of the OdReadEx sample application with Civil modules loading. TcReadEx reads a drawing file and displays information about the entities and object types located in the file.
It illustrates:
To run the TcReadEx 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
Civil SDK archive.<PLATFORM_NAME>
parameter, please see
the ODA Platform Naming Conventions section in the
Downloading Civil SDK topic.
TcReadEx <filename> [MT] [DO] [DR] [PL] [DD]
filename
|
Full path to a drawing file to read data from. |
MT | Enable data loading in a multi threading mode. |
DO | Disable the output of the progress meter. |
DR | Disable dimensions recomputing. |
PL | Enable partial loading. |
DD | Only loading data without dumping. |
If the application executed properly, you will see information about the entities and object types located in the source file. In the "DD" mode only loading progress will be displayed. In case you get the "usage" message, check the parameters. An error message indicates problems with the source file.
Copyright © 2002 – 2021. Open Design Alliance. All rights reserved.
|