<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted1">
<span style="font-size:11pt;margin:0px" class="ContentPasted0">Hi,</span>
<div style="font-size:11pt;margin:0px"><br class="ContentPasted0">
</div>
<div style="font-size:11pt;margin:0px" class="ContentPasted0">thank you for your effort. <span style="font-size: 11pt;">Still, I have the same result.</span></div>
<div style="font-size:11pt;margin:0px" class="ContentPasted0"><br>
</div>
<div style="font-size:11pt;margin:0px" class="ContentPasted0">Here is a screenshot where I visualize the DXF file in AutoCAD viewer. I have highlighted the "Layer" and "Name" values. I would like to modify the Name from symbolLayer1 to a custom value.</div>
<div style="font-size:11pt;margin:0px" class="elementToProof"><br class="ContentPasted0">
</div>
<div style="font-size:11pt;margin:0px" class="elementToProof"><img style="max-width: 100%; width: 589px; height: 621px;" class="ContentPasted2 w-801 h-845" id="imageSelected0" width="589" height="621" size="73567" contenttype="image/png" data-outlook-trace="F:1|T:1" src="cid:44c1258b-dd1a-4340-8c11-e9e689906ce2"><br>
</div>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted1">
<span style="font-size:11pt;margin:0px"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">https://www.sgroe.at/</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">Screenshot
 2023-06-12-150500.png</span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted1 ContentPasted3 ContentPasted5">
According to <a href="https://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf" id="LPlnk117633">https://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf</a>, I would like to change the block name (Group code 2).</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted1 ContentPasted3">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted1 ContentPasted3 ContentPasted4">
INSERT
<div class="ContentPasted4">  5</div>
<div class="ContentPasted4">97</div>
<div class="ContentPasted4">100</div>
<div class="ContentPasted4">AcDbEntity</div>
<div class="ContentPasted4">100</div>
<div class="ContentPasted4">AcDbBlockReference</div>
<div class="ContentPasted4">  8</div>
<div class="ContentPasted4">GP</div>
<div class="ContentPasted4"><b>  2 <<<<<</b></div>
<div class="ContentPasted4"><b>symbolLayer0<b style="background-color: rgb(255, 255, 255);" class="ContentPasted6"><span class="ContentPasted6"> </span><<<<<</b></b></div>
<div class="ContentPasted4"> 50</div>
<div class="ContentPasted4">0.0</div>
<div class="ContentPasted4"> 10</div>
<div class="ContentPasted4">12.7812486278025137</div>
<div class="ContentPasted4"> 20</div>
<div class="ContentPasted4">46.84633353466695382</div>
  0<br>
</div>
<div id="appendonsend" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
Simon</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt; color: rgb(0, 0, 0);"><b>Von:</b> Richard McDonnell <richard.mcdonnell@opw.ie><br>
<b>Gesendet:</b> Montag, 12. Juni 2023 12:52<br>
<b>An:</b> Simon Gröchenig <groechenig@zt-gis.at><br>
<b>Cc:</b> qgis-user@lists.osgeo.org <qgis-user@lists.osgeo.org><br>
<b>Betreff:</b> RE: DXF Export symbolLayer</font>
<div> </div>
</div>
<div lang="EN-IE">
<div class="x_WordSection1">
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Hi Simon,</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Apologies, I didn’t quite understand what you were trying to do. So let’s start from the beginning again.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Thank you for sending on a sample, it helps greatly to understand what you are trying to do. Im still not 100% on what you are trying to achieve, so I have included two
 separate examples based on your data.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">In this first example, I will assume you are just trying to output the Layer as a DXF with symbols and styling as you have them shown on the canvas, this can simply be
 done by…</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoListParagraph" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: "Times New Roman", serif;text-indent:-18.0pt">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Selecting
<b>Project</b> from the Menubar then <b>Import</b>/<b>Export</b> – <b>Export Project to DXF</b></span></p>
<p class="x_MsoListParagraph" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: "Times New Roman", serif;text-indent:-18.0pt">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">In the next window set the<b> Save As</b> field set the Location you want your DXF along with giving it a name.</span></p>
<p class="x_MsoListParagraph" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: "Times New Roman", serif;text-indent:-18.0pt">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Symbology Scale</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> This will depend on what scales
 the DXF is being printed out at, I have set 250 for the example</span></p>
<p class="x_MsoListParagraph" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: "Times New Roman", serif;text-indent:-18.0pt">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">CRS</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">, I have kept it the same as your Project</span></p>
<p class="x_MsoListParagraph" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: "Times New Roman", serif;text-indent:-18.0pt">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><span style="mso-list:Ignore">5.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Layer
</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">This is the Layers you want to export, in this case
<b>sqq_subset</b></span></p>
<p class="x_MsoListParagraph" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: "Times New Roman", serif;text-indent:-18.0pt">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><span style="mso-list:Ignore">6.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">If you are only exporting
<b>only</b> what’s in Canvas view tick<b> Export features intersecting the current map extent,</b> otherwise untick this to export whole Layer</span></p>
<p class="x_MsoListParagraph" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: "Times New Roman", serif;text-indent:-18.0pt">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><span style="mso-list:Ignore">7.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">The only other thing I would tick in
<b>Export Labels as MTEXT</b> if you have labels you want in your outputs.</span></p>
<p class="x_MsoListParagraph" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: "Times New Roman", serif;text-indent:-18.0pt">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><span style="mso-list:Ignore">8.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Click
<b>OK</b></span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Now if you want a DXF with two layers,
<b>Grenzpunkt</b> and <b>Others</b>? You will need to split your single Layer into multiple layers. For the purposes of this I will assume were going for the two you have styled.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">I don’t know why I can’t add actual columns, only virtual only seems to be allowed</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Ok, so first thing to remember is DXF is not a smart dataset, so we need to dumb down your data a little.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">To do this, we need to split the dataset into two layers, one for Grenzpunkt and one for Others</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">So firstly we need to categorise all data into the Layers we want (Grenzpunkt and Others), to do this we do something similar to what we done before. We create a column
 let’s call it “<b>sgg_subset</b>” and into this we can use the following formula</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">CASE WHEN  "TYP" = 20  THEN 'Grenzpunkt'</span></b></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">ELSE 'Others'</span></b></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">END</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"></span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Next we use the
<b>Split vector layer </b>tool to create however many layers we want, in our case two. We use our layers attribute as the
<b>Unique ID field</b>, making sure the  <b>Add prefix to filenames</b> is ticked (what we called our column) or unticked, as you require. You can now specify the
<b>Output file type</b> and the <b>Output directory</b>. You can now click <b>Run</b></span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Once this is completed, load you’re newly created Layers into the Project and style as required.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Now we can export to DXF using the tool in the first example. The difference being we want the
<b>ONLY</b> newly created individual layers ticked in the <b>Layer</b> box</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">If you want to improve how the styling, symbology is output, you will need to work on the QGIS Style, modifying it to get the desired output in DXF.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Any of the steps above can be modified to suit the outputs you want.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">I have attached a zip file with the updated project and the output DXF examples, I hope it helps.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Regards,</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Richard</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<table cellspacing="0" cellpadding="0" style="font-size:9pt; height:321px; font-family:Arial,sans-serif; width:500px; line-height:15px">
<tbody>
<tr>
<td style="font-size: 9pt; font-family: Arial, sans-serif; width: 500px; padding-bottom: 6px; color: rgb(0, 77, 68);">
<span style="font-family: Arial, sans-serif; font-weight: bold; color: rgb(0, 77, 68);"><br>
——</span><br>
<span style="font-family: Arial, sans-serif; font-weight: bold; color: rgb(0, 77, 68);">Richard McDonnell MSc GIS, FME Certified Professional</span><br>
<span style="font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><i>FRM Data Management</i></span><br>
<br>
<span style="font-family: Arial, sans-serif; color: rgb(0, 77, 68);">——</span><br>
<span style="font-family: Arial, sans-serif; font-weight: bold; color: rgb(0, 77, 68);">Oifig na nOibreacha Poiblí</span><br>
<span style="font-family: Arial, sans-serif; color: rgb(0, 77, 68);">Office of Public Works</span><br>
<br>
<span style="font-family: Arial, sans-serif; font-weight: bold; color: rgb(86, 81, 72);">Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
</span><br>
<span style="font-family: Arial, sans-serif; color: rgb(86, 81, 72);">Jonathan Swift Street, Trim, Co Meath, C15 NX36</span><br>
<span style="font-family: Arial, sans-serif; color: rgb(86, 81, 72);">——</span><br>
<span style="font-family: Arial, sans-serif; color: rgb(86, 81, 72);">M +353 87 688 5964 T +353 46 942 2409</span><br>
<a href="https://gov.ie/opw" data-auth="NotApplicable">https://gov.ie/opw</a><br>
<br>
<span style="font-family: Arial, sans-serif; color: rgb(0, 77, 68);">——<br>
To send me files larger than 30MB, please use the link below https://filetransfer.opw.ie/filedrop/richard.mcdonnell@opw.ie<br>
</span><br>
<span style="font-family: Arial, sans-serif; color: rgb(0, 77, 68);">Email Disclaimer: https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
</span></td>
</tr>
</tbody>
</table>
<table cellspacing="0" cellpadding="0" style="font-size:9pt; font-family:Arial,sans-serif; width:420px; line-height:15px">
<tbody>
<tr>
<td style="font-size: 9pt; font-family: Arial, sans-serif; width: 420px; padding-bottom: 6px; color: rgb(0, 77, 68);">
<span style="font-family: Arial, sans-serif; font-weight: bold; color: rgb(0, 77, 68);"><br>
——</span><br>
<span style="font-family: Arial, sans-serif; font-weight: bold; color: rgb(0, 77, 68);">MSc GIS, FME Certified Professional</span><br>
<br>
<span style="font-family: Arial, sans-serif; color: rgb(0, 77, 68);">——</span><br>
<span style="font-family: Arial, sans-serif; font-weight: bold; color: rgb(0, 77, 68);">Oifig na nOibreacha Poiblí</span><br>
<span style="font-family: Arial, sans-serif; color: rgb(0, 77, 68);">Office of Public Works</span><br>
<br>
<span style="font-family: Arial, sans-serif; font-weight: bold; color: rgb(86, 81, 72);">Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
</span><br>
<span style="font-family: Arial, sans-serif; color: rgb(86, 81, 72);">Jonathan Swift Street, Trim, Co Meath, C15 NX36</span><br>
<span style="font-family: Arial, sans-serif; color: rgb(86, 81, 72);">——</span><br>
<span style="font-family: Arial, sans-serif; color: rgb(86, 81, 72);">M +353 87 688 5964 T +353 46 942 2409</span><br>
<font style="color: rgb(86, 81, 72);"><a href="https://www.opw.ie" data-auth="NotApplicable" data-loopstyle="linkonly">https://https://gov.ie/opw</a></font><br>
<br>
<span style="font-family: Arial, sans-serif; color: rgb(0, 77, 68);">——<br>
</span><span style="font-family: Arial, sans-serif; color: rgb(0, 77, 68);">Email Disclaimer:
<a href="https://www.opw.ie/en/disclaimer/" data-auth="NotApplicable" data-loopstyle="linkonly">
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/</a></span>
</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="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif"> Simon Gröchenig <groechenig@zt-gis.at>
<br>
<b>Sent:</b> 12 June 2023 08:08<br>
<b>To:</b> Richard McDonnell <richard.mcdonnell@opw.ie><br>
<b>Cc:</b> qgis-user@lists.osgeo.org<br>
<b>Subject:</b> AW: DXF Export symbolLayer</span></p>
</div>
</div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
 </p>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">Hi Richard,</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">thank you for your support.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">I have added a (virtual) attribute 'RefName' with a similar CASE WHEN statement. But I don't see how this should change the DXF-output.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">Some information:</span></p>
</div>
<div>
<ul type="disc" style="margin-bottom: 0cm;">
<li class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif; color: black;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">I have a point layer that I want to export to a DXF-file<span class="x_contentpasted0"><span style="background: white;"> using the native:dxfexport algorithm</span></span>.</span></li><li class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif; color: black;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">This layer has a categorized renderer.</span></li><li class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif; color: black;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">For the DXF export, I also set a field<span class="x_contentpasted1"><span style="background: white;"> ("sgg_code" is my case)</span></span> to split the features into several DXF-layers.</span></li><li class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif; color: black;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Now I also have a field "RefName".</span></li><li class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif; color: black;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">The RefName corresponds with the expression used for the categorized rendering.</span></li><li class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif; color: black;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">And the RefName does NOT match the field "sgg_code" used for the DXF-split.</span></li><li class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif; color: black;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">I want to use the RefName (or
<span class="x_contentpasted2"><span style="background: white;">labels set in </span></span>categorized renderer) values instead of symbolLayer0, symbolLayer1, ...</span></li></ul>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">I have attached a simple project with the point layer.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"><br>
Simon</span></p>
</div>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"> </span></p>
</div>
<div class="x_MsoNormal" align="center" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="x_divRplyFwdMsg">
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">Von:</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"> Richard McDonnell <</span><a href="mailto:richard.mcdonnell@opw.ie" data-auth="NotApplicable" data-loopstyle="linkonly"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">richard.mcdonnell@opw.ie</span></a><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">><br>
<b>Gesendet:</b> Freitag, 9. Juni 2023 15:18<br>
<b>An:</b> Simon Gröchenig <</span><a href="mailto:groechenig@zt-gis.at" data-auth="NotApplicable" data-loopstyle="linkonly"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">groechenig@zt-gis.at</span></a><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">><br>
<b>Cc:</b> </span><a href="mailto:qgis-user@lists.osgeo.org" data-auth="NotApplicable" data-loopstyle="linkonly"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">qgis-user@lists.osgeo.org</span></a><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">
 <</span><a href="mailto:qgis-user@lists.osgeo.org" data-auth="NotApplicable" data-loopstyle="linkonly"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">qgis-user@lists.osgeo.org</span></a><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">><br>
<b>Betreff:</b> RE: DXF Export symbolLayer</span> </p>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
 </p>
</div>
</div>
<div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Hi Simon,</span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">You don’t mention the field name in QGIS, but in the example below, I will use “<b>TEST</b>”</span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Create a new field, giving it a name, it can be “<b>RefName</b>” if you like, you can then create an expression like</span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">CASE WHEN " TEST " ='symbolLayer0' THEN 'SomeOtherStringA'</span></b></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">WHEN " TEST " ='symbolLayer1' THEN 'SomeOtherStringB'</span></b></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">END</span></b></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">This should look at the “<b>TEST</b>” Attribute and where it has ‘<b>symbolLayer0’</b> it will output
<b>'SomeOtherStringA'</b> and where “<b>TEST</b>” is ‘<b>symbolLayer1’</b> it will output
<b>'SomeOtherStringB'</b></span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">When its complete you can delete any attributes you don’t need</span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">I hope that helps,</span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Regards,</span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Richard</span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></p>
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="0" style="width:375.0pt">
<tbody>
<tr>
<td width="500" style="width:375.0pt; padding:0cm 0cm 4.5pt 0cm">
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;line-height:11.25pt">
<b><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><br>
——</span></b><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><br>
<b>Richard McDonnell MSc GIS, FME Certified Professional</b><br>
<i>FRM Data Management</i><br>
<br>
——<br>
<b>Oifig na nOibreacha Poiblí</b><br>
Office of Public Works<br>
<br>
</span><b><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(86, 81, 72);">Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
</span></b><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><br>
</span><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(86, 81, 72);">Jonathan Swift Street, Trim, Co Meath, C15 NX36</span><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><br>
</span><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(86, 81, 72);">——</span><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><br>
</span><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(86, 81, 72);">M +353 87 688 5964 T +353 46 942 2409</span><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><br>
</span><a href="https://gov.ie/opw" data-auth="NotApplicable"><span style="font-size:9.0pt; font-family:"Arial",sans-serif">https://gov.ie/opw</span></a><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><br>
<br>
——<br>
To send me files larger than 30MB, please use the link below </span><a href="https://filetransfer.opw.ie/filedrop/richard.mcdonnell@opw.ie" data-auth="NotApplicable"><span style="font-size:9.0pt; font-family:"Arial",sans-serif">https://filetransfer.opw.ie/filedrop/richard.mcdonnell@opw.ie</span></a><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><br>
<br>
Email Disclaimer: </span><a href="https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/" data-auth="NotApplicable"><span style="font-size:9.0pt; font-family:"Arial",sans-serif">https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/</span></a><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);">
</span></p>
</td>
</tr>
</tbody>
</table>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="display:none"> </span></p>
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="0" style="width:315.0pt">
<tbody>
<tr>
<td width="420" style="width:315.0pt; padding:0cm 0cm 4.5pt 0cm">
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;line-height:11.25pt">
<b><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><br>
——</span></b><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><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: 9pt; font-family: Arial, sans-serif; color: rgb(86, 81, 72);">Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
</span></b><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><br>
</span><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(86, 81, 72);">Jonathan Swift Street, Trim, Co Meath, C15 NX36</span><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><br>
</span><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(86, 81, 72);">——</span><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><br>
</span><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(86, 81, 72);">M +353 87 688 5964 T +353 46 942 2409</span><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><br>
</span><a href="https://www.opw.ie" data-auth="NotApplicable" data-loopstyle="linkonly"><span style="font-size:9.0pt; font-family:"Arial",sans-serif">https://https://gov.ie/opw</span></a><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);"><br>
<br>
——<br>
Email Disclaimer: </span><a href="https://www.opw.ie/en/disclaimer/" data-auth="NotApplicable" data-loopstyle="linkonly"><span style="font-size:9.0pt; font-family:"Arial",sans-serif">https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/</span></a><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, 77, 68);">
</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="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif"> QGIS-User <</span><a href="mailto:qgis-user-bounces@lists.osgeo.org" data-auth="NotApplicable" data-loopstyle="linkonly"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">qgis-user-bounces@lists.osgeo.org</span></a><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">>
<b>On Behalf Of </b>Simon Gröchenig via QGIS-User<br>
<b>Sent:</b> 09 June 2023 10:12<br>
<b>To:</b> </span><a href="mailto:qgis-user@lists.osgeo.org" data-auth="NotApplicable" data-loopstyle="linkonly"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">qgis-user@lists.osgeo.org</span></a><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif"><br>
<b>Subject:</b> [Qgis-user] DXF Export symbolLayer</span></p>
</div>
</div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
 </p>
<div>
<p class="x_xcontentpasted0" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">Hi all,</span></p>
<p class="x_xcontentpasted0" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"> </span></p>
<p class="x_xcontentpasted0" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">I am trying to configure a DXF export using the native:dxfexport algorithm and layer symbology.</span></p>
<p class="x_xcontentpasted0" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"> </span></p>
<p class="x_xcontentpasted0" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">Using the categorized rendering for a vector layer results in values "symbolLayer0", "symbolLayer1", ... in the dxf-file. I<span class="x_xcontentpasted1"><span style="background: white;">n
 Autodesk Viewer these values are the "Name", ArcMap imports these as "RefName" attribute.</span></span></span></p>
<p class="x_xcontentpasted0" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span class="x_xcontentpasted1"><span style="font-size: 11pt; font-family: Calibri, sans-serif; background: white; color: black;"> </span></span></p>
<p class="x_xcontentpasted0" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">My question: how can I modify the values symbolLayer0, symbolLayer1, ... to another string? A third-party tool requires special values here.</span></p>
<p class="x_xcontentpasted0" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"> </span></p>
<p class="x_xcontentpasted0" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">Best regards<br>
Simon</span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"> </span></p>
</div>
<div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;"> </span></p>
</div>
<div id="x_x_Signature">
<div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:10.0pt">------------------------------------------------</span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
Vermessungskanzlei Neumayr</p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:10.0pt">Simon Gröchenig - Geoinformation</span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:3.0pt"> </span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<img border="0" width="160" height="24" id="x_x__x005f_x0000_i1025" alt="cid:image001.jpg@01D99D13.FED5BC60" style="width:1.6666in; height:.25in" data-outlook-trace="F:1|T:1" src="cid:image001.jpg@01D99D13.FED5BC60"></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:3.0pt"> </span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:10.0pt">Albin Egger-Str. </span><span lang="DE" style="font-size:10.0pt">10</span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span lang="DE" style="font-size:10.0pt">9900 Lienz</span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span lang="DE" style="font-size:10.0pt">Tel: +43 4852-68568-31</span></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span lang="EN-US" style="font-size:10.0pt">Email: </span><a href="mailto:groechenig@zt-gis.at" data-auth="NotApplicable" data-loopstyle="linkonly"><span lang="EN-US" style="font-size:10.0pt">groechenig@zt-gis.at</span></a></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span lang="EN-US" style="font-size:10.0pt">Web: </span><a href="http://www.zt-gis.at/" data-auth="NotApplicable"><span lang="EN-US" style="font-size:10.0pt">http://www.zt-gis.at/</span></a></p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
 </p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>