2

I have imported a DXF file from AutoCAD into QGIS 3.20 and it has applied the rendering that it had in AutoCAD. I am trying to figure out how QGIS detects these settings so that when I run a process on the imported layer and get an output layer, I can make this new layer render with the same colours as the original did (and as it would in AutoCAD).

The colouring in the picture is the hatch colouring in AutoCAD, shows on a layer freshly imported into QGIS.

enter image description here

Hopefully that makes sense?

2

1 Answer 1

0

The colour of dxf-imports seems to be tied to the field "color" in the attribute table. You may use data defined override to set the colour of new layers to any value present in that field - but using this as default style would require all your new layers to have this field.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.