Hi,
following that Wiki link I am trying to make action string selecting all elements with the same color from color book.
Syntax for RGB/color books in keyin might be found there. As for active color, co=standard:goldenrod works well, I have tried to use the same syntax in keyin script:
mdl load selectbyselectby color onselectby color standard:goldenrodselectby executemdl unload selectby
But it seems not to work well. It's selecting some elements with unclear algoritm (you get the same result putting random string instead of standard:goldenrod).
Using color numbers (0...255) works OK in above script.
How to use names from color books in that kind of scripts?
Regards, Wojtek
Microstation Connect U12.
In v8i it used to work if you use the RGB of a colour so if you could determine the rgb value toy could specify that
Lorys
Started msnt work 1990 - Retired Nov 2022 ( oh boy am I old )
But was long time user V8iss10 (8.11.09.919) dabbler CE update 16 (10.16.00.80)
MicroStation user since 1990 Melbourne Australia.click link to PM me
standard:goldenrod is RGB:218,165,32, but it does not work either (checked both v8i and connect). Works only with color numbers.
Is the syntax correct? Should be, regarding to that article.
selectby color RGB:218,165,32
--
Best regards, Wojtek
SW: Promis.e 08.11.13.96/23.00.00.46
oh... I thought I'd done it before that way...
I know I can do it through the powerselector manually .. but I',m stuck with working out the keyin for the power selector section with the colours .... must be a way... choose element doesnt cut it... have to work on it...