ResetLiveControl Pangoscript question

Discussion in 'PangoScript, Universe and Midi Templates' started by meeble, Sep 21, 2013.

  1. meeble

    meeble Well-Known Member


    When the command:


    is run, All of the Live Control settings are reset... for the Master Live Control settings.

    But what if I want to reset all Live Control settings for all zones?
    Or what if I want to reset all Live Control settings for the selected zones?

    Not sure how to do this currently...

  2. meeble

    meeble Well-Known Member

    Something like a script that would do this:

    SelectZone 1
    SelectZone 2
    SelectZone 3
    SelectZone 4
    ClickLCTabMode 3
    "Click on the Reset button in the LC Tab"

    Of course, that last line is the issue. ;)

    btw, would it be hard to add a "SelectAllZones" command?
  3. Bob@Pangolin

    Bob@Pangolin Staff Member

    This is how to reset live control of the current live tab (if its zone, cue or all cues) determined by the gui on which tab the live control is active.

    Angle 0,0,0 // X,Y,Z angles in degrees
    RotoSpeed 0,0,0  // rotation speed by X,Y,Z axis. degree.
    SizeX 100
    SizeY 100
    RGBA 255,255,255,0 // R,G,B,Alpha. 0..255
    ColorSlider 0 // 0..255
    Brightness 100 // 0..100 (percents)
    VisiblePoints 100 // 0..100 (percents)
    AnimationSpeed 100 // speed in %. Zero full stop.
    ScanRate 100
    Last edited by a moderator: Sep 21, 2013
  4. meeble

    meeble Well-Known Member

    Thanks, Bob!
  5. Bob@Pangolin

    Bob@Pangolin Staff Member

    Well.. actually yes.

    As we don't know how many you use, besides that, it can also happen that you route zones, and you don't want to reset those, I assume..

    you can better create an small script to select all the zones you want under 1 button like:

    SelectZone 1 // zone index, 1..N.
    SelectZone 2 // zone index, 1..N.
    SelectZone 3 // zone index, 1..N.
    SelectZone 4 // zone index, 1..N.
    Or do selection by name:

    SelectZoneName "Main Graphics" // enter Zone name
    SelectZoneName "Guest" // enter Zone name
    SelectZoneName "Hot Beams" // enter Zone name
    SelectZoneName "Scanner 3 Main" // enter Zone name
  6. ENOT

    ENOT Software Developer Staff Member

    There is one fancy way to make it. It based on two gateways. The first gateway is "PangoScript to OSC" that allow to use OSC commands/servers in PangoScript. Second gateway is "OSC to PangoScript". Yes, a backward direction. The command that will reset LC of all zones can be like this:


    In this command "/beyond/zone/" is a name of sub-server that work with zones. "*" means any zone. "ResetLiveControl" is a command of PangoScript.

    The "/beyond/zone/" sub-server after index of zone expect of one 3 fields:


    after that, it check the table of PangoScript operators. "ResetLiveControl" is operator of PangoScript that will be sent to all zones.

  7. meeble

    meeble Well-Known Member

    Wow, cool. Is this stuff in the documentation somewhere? I wish I knew a lot more about Pangoscript in general.

    Thanks, Alexey.
  8. ENOT

    ENOT Software Developer Staff Member

    Hi Devin,

    You already have some documentation, but the things like I demonstrated above are indeed hard to find and hard to expect. At first we developed PangoScript, after that time spent on OSC input. Currently we invest the time into access to object-oriented model of BEYOND. Objects can be used in PangoScript, but not only there. They can be used in Timeline and in Universe window, as well as in other areas. This part in active progress, figurally every day we add something there. No doubt, closer to the end of development, we will invert more and more time into documentation.