Hi Jesús,

No - that's a misconception. Despite the name of the library it also reads DWG files. It's not perfect, but it reads DWG ;-)

Greetings,

Andreas

Am 04.09.20 um 17:43 schrieb Jesús de Diego Alarcón:
Hi Andreas

First of all, thank you so much for your (quick) answer. I will take a look but it seems that libdxfrw is working for *dxf files, not dwg*...Any case I will take a look.

Thanks again

Jesús de Diego

El vie., 4 sept. 2020 a las 14:48, Andreas Neumann (<[email protected] <mailto:[email protected]>>) escribió:

    Hi,

    It is using the libdxfrw library.

    Jürgen might have forked/patched it though, because activity in
    the original project is basically stalled -  I think you can find
    our version here:
    https://github.com/qgis/QGIS/tree/master/external/libdxfrw

    Greetings,

    Andreas

    On 2020-09-04 14:38, Jesús de Diego Alarcón wrote:

    Dear all
    I would like to know which library is using QGIS for importing
    dwg files (this functionality is accessible in /File > 
    Import/Export > Importing a DXF or DWG file /).
    I had supposed that this functionality was using the
    newly-developed OGR CAD driver... But I have tried with ogr2ogr
    both command line and Python console and dwg files are not
    supported (at least the same dwf file I am able to import with
    the mentioned functionality).
    Any help will be appreciated. Thank you in advance
    Jesús de Diego
-- Jesús de Diego Alarcón
    [email protected] <mailto:[email protected]>

    "La vida es linda, lo malo es que muchos confunden lindo con fácil."
    Mafalda

    _______________________________________________
    QGIS-Developer mailing list
    [email protected]
    <mailto:[email protected]>
    List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
    Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer




--
Jesús de Diego Alarcón
[email protected] <mailto:[email protected]>

"La vida es linda, lo malo es que muchos confunden lindo con fácil."
Mafalda
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to