Export to DWG
Feature Description
This tool is used to export datasets as AutoCAD DWG (.dwg) files. Special note: If text exists, the text styles that can be retained after export include: font, font size, text color, bold, underline, strikethrough. Other styles are not supported temporarily.
Parameter Description
| Parameter Name | Parameter Interpretation | Parameter Type |
|---|---|---|
| Array of Source Datasets to Be Exported | Set the datasets to be exported through the Add, Delete and other buttons on the toolbar of the array of source datasets to be exported list box. | DatasetVector |
| Result File | Set the file name of the target dataset. | String |
| Export Path | The path information for exporting the target file. | String |
| Overwrite | This check box is used to set whether to overwrite an existing dataset with the same name under the export path. If checked, the existing file with the same name will be overwritten; if unchecked, the file will not be exported. | Boolean |
| Export Extended Field | Used to display or set whether to export extended fields of AutoCAD files. By default, not exported. | Boolean |
| Export Extension Records | Used to set whether to export extension records of AutoCAD files. By default, not exported. | Boolean |
| Export Borders | Used to set whether to derive the boundary when exporting CAD polygon objects or rectangles. By default, exported. | Boolean |
| Export Line Width | Used to set whether to export polyline width data in AutoCAD files. By default, not exported. | Boolean |
| Object Color by Layer | Used to set whether the color properties of all objects after export are uniformly set to ByLayer. If selected, all objects in the same layer will have the same color; if colors of objects in the same layer are inconsistent, the color of the same layer after export will be consistent with the color of the first object in the original layer. If not selected, the exported object color follows the color configured in the current desktop map. | Boolean |
| CAD Version | Select the version of the CAD file to export. The default is CAD2004. | CADVersion |
| Style Mapping File | Add a style mapping table to set the style of the exported CAD file. | String |
| Charset | The character encoding type used by the export dataset. To ensure the dataset can be displayed correctly, an appropriate charset should be used. When exporting, the default charset is ASCII (Default). The most commonly used ASCII charset is mostly for displaying Roman numerals and letters, GB2312 is used for displaying simplified Chinese characters, and to meet cross-language and cross-platform computer display needs, the Unicode charset is used. For the list of charsets supported by the application, please refer to Charset List. | Charset |
| Filter Expression | By setting a filter expression, you can filter out objects that do not need to be exported, so that objects meeting the conditions are exported. For how to use SQL Expression, please refer to SQL Expression. | String |
Output Result
| Parameter Name | Parameter Interpretation | Parameter Type |
|---|---|---|
| Export Results | Export results | String |