Invert Pan after P/T Invert in patch

Open Source software contributions and discussions that supplement or extend the Palette / Light Palette software
Post Reply
User avatar
RobertBell
Posts: 2421
Joined: Fri Oct 12, 2007 1:11 pm
Primary Venue / Use: Other
Where I Am: Horizon Control Inc
Location: On the dark side just north of Toronto
Contact:

Invert Pan after P/T Invert in patch

Post by RobertBell » Mon Dec 01, 2008 2:02 pm

Thought this may be of interest to others:
Alex wrote: Hey Robert,
Just started work on my special event show file, took all the pan inverts off the grid movers so that I could use Fan, and such… Discovered (of course) that none of Al’s Position palettes are valid for the left side of the rig anymore.
My question is this… Is there a keystroke to invert pan or tilt with the touch of a button. (Negative 25 degrees becomes positive) to bring that light back into place, without having to globally affect the light using the patch inverts?
If not, is this a feature possibility? I see it something like… 209 (Shift-S2) Invert-Pan [Enter]
Peace,
Alex
Put this on Variable 1’s DOWN ACTION script:

Code: Select all

s = HC.GetCurrentSelectionSet(',')
for fixture in string.gmatch(s,"%d+") do
  HC.AttributeFade(fixture,'Pan',-1 * tonumber(HC.AttributeGetValue(fixture,'Pan+V')))
end
Then call it using CTRL-F1 on the QWERTY keyboard.
Robert Bell - Product Manager - Horizon Control Inc.

User avatar
Lotos
Posts: 90
Joined: Tue Jul 29, 2008 7:40 pm
Primary Venue / Use: Professional Theatre
Where I Am: Burlington, Ontario, Canda
Location: Burlington, Ontario, Canda

Re: Invert Pan after P/T Invert in patch

Post by Lotos » Mon Dec 01, 2008 2:52 pm

Thanks for writing that up Robert, worked like a charm.
Alex Boxall | Venue Technician
Burlington Performing Arts Centre

Post Reply