*lightswitch

Turns the lights on or off.

Syntax

*lightswitch on plot

Type

HyperMesh Tcl Modify Command

Description

Turns the lights on or off.

Inputs

on
A flag that indicates if the lights should be turned off (0) or on (1).
plot
A flag that indicates if the screen should be replotted after this command is executed.

Example

To switch the lights off and replot the screen:

*lightswitch(0,1)

To turn the lights back on, but leave the screen as-is (no refresh):

*lightswitch(1,0)

Errors

None.