<html><head></head><body><div dir="auto">Hi Chaz,<br>There was a bug that hid that in the past (fixed in next release) but if you scroll the dxf dialog to the right, you'll get an "output layer attribute" column that helps you select whether a layer should remain a layer in the dxf or split across one of its fields.<br><a href="https://docs.qgis.org/3.28/en/docs/user_manual/managing_data_source/create_layers.html/create-dxf-files">https://docs.qgis.org/3.28/en/docs/user_manual/managing_data_source/create_layers.html/create-dxf-files</a><br><br>Regards,<br>Harrissou</div><br><br><div class="gmail_quote"><div dir="auto">Le 13 février 2024 11:21:13 GMT+01:00, Christine via QGIS-User <qgis-user@lists.osgeo.org> a écrit :</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="font-family: Verdana;font-size: 12.0px;"><div> 
<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 13. Februar 2024 um 11:20 Uhr<br>
<b>Von:</b> geo.guide@web.de<br>
<b>An:</b> chiz@urban-archaeology.co.uk<br>
<b>Betreff:</b> Aw: [Qgis-user] Convert .shp to CAD, with attribute values as different layers</div>

<div name="quoted-content">
<div style="font-family: Verdana;font-size: 12.0px;">
<div><span style="font-family: Verdana , Geneva , sans-serif;"><span style="font-size: 12.0px;">Dear Chiz,</span></span></div>

<div><span style="font-family: Verdana , Geneva , sans-serif;"><span style="font-size: 12.0px;">you may achieve separated shapefiles with </span><span style="font-size: 11.0px;"><span style="font-size: 12.0px;"><strong>vector</strong> [menu] > <strong>Data Management Tools</strong> > <strong>Split Vector Layers</strong> [Tool]. </span></span></span></div>

<div> </div>

<div><span style="font-family: Verdana , Geneva , sans-serif;"><span style="font-size: 11.0px;"><span style="font-size: 12.0px;">The tool allows you to choose the attribute field as a unique ID field, the output field type (shp, dxf ...) and the output directory for the results of the tool. You may find the same tool in the Geoprocessing menu as well. </span></span></span></div>

<div>
<div> </div>

<div>Warm regards,</div>

<div>Christine</div>

<div> 
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Dienstag, 13. Februar 2024 um 11:04 Uhr<br>
<b>Von:</b> "Chiz Harward via QGIS-User" <qgis-user@lists.osgeo.org><br>
<b>An:</b> "qgis-user@lists.osgeo.org" <qgis-user@lists.osgeo.org><br>
<b>Betreff:</b> [Qgis-user] Convert .shp to CAD, with attribute values as different layers</div>

<div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Hallo, I have a shapefile that has attributes and need to convert this to a CAD file. I can do this by export project to dxf, but it comes through with one CAD layer per shapefile. I need to have the shapefile come through as different CAD layers according to one of the attribute fields.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Example: Shapefile contains many polygons, the attribute field ‘colour’ of each polygon can be red, blue, green etc. I need it to get it into CAD with a layer for the red polygons, one for the blue, one for green etc</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Running QGIS 3.16.11 Hannover</p>

<p class="MsoNormal">Any help appreciated</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><span style="font-size: 10.0pt;color: black;">Chiz Harward BA MCIfA he/him</span></p>

<p class="MsoNormal"><span style="font-size: 10.0pt;color: black;">Senior Archaeologist, Urban Archaeology</span></p>

<p class="MsoNormal"><span style="font-size: 10.0pt;color: black;"> </span></p>

<p class="MsoNormal"><span style="font-size: 10.0pt;color: red;">I work flexibly - so whilst it suits me to email now, I do not expect a response or action outside of your own working hours</span></p>

<p class="MsoNormal"><br>
<span style="font-size: 10.0pt;color: black;"><a href="http://urban-archaeology.blogspot.com/" target="_blank"><span style="color: blue;">http://urban-archaeology.blogspot.com</span></a></span></p>

<p class="MsoNormal"><span style="font-size: 10.0pt;color: black;"><a href="https://www.facebook.com/urb.arch/" target="_blank"><span style="color: blue;">https://www.facebook.com/urb.arch/</span></a></span></p>

<p class="MsoNormal"><span style="font-size: 10.0pt;color: black;"><a href="http://gloscross-slabs.blogspot.co.uk/" target="_blank"><span style="color: blue;">http://gloscross-slabs.blogspot.co.uk/</span></a></span></p>

<p class="MsoNormal"><br>
<span style="font-size: 10.0pt;">Urban Archaeology</span></p>

<p class="MsoNormal"><span style="font-size: 10.0pt;">2 Slad View, </span></p>

<p class="MsoNormal"><span style="font-size: 10.0pt;">Gaineys Well, </span></p>

<p class="MsoNormal"><span style="font-size: 10.0pt;color: black;">Stroud,<br>
Gloucestershire<br>
GL5 1LQ</span></p>

<p class="MsoNormal"><span style="font-size: 10.0pt;color: black;">07881 486837<br>
<a href="mailto:chiz@urban-archaeology.co.uk" onclick="" target="_blank"><span style="color: blue;">chiz@urban-archaeology.co.uk</span></a></span><br>
<br>
<span style="font-size: 8.0pt;color: black;">Urban Archaeology is a trading name of Chiz Harward BA MCIfA</span></p>

<p class="MsoNormal"> </p>
</div>
_______________________________________________ QGIS-User mailing list QGIS-User@lists.osgeo.org List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></blockquote></div></body></html>