Hi, You could create and save a style based on the attributes. https://gis.stackexchange.com/questions/20404/assign-multiple-colors-to-features-within-a-single-vector-layer
I am surprised that Qgis can use the styles found in the dxf. Nicolas > Le 5 juin 2018 à 06:37, Pedro Amaro (Infratec) <pedro.am...@infratec.pt> a > écrit : > > Hello. > > I am trying to create a .kml file with the information contained in a .dxf > file. > > I already can upload the .dxf file to QGIS and keep the dxf’s layers’ > information. Also, QGIS presents the .dxf drawing with its original colours. > > I also can create the corresponding .kml file. The problem is that this .kml > file presents every element with one colour only. I can select manually > different colours for different .dxf’s layers, but usually I have dozens of > layers and doing so manually takes a really long time. Is there anyway I can > create the .kml file keeping the .dxf’s colours, as QGIS presents? I do not > know if it is useful, but I have an attribute that has the RGB colour. > > Thanks! > > Com os melhores cumprimentos | Best regards | Saludos cordiales > > Pedro Amaro > > > > Este e-mail foi verificado em termos de vírus pelo software antivírus Avast. > www.avast.com > > > _______________________________________________ > 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
_______________________________________________ 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