<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Thanks all, will try and do this as soon as I can get the Vector drop down list to actually drop down… is there a keyboard shortcut to get to the options? Ctrl+O isn’t working<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">Chiz Harward BA MCIfA he/him</span><span style="font-size:10.0pt;color:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">Senior Archaeologist, Urban Archaeology<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:red;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">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><span style="font-size:10.0pt;color:red;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB"><br>
<a href="http://urban-archaeology.blogspot.com/" target="_blank"><span style="color:blue">http://urban-archaeology.blogspot.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB"><a href="https://www.facebook.com/urb.arch/"><span style="color:blue">https://www.facebook.com/urb.arch/</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB"><a href="http://gloscross-slabs.blogspot.co.uk/"><span style="color:blue">http://gloscross-slabs.blogspot.co.uk/</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB"><br>
</span><span style="font-size:10.0pt;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">Urban Archaeology<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">2 Slad View,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">Gaineys Well,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">Stroud,<br>
Gloucestershire<br>
GL5 1LQ<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">07881 486837<br>
<a href="mailto:chiz@urban-archaeology.co.uk"><span style="color:blue">chiz@urban-archaeology.co.uk</span></a><br>
<br>
</span><span style="font-size:8.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">Urban Archaeology is a trading name of Chiz Harward BA MCIfA<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-GB"> Richard McDonnell <richard.mcdonnell@opw.ie>
<br>
<b>Sent:</b> Tuesday, February 13, 2024 11:16 AM<br>
<b>To:</b> Chiz Harward <chiz@urban-archaeology.co.uk><br>
<b>Cc:</b> qgis-user@lists.osgeo.org<br>
<b>Subject:</b> RE: Convert .shp to CAD, with attribute values as different layers<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-IE" style="color:#1F497D">Hi Chiz,</span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IE" style="color:#1F497D">The only thing I can think of is
<b>Split Vector Layer</b> (<b>Vector</b> </span><span lang="EN-IE" style="font-size:10.0pt;font-family:Wingdings;color:#1F497D">ð</span><span lang="EN-IE" style="color:#1F497D">
<b>Data Management</b>) that will allow you to split your Layer by attribute, outputting a DXF for each layer.</span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IE" style="color:#1F497D">The only issue is that you will have a series of separate Layers which you will have to manually merge into a single dxf file.</span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IE" style="color:#1F497D"> </span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IE" style="color:#1F497D">One other consideration would be, splitting the single layer by attribute in QGIS as separate Layers and then exporting the Project…..</span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IE" style="color:#1F497D">Sorry I can’t be of more help, there’s probably a way, using Python, to carry out the split and write out a single DXF, but I can’t help you there.</span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IE" style="color:#1F497D">Kind Regards,</span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IE" style="color:#1F497D"><br>
Richard</span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IE" style="color:#1F497D"> </span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IE" style="color:#1F497D"> </span><span lang="EN-IE"><o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="500" style="width:375.0pt">
<tbody>
<tr>
<td width="500" style="width:375.0pt;padding:0cm 0cm 4.5pt 0cm">
<p class="MsoNormal" style="line-height:11.25pt"><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#004D44;mso-fareast-language:EN-GB"><br>
——</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#004D44;mso-fareast-language:EN-GB"><br>
<b>Richard McDonnell MSc GIS, FME Certified Professional</b><br>
<i>Geographical Information Systems Officer</i><br>
<br>
——<br>
<b>Oifig na nOibreacha Poiblí</b><br>
Office of Public Works<br>
<br>
</span><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#565148;mso-fareast-language:EN-GB">Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#004D44;mso-fareast-language:EN-GB"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#565148;mso-fareast-language:EN-GB">Jonathan Swift Street, Trim, Co Meath, C15 NX36</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#004D44;mso-fareast-language:EN-GB"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#565148;mso-fareast-language:EN-GB">——</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#004D44;mso-fareast-language:EN-GB"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#565148;mso-fareast-language:EN-GB">M +353 87 688 5964 T +353 46 942 2409</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#004D44;mso-fareast-language:EN-GB"><br>
<a href="https://gov.ie/opw">https://gov.ie/opw</a><br>
<br>
——<br>
To send me files larger than 30MB, please use the link below <a href="https://filetransfer.opw.ie/filedrop/richard.mcdonnell@opw.ie">
https://filetransfer.opw.ie/filedrop/richard.mcdonnell@opw.ie</a><br>
<br>
Email Disclaimer: <a href="https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/">
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/</a> <o:p>
</o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="EN-IE" style="display:none;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="420" style="width:315.0pt">
<tbody>
<tr>
<td width="420" style="width:315.0pt;padding:0cm 0cm 4.5pt 0cm">
<p class="MsoNormal" style="line-height:11.25pt"><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#004D44;mso-fareast-language:EN-GB"><br>
——</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#004D44;mso-fareast-language:EN-GB"><br>
<b>MSc GIS, FME Certified Professional</b><br>
<br>
——<br>
<b>Oifig na nOibreacha Poiblí</b><br>
Office of Public Works<br>
<br>
</span><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#565148;mso-fareast-language:EN-GB">Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#004D44;mso-fareast-language:EN-GB"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#565148;mso-fareast-language:EN-GB">Jonathan Swift Street, Trim, Co Meath, C15 NX36</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#004D44;mso-fareast-language:EN-GB"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#565148;mso-fareast-language:EN-GB">——</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#004D44;mso-fareast-language:EN-GB"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#565148;mso-fareast-language:EN-GB">M +353 87 688 5964 T +353 46 942 2409</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#004D44;mso-fareast-language:EN-GB"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#565148;mso-fareast-language:EN-GB"><a href="https://www.opw.ie">https://https://gov.ie/opw</a></span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#004D44;mso-fareast-language:EN-GB"><br>
<br>
——<br>
Email Disclaimer: <a href="https://www.opw.ie/en/disclaimer/">https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/</a>
<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-IE">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-IE"> QGIS-User <<a href="mailto:qgis-user-bounces@lists.osgeo.org">qgis-user-bounces@lists.osgeo.org</a>>
<b>On Behalf Of </b>Chiz Harward via QGIS-User<br>
<b>Sent:</b> 13 February 2024 10:04<br>
<b>To:</b> <a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br>
<b>Subject:</b> [Qgis-user] Convert .shp to CAD, with attribute values as different layers</span><span lang="EN-IE"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-IE"> <o:p></o:p></span></p>
<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. <span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"> <span lang="EN-IE"><o:p></o:p></span></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<span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"> <span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal">Running QGIS 3.16.11 Hannover<span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal">Any help appreciated<span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"> <span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">Chiz Harward BA MCIfA he/him</span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">Senior Archaeologist, Urban Archaeology</span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB"> </span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:red;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">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><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB"><br>
<a href="http://urban-archaeology.blogspot.com/" target="_blank"><span style="color:blue">http://urban-archaeology.blogspot.com</span></a></span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB"><a href="https://www.facebook.com/urb.arch/"><span style="color:blue">https://www.facebook.com/urb.arch/</span></a></span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB"><a href="http://gloscross-slabs.blogspot.co.uk/"><span style="color:blue">http://gloscross-slabs.blogspot.co.uk/</span></a></span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB"><br>
</span><span style="font-size:10.0pt;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">Urban Archaeology</span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">2 Slad View,
</span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">Gaineys Well,
</span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">Stroud,<br>
Gloucestershire<br>
GL5 1LQ</span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">07881 486837<br>
<a href="mailto:chiz@urban-archaeology.co.uk"><span style="color:blue">chiz@urban-archaeology.co.uk</span></a><br>
<br>
</span><span style="font-size:8.0pt;color:black;mso-ligatures:standardcontextual;mso-fareast-language:EN-GB">Urban Archaeology is a trading name of Chiz Harward BA MCIfA</span><span lang="EN-IE"><o:p></o:p></span></p>
<p class="MsoNormal"> <span lang="EN-IE"><o:p></o:p></span></p>
</div>
</div>
</body>
</html>