Hi Ole,
So I think that I have the script that you need to make this work. You would need to use dashboard, or some form of keyboard shortcut in order to trigger this. If you have a carbonite, it could trigger a GPI on the XPression as well and you would get your result.
Script:
dim fb as xpOutputFrameBuffer
engine.GetOutputFrameBuffer(0, fb)
fb.SetLayerVisibile (0, False)
That script is telling your system to get your main Frame Buffer, in Xpression world, 0 is 1 for Outputs, so that is the 0. Then in Layer Visible, that 0 is actually zero, then the False turns that layer off.
I placed this script into the custom keyboard/GPI mapping. I tied this script to a GPI trigger, and then I made a dashboard button that fired this GPI.
You would also need a 2nd GPI trigger that returns a value of (0, True) in order to turn that layer visible again. Content will still go to and play on that layer, but in Xpression it will turn red showing that the layer is not visible. If it is black then it will display the content on that layer.
#XPression