Page 1 of 1

Invert Pan after P/T Invert in patch

Posted: Mon Dec 01, 2008 2:02 pm
by RobertBell
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.

Re: Invert Pan after P/T Invert in patch

Posted: Mon Dec 01, 2008 2:52 pm
by Lotos
Thanks for writing that up Robert, worked like a charm.