Hi Simon, You don't mention the field name in QGIS, but in the example below, I will use "TEST" Create a new field, giving it a name, it can be "RefName" if you like, you can then create an expression like
CASE WHEN " TEST " ='symbolLayer0' THEN 'SomeOtherStringA' WHEN " TEST " ='symbolLayer1' THEN 'SomeOtherStringB' END This should look at the "TEST" Attribute and where it has 'symbolLayer0' it will output 'SomeOtherStringA' and where "TEST" is 'symbolLayer1' it will output 'SomeOtherStringB' When its complete you can delete any attributes you don't need I hope that helps, Regards, Richard -- Richard McDonnell MSc GIS, FME Certified Professional FRM Data Management -- Oifig na nOibreacha Poiblí Office of Public Works Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36 Jonathan Swift Street, Trim, Co Meath, C15 NX36 -- M +353 87 688 5964 T +353 46 942 2409 https://gov.ie/opw -- To send me files larger than 30MB, please use the link below https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie Email Disclaimer: https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/ -- MSc GIS, FME Certified Professional -- Oifig na nOibreacha Poiblí Office of Public Works Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36 Jonathan Swift Street, Trim, Co Meath, C15 NX36 -- M +353 87 688 5964 T +353 46 942 2409 https://https://gov.ie/opw<https://www.opw.ie> -- Email Disclaimer: https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/<https://www.opw.ie/en/disclaimer/> From: QGIS-User <qgis-user-boun...@lists.osgeo.org> On Behalf Of Simon Gröchenig via QGIS-User Sent: 09 June 2023 10:12 To: qgis-user@lists.osgeo.org Subject: [Qgis-user] DXF Export symbolLayer Hi all, I am trying to configure a DXF export using the native:dxfexport algorithm and layer symbology. Using the categorized rendering for a vector layer results in values "symbolLayer0", "symbolLayer1", ... in the dxf-file. In Autodesk Viewer these values are the "Name", ArcMap imports these as "RefName" attribute. My question: how can I modify the values symbolLayer0, symbolLayer1, ... to another string? A third-party tool requires special values here. Best regards Simon ------------------------------------------------ Vermessungskanzlei Neumayr Simon Gröchenig - Geoinformation [cid:image001.jpg@01D99ADA.4ADA9F90] Albin Egger-Str. 10 9900 Lienz Tel: +43 4852-68568-31 Email: groeche...@zt-gis.at<mailto:groeche...@zt-gis.at> Web: http://www.zt-gis.at/
_______________________________________________ QGIS-User mailing list QGIS-User@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user