<div dir="ltr"><div>You could use the LayerBoard plugin for that. It's available in the plugin manager. Possible to change different kinds of properties at once for many layers.</div><div>But AFAIK, this plugin needs some help ;-)<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 1 avr. 2022 à 12:48, L.W. via Qgis-user <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>as far as I unterstood right, if You use one style, you are able
to set in expression editor something like</p>
<p>if layer = "layer_id_1", '#99ff0000',</p>
<p> if layer = "layer_id_2", '#9900ff00,<br>
</p>
<p>The code above show the way the right syntax is in help panel.<br>
</p>
<p>This works for nearly every option in the style dock, save this
style.</p>
<p>Then go to Layer-dock and click with right mouse on the layer you
edited right now, point to "copy style > style".</p>
<p>If your layers are organized in a group (I recommend for this
step), than you can say "paste style" to this group and the style
is on every layer ... it's magic :-)<br>
</p>
<p><br>
</p>
<div>Am 01.04.2022 um 12:04 schrieb Roland
Spielhofer via Qgis-user:<br>
</div>
<blockquote type="cite">
<div style="font-family:Verdana;font-size:12px">
<div>Hi,</div>
<div>thanks for the tip!</div>
<div>The layers are all of the same type (content is the same,
they represent different days).</div>
<div>I wanted to preserve the different fill colors and just
change the opacity and pen stroke.</div>
<div>Therefore copy stlye does not work.</div>
<div> </div>
<div>Anyway, I adjusted the layers manually meanwhile - was just
curious if there is an elegant way to do this and save time
next time.</div>
<div> </div>
<div>Regards,</div>
<div>Roland</div>
<div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px;padding:10px 0px 10px 10px;border-left:2px solid rgb(195,217,229)">
<div style="margin:0px 0px 10px"><b>Gesendet:</b> Freitag,
01. April 2022 um 10:37 Uhr<br>
<b>Von:</b> "L.W. via Qgis-user"
<a href="mailto:qgis-user@lists.osgeo.org" target="_blank"><qgis-user@lists.osgeo.org></a><br>
<b>An:</b> "Raymond Nijssen"
<a href="mailto:r.nijssen@terglobo.nl" target="_blank"><r.nijssen@terglobo.nl></a>, <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
<b>Betreff:</b> Re: [Qgis-user] Change properties of
multiple layer at once</div>
<div name="quoted-content">May you change the style itself
and set the same style to all layers.<br>
<br>
You can change i.e. color of lines by "type of line" /
attribute values<br>
so you can use one style for multiple layers.<br>
<br>
<br>
Am 01.04.2022 um 10:13 schrieb Raymond Nijssen via
Qgis-user:<br>
> Don't know how to do that using the GUI, but for
the opacity you can<br>
> use these 2 lines of python in the QGIS python
console. It will set<br>
> all your selected layers to 50% opacity.<br>
><br>
><br>
> for layer in
iface.layerTreeView().selectedLayers():<br>
> layer.setOpacity(.5)<br>
><br>
><br>
> I think the stroke style is harder to change
because all these layers<br>
> can have different symbologies.<br>
><br>
> Hope it helps!<br>
> Raymond<br>
><br>
><br>
> On 01-04-2022 09:47, Roland Spielhofer via
Qgis-user wrote:<br>
>> Hi,<br>
>> I have a set of similar layers where I would
like to change certain<br>
>> properties for all layers in the same way.<br>
>> * change opacity to 50%<br>
>> * change stroke style to "no pen"<br>
>> When I select multiple layers and open
properties -> symbology, I<br>
>> just change the styling of the first layer, not
for all.<br>
>> Is there a way to do this?<br>
>> Regards,<br>
>> Roland<br>
>><br>
>> _______________________________________________<br>
>> Qgis-user mailing list<br>
>> <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
>> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
>> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Qgis-user mailing list
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>