Search Vector Layers by Color

Hier können Anwender über Ihre selbst erarbeiteteten Tricks berichten
User avatar
shijan
Mitglied
Posts: 1292
Joined: Mon 23 Dec 2019 15:21
Location: Ukraine

Search Vector Layers by Color

Post by shijan »

PhotoLine allow to search vector layers based on color value! This is really amazing tip originally posted by Martin Huber in this thread viewtopic.php?f=2&p=50016#p50016

There is no direct search and replace function. However, if it is RGB colors, you can use the search function in the layer list to display all vector layers with a specific fill or line color.

Example:
Type a command in search field to display all vector layers that use #ffff00 yellow fill color:

Code: Select all

&fillcolor="RGB#ffff00"
Type a command in search field to display all vector layers that use #ffff00 yellow line stroke color:

Code: Select all

&linecolor="RGB#ffff00"
You can then select all layers in the layer list and change their color together.

PS: It is best, however, to create a document color ("View> Lists> Document Color List") for the same colors. Then you can change the color in the document color list, and all layers that use that color will be changed automatically.
PhotoLine UI Icons Customization Project: https://www.pl32.com/forum3/viewtopic.php?f=3&t=6302
User avatar
shijan
Mitglied
Posts: 1292
Joined: Mon 23 Dec 2019 15:21
Location: Ukraine

Re: Search Vector Layers by Color

Post by shijan »

Starting from 23.90b5 it is also possible to search for fonts in Layers List in similar way. Currently font name should be typed with exactly same upper/lower case letters as used in original font name.

UPDATE: search for fonts In 23.90b6 don't depends of upper/lower case anymore. Also no need to type full font name exactly. It can search by first letters of the font name!

Code: Select all

&font="Arial"
PhotoLine UI Icons Customization Project: https://www.pl32.com/forum3/viewtopic.php?f=3&t=6302