Imports a DXF file into the current database. The ENTITIES section
of the DXF file is added to the open group.
If a DWG file is to be imported, it will first be converted to a
temporary DXF file. This conversion is performed using the Internet based
service CloudConvert. As a prerequisite the user must be registered at
CloudConvert and the Internet must be accessible.
Important parameters like the scale factor and the coordinate unit are not
defined in a DXF file. The user has to specify these parameters.
It is important to adjust the settings of the database
before importing because a correction is not possible afterwards.
- Scale factor: The scale factor is not defined in a DXF file.
Because CADEMIA defines data like line widths, line patterns, fill
paints, text sizes and paper formats in a scale-dependent way it is
important to define the correct scale before the import starts.
- Units: DXF files are dimensionless. Since the unit of coordinates
and distances is not explicitly defined, the user is responsible for the correct setting. The
specified unit is only applied to the data being imported and does not have
to be the same as that of the database.
- Note: To import DXF files from CADENAS PARTcommunity
please specify the unit [mm].
- Character encoding: DXF files are usually encoded in
ISO 8859-1 also known as Latin-1. The user can specify a
- Note: Files converted by CloudConvert have UTF-8
- Undefined text styles: Often the problem arises that the text
styles used in the DXF file are not defined (or are defined under a
different name) in the database. In this case the user must select a
replacement from the available font families of the platform, for
If a text font is selected here then it will replace any undefined
text style during import. If Prompt as necessary is selected
then the user can define an individual text font for any undefined
- Layout-Entities: DXF distinguishes between model and paper
space. CADEMIA contains a model space but not a paper space. The DXF
import yields best results for entities stored in DXF model space. The
user can define how paper space entities should be handled: They can be
ignored or they can be imported to CADEMIA, the latter often yielding
The data import reflects the structure of the DXF file.
From the TABLES section the STYLE, LTYPE and LAYER tables are
imported to CADEMIA.
From the ENTITIES section the following types are imported into
CADEMIA: ARC, ATTDEF, ATTRIB, CIRCLE, DIMENSION, ELLIPSE, HATCH, INSERT,
LINE, LWPOLYLINE, MTEXT, POLYLINE, SOLID, TEXT and VERTEX. INSERTs are
resolved from the referenced block in the BLOCKS section and are
represented as groups.
BLOCK and INSERT entities are represented in CADEMA as named groups and
references. ATTRIB- and ATTDEF entities are mapped to extrinsic features.
All other entity types are skipped. ImportDXF keeps track of the imported
entities and shows a report at the end of the command.
Various options are available that have been established, in part, for the
processing of CADENAS components with the standard DXF import:
- Select: Select the imported components.
In this manner one can distinguish the new components from the
- Group: Assemble the imported components into an anonymous
group. This option can be useful when importing CADENAS parts when
the entities are not defined in the DXF file as BLOCK .
- Window fit: Show the imported components in the graphic
- Status: Display a status of the DXF import.
- Placement: Change the placement of imported
components. By default, they are placed at the origin of the
user coordinate system. This option allows the dynamic placement
of imported components, making it suitable for placement of CADENAS