Used for working with cues.
Used for working with groups.
Used for getting information about DMX output.
getTime() As Double
Gets the current playback position.
setTime(time As Double)
Sets the current playback position to the specified time.
getBPM() As Double
Gets the BPM of the current cuelist
wait(seconds As Double)
Causes execution to wait for the specified number of seconds.
isPlaying() As Boolean
Checks to see if the timeline is currently playing back.
Starts timeline playback.
if(api.isPlaying() == False): api.startPlayback()
Stops timeline playback.
Advances timeline to the next cue.
Moves timeline to the previous cue.
Called when the script is loaded.
def onInitialize(): print("Script Loaded")
Called when the script is being disposed by either it being disabled, or by Lightforge closing.
def onDispose(): print("Addon Disposing")
Called when the script settings are being edited. Editing a script's settings from the Script Settings Dialog is only possible if this function is implemented in your code.
def onEdit(): print("Settings Edit")
Called when this script is specifically executed.
def onExecute(): print("Script Executed")
Called when this script is specifically executed. Code run from this function is executed asynchronously.
def onExecuteAsync(): print("Script Executed Asynchronously")
Called when Lightforge starts up.
def onStartup(): print("Lightforge Started")
Called when Lightforge starts up. Code run from this function is executed asynchronously.
def onStartupAsync(): print("Lightforge Started (Async)")
Called when timeline playback has started.
def onPlaybackStart(): print("Playback Started")
Called when timeline playback has stopped
def onPlaybackStop(): print("Playback Stopped")
Called on every frame change during playback, scrubbing, and time changes.
def onFrameChange(seconds As Double): print("Frame Changed " + seconds)
Called when Lightforge is shutting down.
def onShutdown(): print("Lightforge Shutdown")
Called when the current cuelist has been changed.
def onCuelistChange(): print("Cue List Changed")
Called when a new show has been loaded.
def onShowLoaded(): print("Show Loaded")