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