<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Jesús,</p>
    <p>No - that's a misconception. Despite the name of the library it
      also reads DWG files. It's not perfect, but it reads DWG ;-)</p>
    <p>Greetings,</p>
    <p>Andreas<br>
    </p>
    <div class="moz-cite-prefix">Am 04.09.20 um 17:43 schrieb Jesús de
      Diego Alarcón:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAE_OVyRFLmShYcqfFpR5RWmLu5_z4-dBZj6=DCjxktj8hqz_Hw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi Andreas
        <div><br>
        </div>
        <div>First of all, thank you so much for your (quick) answer. I
          will take a look but it seems that libdxfrw is working for <b>dxf
            files, not dwg</b>...Any case I will take a look.</div>
        <div><br>
        </div>
        <div>Thanks again</div>
        <div><br>
        </div>
        <div>Jesús de Diego</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">El vie., 4 sept. 2020 a las
          14:48, Andreas Neumann (<<a
            href="mailto:a.neumann@carto.net" moz-do-not-send="true">a.neumann@carto.net</a>>)
          escribió:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div
            style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
            <p>Hi,</p>
            <p>It is using the libdxfrw library.</p>
            <p>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: <a
                href="https://github.com/qgis/QGIS/tree/master/external/libdxfrw"
                target="_blank" moz-do-not-send="true">https://github.com/qgis/QGIS/tree/master/external/libdxfrw</a></p>
            <p>Greetings,</p>
            <p>Andreas</p>
            <p id="gmail-m_2972187626554168799reply-intro">On 2020-09-04
              14:38, Jesús de Diego Alarcón wrote:</p>
            <blockquote type="cite" style="padding:0px
              0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
              <div id="gmail-m_2972187626554168799replybody1">
                <div>
                  <div dir="ltr">Dear all
                    <div> </div>
                    <div>I would like to know which library is using
                      QGIS for importing dwg files (this functionality
                      is accessible in <em>File >  Import/Export
                        > Importing a DXF or DWG file </em>).</div>
                    <div> </div>
                    <div>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).</div>
                    <div> </div>
                    <div>Any help will be appreciated. Thank you in
                      advance</div>
                    <div> </div>
                    <div>Jesús de Diego<br clear="all">
                      <div> </div>
                      -- <br>
                      <div dir="ltr">Jesús de Diego Alarcón<br>
                        <a href="mailto:jesdial@gmail.com"
                          rel="noreferrer" target="_blank"
                          moz-do-not-send="true">jesdial@gmail.com</a><br>
                        <br>
                        "La vida es linda, lo malo es que muchos
                        confunden lindo con fácil."<br>
                        Mafalda</div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
              <div style="margin:0px;padding:0px;font-family:monospace">_______________________________________________<br>
                QGIS-Developer mailing list<br>
                <a href="mailto:QGIS-Developer@lists.osgeo.org"
                  target="_blank" moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a><br>
                List info: <a
                  href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
                  rel="noopener noreferrer" target="_blank"
                  moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
                Unsubscribe: <a
                  href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
                  rel="noopener noreferrer" target="_blank"
                  moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div>
            </blockquote>
            <p><br>
            </p>
          </div>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="gmail_signature">Jesús de Diego Alarcón<br>
        <a href="mailto:jesdial@gmail.com" target="_blank"
          moz-do-not-send="true">jesdial@gmail.com</a><br>
        <br>
        "La vida es linda, lo malo es que muchos confunden lindo con
        fácil."<br>
        Mafalda</div>
    </blockquote>
  </body>
</html>