Smart Client Scripting

Dear all

My problem is to start smart client via the commandline with given cameras. Starting in live as in replay mode. Works fine with a single camera as shown below. But it seem that the command for multy cameras do not work correct.

Work fine

Do not work

The command do not work

SCS.Views.ShowCameras(“Camara1”, “Default group”, “Default view group”, “M4”);

The alternative variant to coose a given view and st a camera to a specific position also do not work.

SCS.Views.SetCameraViewItemCamera(“2”,”Camera1”)

In a script as well as in the given about:script sample.

Is there a running example about that stuff or do you are able to recommend easy to use alternatives.

Dierk

Thsi one works for me:

<ScriptEngine>
<Script>
SCS.Views.SelectView("Default group.Default view group.Default view");
SCS.Views.SetCameraViewItemCamera(0,"Camera");
</Script>
</ScriptEngine>

Unfortunately there are no examples beyond the little text in the manual on start-up scripting. The about:script is a help, it is good you have found it.