enabled = program.visMode;
Read/write propterty to start/stop the selected visualization or to find out if it is running. This propterty will be available in Silverjuke 2.73 or later.
Example:
// start the visualization
program.visMode = true;
// stop the visualization
program.visMode = false;
// toggle the visualization on/off
program.visMode = !program.visMode;
// check if the visualization is running
if( program.visMode )
{
// yes, the vis. is running, do what to do here
}
See also: Rights.startVis