StartChannelCapture

Description

Start a motion capture session. The autokey is set to on and the playback starts. The mouse driver is starting when

Scripting Syntax

StartChannelCapture();

Examples

VBScript Example

' Create a cone. It will be used to capture the motion data.

CreatePrim "Cone", "MeshSurface"

SetValue "PlayControl.Out", 500

' Enable the Device manager

If Not Application.Devices.Enable Then

Application.Devices.Enable = True

End If

' Add the Mouse Driver if it is not there.

set oDevice = Application.Devices.Item("Mouse")

If TypeName (oDevice) = "Nothing" Then

set oDevice = Application.Devices.AddDevice( "Mouse" )

End If

oDevice.Enable = True

' Start capturing data

StartChannelCapture

See Also

StopChannelCapture