void selectTarget(string targetName)
Set the target for all subsequent scripting commands.
the qualified target name and must be in the same format as used
in the Model Debugger Select Target dialog.
The function can be used in a script or in the command line of the Model Debugger Output window:
If used in a nested script, the target is set for all subsequent scripts.
If used on the command line of the Model Debugger Output window, the function only sets the target for the Model Debugger window where it was used.