<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">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">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">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">QGIS-Developer@lists.osgeo.org</a><br>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noopener noreferrer" target="_blank">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">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">jesdial@gmail.com</a><br><br>"La vida es linda, lo malo es que muchos confunden lindo con fácil."<br>Mafalda</div>