Re: [Qgis-user] Convert .shp to CAD, with attribute values as different layers

2024-02-13 Thread Chiz Harward via QGIS-User
Couldn't get the dxf output to work, but using this from del...@gmail.com seems to have done it, the key was the 'output layer attribute' hiding off to the right:

Re: [Qgis-user] Convert .shp to CAD, with attribute values as different layers

2024-02-13 Thread Namotec, Eberbach am Neckar via QGIS-User
Maybe direct conversion with GDAL/OGR is easier.Please refer: https://gis.stackexchange.com/questions/431277/how-to-create-a-3d-dxf-from-arcgen-with-gdal-ogr2ogr ogr2ogr -dialect sqlite -sql "SELECT ID as Layer, geometry from import_polz" ^ -f "DXF" export_lin.dxf -nlt LINESTRING -dim 3

Re: [Qgis-user] Convert .shp to CAD, with attribute values as different layers

2024-02-13 Thread Richard McDonnell via QGIS-User
You can also use the processing toolbox, search for split and you should be able to access the tool. -- Richard McDonnell MSc GIS, FME Certified Professional Geographical Information Systems Officer -- Oifig na nOibreacha Poiblí Office of Public Works Sráid Jonathan Swift, Baile Átha Troim,

Re: [Qgis-user] Convert .shp to CAD, with attribute values as different layers

2024-02-13 Thread Chiz Harward via QGIS-User
Ok, so reinstalled the Processing plugin to get my Vector tools back and did Split Vector Layer, once I found the hidden Output file type I selected .dxf as output. Press Run and get error: QGIS version: 3.16.11-Hannover QGIS code revision: 26cc1c76 Qt version: 5.15.2 GDAL version: 3.3.1 GEOS

Re: [Qgis-user] Convert .shp to CAD, with attribute values as different layers

2024-02-13 Thread Chiz Harward via QGIS-User
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 Chiz Harward BA MCIfA he/him Senior Archaeologist, Urban Archaeology I work flexibly - so whilst it suits me to

Re: [Qgis-user] Convert .shp to CAD, with attribute values as different layers

2024-02-13 Thread Richard McDonnell via QGIS-User
Hi Chiz, The only thing I can think of is Split Vector Layer (Vector => Data Management) that will allow you to split your Layer by attribute, outputting a DXF for each layer. The only issue is that you will have a series of separate Layers which you will have to manually merge into a single

Re: [Qgis-user] Convert .shp to CAD, with attribute values as different layers

2024-02-13 Thread DelazJ via QGIS-User
Hi Chaz, 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.

Re: [Qgis-user] Convert .shp to CAD, with attribute values as different layers

2024-02-13 Thread Christine via QGIS-User
    Gesendet: Dienstag, 13. Februar 2024 um 11:20 Uhr Von: geo.gu...@web.de An: c...@urban-archaeology.co.uk Betreff: Aw: [Qgis-user] Convert .shp to CAD, with attribute values as different layers Dear Chiz, you may achieve separated shapefiles with vector [menu] > Data Management Tools >

[Qgis-user] Convert .shp to CAD, with attribute values as different layers

2024-02-13 Thread Chiz Harward via QGIS-User
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.