Page 1 of 2
Bump Replacer
Posted: 28 Mar 2020, 16:26
by Bart K
Hey Guys,
In this strange times Im editing my main Avo show file.
Wrote some Color bumper macro's. They select a 'all fixture' group, select a color, record that color in the bump spot.
Now it replaces that spot, with the line: Palette.StoreCurrentPaletteReplace
To take it a step further, I want to write some macro's to merge some zoom/strobe/iris pallets in to the same spot. To make some different chases on a busk show.
So instead of replace the color bump, I need to merge it. I replaced the ''paletteReplace'' line with Palette.QuickMergePalette, but somehow it stays now in the blind and don't clear the programmer anymore.
Is this the correct line to use?
Any tips are more then welcome, thanks in advance!
Stay stafe guys.
Cheers,
Bart
Re: Bump Replacer
Posted: 29 Mar 2020, 09:00
by icke_siegen
Hi Bart,
if you could post the code then we could have a look. Also, you may send me the show by email:
s.beutel@trendco.deThat it stays in blind means that the macro breaks at some point which may be due to everything: a typo, a wrong comma or quote somewhere, a missing argument... Usually iId have a look in the logs with the log viewer - this is not very verbose but may help identifying the culprit.
And another note: I guess quickmerge is not what you need here as it only updates the attributes which are already in this palette. You might need something like
Best regards, Sebastian
Re: Bump Replacer
Posted: 29 Mar 2020, 13:02
by Bart K
Hi Sebastian,
I just send u an email with my showfile.
In addition I post here the macro where Im talking about. So other people can read along.
Thanks in advance!
Cheers,
Bart
Re: Bump Replacer
Posted: 29 Mar 2020, 16:30
by icke_siegen
I had problems sending an email reply hence I post it here:
Hi Bart,
I had a look into this. But there is no such line you mentioned in the forum - I see the additional macros (for zoom and shutter/strobe), but these are recorded ones. So far it looks like they are working okay. So, what exactly can I do for you? What is the problem you need a solution for?
Best, Sebastian
Re: Bump Replacer
Posted: 29 Mar 2020, 21:25
by Bart K
Hi Sebastian,
No problem. I will write down some further information.
Now, when I fire a ''bump'' color from my playback window. It calls a color from the ''All Fix'' row. Then it replaces that color into the ''bump1'' color.
When I add a strobe/zoom/iris pallet with the recorded marcro's and merge them into the ''bump1'' color, its fine.
But when I select a new 'bump' color from my playback window, it replaces the ''bump1'' color, so it overwrite the strobe/zoom/iris information.
I want the strobe/zoom/iris information to be still in the ''bump1'' color pallet, when I select a new ''bump'' color from my playback window.
So I think that the Palette.StoreCurrentPaletteReplace need to be changed for something liek Palette.StoreCurrentPaletteMerge. So the rest of the pallet information stays in there.
I hope I explained it well, so u kind of understand what I want, haha.
Thanks already Sebastian!
Cheers,
Bart
Re: Bump Replacer
Posted: 29 Mar 2020, 21:32
by icke_siegen
I guess
does this. I'll check myself

Re: Bump Replacer
Posted: 30 Mar 2020, 13:06
by icke_siegen
I tried it and - if I understand correctly what you are wanting - it does exactly what you ask. I sent you the amended macro file yesterday - please have a try.
Re: Bump Replacer
Posted: 30 Mar 2020, 15:40
by Bart K
Tried it. Works perfectly.
Many thanks Sebastian.
Re: Bump Replacer
Posted: 07 May 2024, 19:09
by jsustrunck
Hello,
Four years later....
I'm also very new to coded macro's. You are describing exactly the thing I'm looking for a long time. I tried the macro Colour.Bumper.xml you posted before. But it indeed doesn't work and stays in blind mode. Could you share the correct macro? Or if you don't want to, tell me what the problem was?
Or maybe some else who's got this working?
Thanks in advance.
Re: Bump Replacer
Posted: 07 May 2024, 19:27
by Andrés Félix
I find one way !is replace the playback ?
Re: Bump Replacer
Posted: 07 May 2024, 21:43
by icke_siegen
I just retrieved the macro file which I sent to Bart. Let me have a look into the details, and I'll post it somewhere tomorrow, okay?
Re: Bump Replacer
Posted: 08 May 2024, 07:16
by jsustrunck
icke_siegen wrote:I just retrieved the macro file which I sent to Bart. Let me have a look into the details, and I'll post it somewhere tomorrow, okay?
Sounds great!
Re: Bump Replacer
Posted: 28 May 2024, 09:36
by jsustrunck
icke_siegen wrote:I just retrieved the macro file which I sent to Bart. Let me have a look into the details, and I'll post it somewhere tomorrow, okay?
Hello, did you managed to find some time to take a look at the above?
Re: Bump Replacer
Posted: 23 Jan 2025, 08:40
by tygo
Hello, I'm working on a bump macro for color, but it replaces the palette, and the color is no longer in the palette. Can someone help me? this is my macro
Code: Select all
<avolites.macros>
<macro id="Colour.test 1.3" name="Colour test 1.3">
<description>Bumps true different colours</description>
<sequence>
<step pause="0.01">ActionScript.SetProperty.Boolean("Programmer.BlindActive", true)</step>
<step pause="0.01">Programmer.SetBlindMode(false, 0)</step>
<step pause="0.01">Group.RecallGroupNumeric(1) </step>
<step pause="0.01">Palette.ApplyPalette("Location=Colours,1,4", false)</step>
<step pause="0.01">ActionScript.SetProperty("Palette.CurrentPaletteHandle",Handle:"Location=Colours,1,20")</step>
<step pause="0.01">Palette.StoreCurrentPaletteReplace()</step>
<step pause="0.01">Programmer.Editor.Clear(Attribute.Mask.Clear.Value, Programmer.Editor.Fixtures.Clear.Presets, false, Expert.ClearMenu.FadeTime)</step>
<!-- clear -->
<step>ActionScript.SetProperty.Boolean("Programmer.BlindActive", false)</step>
<!-- exit blind -->
<step>Programmer.SetBlindMode(false, 0)</step>
</sequence>
</macro>
</avolites.macros>
Re: Bump Replacer
Posted: 23 Jan 2025, 22:30
by Gregory
tygo wrote:Hello, I'm working on a bump macro for color, but it replaces the palette, and the color is no longer in the palette. Can someone help me? this is my macro
Most likely it is the
Palette.StoreCurrentPaletteReplace() function that is tripping you up, internally it is is used when pressing the
Replace softkey in the
Record Palette menu and as such it will follow what has been configured in that menu. In particular if an attribute mask has been set in that menu previously it will still get used until it is changed, if the mask excludes colour this will not get stored in the palette. You could add a call to
SetAllGroups to include all attribute groups in the record
Palette attribute mask:
Code: Select all
<step pause="0.01">Attribute.Mask.Palette.SetAllGroups()</step>
<step pause="0.01">Palette.StoreCurrentPaletteReplace()</step>
Alternatively you could set the mask to just colour with the following:
Code: Select all
<step pause="0.01">Attribute.Mask.SetMask("Palette", "C")</step>