Import DXF
Instructions for use
AutoCAD Drawing Exchange Format (*.dxf) is a file format developed by Autodesk for data exchange between AutoCAD and other software formats. It is an ASCII or binary file format for graphic files, used to export graphics to other applications and import graphics from other applications. The Import DXF tool can import DXF files as simple datasets or CAD datasets.
Parameter description
| Parameter Name | Parameter Interpretation | Parameter Type |
|---|---|---|
| select file | Enter the data path information that needs to be imported. | String |
| result datasource | Specify the datasource where the result dataset is stored. | Datasource |
| result dataset | Specified resulting dataset name. | String |
| Group | Supports importing data into a specified group. If no group is selected, the data is imported under the datasource. | String |
| encode type | Specify the encoding type of the dataset to be generated. | EncodeType |
| import schema | Set the import mode when a dataset with the same name exists. | ImportMode |
| dataset type | Select the type of dataset after import. Supports importing as CAD Dataset or simple dataset, default is simple dataset. | Boolean |
| import null dataset | Check this checkbox. If the import dataset is empty, an empty dataset without objects is imported by default. Otherwise, the program will prompt that the import failed. | Boolean |
| create spatial index | Set whether to create a spatial index for the import dataset. By default, it is checked. If checked, a spatial index will be created for the dataset according to the supported index types, which can improve the efficiency of spatial queries and data access. | Boolean |
| curve fitting precision | Used to set the curve fitting precision for line objects or the edges of face objects when importing data. The default is 73. | Integer |
| unite layers | Used to set whether to merge layers after import. By default, it is not checked. If checked, all CAD layers of the same type are merged into one dataset for import; if not checked, each CAD layer is imported as a separate dataset. | Boolean |
| import symbol block | Used to set whether to import a symbol block as a point object. If checked, it is imported as a symbol block. If not checked, it is imported as a point object. | Boolean |
| import extended field | Used to set whether to import data similar to attribute tables in AutoCAD drafting. These external extended data are imported as additional fields. By default, it is not checked, meaning external extended data is not imported; if this checkbox is checked, when importing CAD format data, the external extended data is appended after the default fields. | Boolean |
| import invisible layers | Used to set whether to import invisible layers in AutoCAD graphic files. By default, they are not imported. | Boolean |
| import block attribute | Check this checkbox to import block attributes of the data during import; uncheck this checkbox to ignore block attributes during import. | Boolean |
| import extented records | Used to set whether to import user-definable fields and property fields as extended records. By default, they are not imported. | Boolean |
| keep object height | Used to set whether to retain 3D object height information (the Z-coordinate value of objects) when importing CAD containing 3D objects (such as 3D polylines). By default, it is not retained. If checked, after successful import, an Elevation field will be generated in the attribute table of the resulting dataset to store the object height information. | Boolean |
| keep parametric object | Used to set whether the result dataset retains composite face or composite line objects with parametric objects in the CAD Dataset when importing CAD containing parametric objects. By default, it is not retained. | Boolean |
| Retain Polyline Width | Used to set whether to retain the width of polylines (Polyline) in AutoCAD graphic files during import. In CAD, a polyline is a multi-segment line composed of a series of straight lines and arcs, and each segment can have its own width defined. By default, the original defined polyline width is retained. | Boolean |
| closed line to face | Used to set whether to generate a corresponding region dataset after importing closed lines. Selected (default option): After importing closed lines, retain the original line dataset and generate a corresponding region dataset. Not selected: After importing closed lines, only retain the line dataset. |
Boolean |
| fills the object turn point | Used to set whether to convert filled objects to a point dataset after import. Selected: Filled objects will be imported as a point dataset. Not selected (default option): Filled objects will be imported as a region dataset. |
Boolean |
Output Result
| Parameter Name | Parameter Interpretation | Parameter Type |
|---|---|---|
| result dataset | Result dataset | DatasetVector |