ODA Product: | Civil SDK |
Sample Name: | ExTcCopy |
Source Code Location: | <INSTALL_DIR>/Civil/Examples/ExTcCopy |
The ExTcCopy sample application saves a source .dwg file to another file. By default, the application updates the source .dwg file to the latest version. The drawing from the source file can be visualized to a .bmp image.
It illustrates:
To run the ExTcCopy 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.
ExTcCopy <source file> <target file> [target type] [target version]
source file
|
Full path to a drawing file to read input data from. |
target file
|
Full path to a target file. |
target type | Optional. Can be any of the following: DWG, BMP. Default is DWG. |
target version | Optional. The ExTcCopy sample application supports saving in the latest version of the .dwg format only (ACAD2007). Default is ACAD2007. |
If the application executed properly, the target file will appear with no additional messages displayed. 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.
|