Since version 2026, Flux 3D and Flux PEEC are no longer available.
Please use SimLab to create a new 3D project or to import an existing Flux 3D project.
Please use SimLab to create a new PEEC project (not possible to import an existing Flux PEEC project).
/!\ Documentation updates are in progress – some mentions of 3D may still appear.
importGeomFromDXF
Import geometry from a DXF file
Syntax
importGeomFromDXF(importedFile, coordSys, dimension, unitsMode, unitsConversionFactor, precisionMode, precision, convertEntities, convertBlocks, importExtendedEntities)
Parameters
- importedFile : DXF file to import - [1..1] String
- coordSys : Coordinate system to attach the imported geometry - [0..1] CoordSys
-
dimension : Import in 3D or convert in 2D - [0..1] Enumeration
Potential values :
- 3D
- 2D
-
unitsMode : Length unit in the file (meter or conversion factor) - [0..1] Enumeration
Potential values :
- Meter
- ConversionFactor
- unitsConversionFactor : Optional Conversion Factor with meter of the length unit - [0..1] Double
-
precisionMode : Import with automatic or manual precision - [0..1] Enumeration
Potential values :
- Automatic
- UserDefined
- precision : User defined precision on distance (absolute precision) - [0..1] Double
-
convertEntities : Convert ENTITIES during the import - [0..1] Enumeration
Potential values :
- yes
- no
-
convertBlocks : Convert BLOCKS during the import - [0..1] Enumeration
Potential values :
- no
- yes
-
importExtendedEntities : Import EXTENDED ENTITIES - [0..1] Enumeration
Potential values :
- no
- yes
Returns
No return value