Module vrScript
[frames] | no frames]

Module vrScript

Functions
 
cameraViewRedo()
Redo the last view change.
 
cameraViewUndo()
Undo the last view change.
 
clearScript()
Clear python script in the script editor.
bool
executePython(command)
Execute a python command.
string
executePythonR(command)
Execute a python command and return the return value as a string.
 
redo()
Redo the last command.
 
undo()
Undo the last command.
Function Details

executePython(command)

 

Execute a python command.

Parameters:
  • command (string) - The command.
Returns: bool
True on success, false otherwise.

executePythonR(command)

 

Execute a python command and return the return value as a string.

Parameters:
  • command (string) - The command.
Returns: string
The return value.