1
2
3
4
5
6
7
8
9
10
11
12from pyfbsdk import *
13
14
15DeviceName = "MyDevice"
16
17def FindDevice( pName ):
18 lResult = None
19 lDeviceList =
FBSystem().Scene.Devices
20
21 if lDeviceList:
22
23 for lDevice in lDeviceList:
24
25 if lDevice.Name == pName:
26 lResult = lDevice
27 break
28 else:
29 print('No device found')
30
31 return lResult
32
33
34
35lDevice = FindDevice( DeviceName )
36if lDevice:
37 lDevice.Live = True
38 lDevice.RecordMode = True
39 lDevice.Online = True
40
42
43
44
45
46else:
47 print('No device found')
48
Player control.
Definition: pyfbsdk_generated.h:13745
Provides access to the underlying system, and the MotionBuilder scene.
Definition: pyfbsdk_generated.h:18771