Page 1 of 1

Colour pallete Macro legends

Posted: 10 Dec 2023, 15:45
by ThymenBorghuis
Hi all,

Just made a Colour Pallete Macro, recording a few LED colors and combi's.
Thogh when recording, auto legends are working nice and smoothly, but not when playing the recorded macro.
Any tips or tricks to fix this issue?

Thanks!

Re: Colour pallete Macro legends

Posted: 11 Dec 2023, 13:53
by icke_siegen
Can you please post the code you come up with to create a palette? Then I'd have a starting point (as long as Gregory doesn't chime in).

There is a designated function to make a legend based on the current handle group (i.e. palette window) and contents of the programmer. It should be something like this:

Code: Select all

Palette.GetAutoPaletteLegendSuggestion("Colours", "Expert.Legend.Set.Generic.PendingTitanId", "")


But in order to correctly apply this your code would help.