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 graphics files, used to output 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 | Description | Type |
---|---|---|
Select File | Specifies the path information of the data to be imported. | String |
Result Datasource | Specifies the datasource where the result dataset is stored. | Datasource |
Result Dataset | Specifies the name of the result dataset. | String |
Encode Type | Specifies the encoding type of the dataset to be generated. | EncodeType |
Import Mode | Sets the import mode when a dataset with the same name exists. | ImportMode |
Dataset Type | Selects the type of the dataset after import. Supports importing as CAD dataset or simple dataset. Default is simple dataset. | Boolean |
Import Null Dataset | Check this checkbox to import an empty dataset with no objects when the imported dataset is empty. Otherwise, the program will prompt that the import failed. | Boolean |
Create Spatial Index | Sets whether to create a spatial index for the imported dataset. Default 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 edge precision for line or polygon objects during import. Default is 73. | Integer |
Unite Layers | Sets whether to merge layers after import. Default is unchecked. If checked, all CAD layers of the same type will be merged into one dataset for import; if unchecked, each CAD layer will be imported as a separate dataset. | Boolean |
Import Symbol Block | Sets whether to import symbol blocks as point objects. If checked, they are imported as symbol blocks. If unchecked, they are imported as point objects. | Boolean |
Import Extended Field | Sets whether to import data similar to attribute tables in AutoCAD drawings. These external extended data are imported as additional fields. Default is unchecked, meaning external extended data are not imported; if checked, when importing CAD format data, external extended data will be appended after the default fields. | Boolean |
Import Invisible Layers | Sets whether to import invisible layers in AutoCAD drawing files. Default is not to import. | Boolean |
Import Block Attribute | Check this checkbox to import block attributes during import; uncheck to ignore block attributes. | Boolean |
Import Extended Records | Sets whether to import user-defined fields and attribute fields as extended records. Default is not to import. | Boolean |
Keep Object Height | Sets whether to retain the height information (Z-coordinate value of objects) when importing CAD that contains 3D objects (such as 3D polylines). Default is not to retain. If checked, after successful import, an Elevation field will be generated in the attribute table of the resulting dataset to store the height information of objects. | Boolean |
Keep Parametric Object | Sets whether the result dataset retains composite face or composite line objects with parametric features from the CAD dataset when importing CAD that contains parametric objects. Default is not to retain. | Boolean |
Keep Polyline Width | Sets whether to retain the width of polylines (Polyline) in AutoCAD drawing 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 line width defined. Default is to retain the originally defined polyline width. | Boolean |
Output Result
parameter name | Description | Type |
---|---|---|
Result Dataset | Result dataset. | DatasetVector |