Use this class to access system properties such as the computer name, the system time, and the MotionBuilder application version.It is also used to get access to the scene (FBScene) and the current take (FBTake), as in the following Python snippet:
myScene = FBSystem().Scene for take in myScene.Takes: print take.Name
The Python sample FBSystemEvents.py shows how to register a callback to FBSystem.
See samples: FBSystemEvents.py, CameraSwitcher.py, BatchExportCharacterAnimationTool.py.
Public Member Functions |
|
FBSystem () | |
Constructor. |
|
Public Attributes |
|
FBListCamera | Cameras |
|
|
FBListMaterial | Materials |
|
|
FBListShader | Shaders |
|
|
FBListTexture | Textures |
|
|
FBListTake | Takes |
|
|
FBListLight | Lights |
|
|
FBListDevice | Devices |
|
|
str | ApplicationPath |
Read Only Property: Location where
the application is installed. |
|
FBAssetMng | AssetManager |
Read Only Property: Current asset
manager. |
|
FBListAudioIn | AudioInputs |
List: Available audio inputs.
|
|
FBListAudioOut | AudioOutputs |
List: Available audio outputs.
|
|
str | BuildId |
Read Only Property: Unique build Id
String. |
|
str | ComputerName |
Read Only Property: Computer name.
See sample: ShowMachineNameAndCameraNamePlusResolution.py.
|
|
FBTake | CurrentTake |
Read Write Property: Current take.
See samples: GoToNextTake.py, |
|
<
ahref="../SDKSamples/Scripts/Tasks/GoToPreviousTake.html"> GoToPreviousTake py </a > FBVector2d |
DesktopSize |
Read Only Property: The width and
height of the desktop. |
|
float | FrameRate |
Read Only Property: The frame rate of
the viewer. |
|
bool | FullScreenViewer |
Read Write Property: Indicates that
the viewer is in full screen mode. |
|
FBTime | LocalTime |
Read Only Property: Local time in
take. |
|
FBEventConnectionDataNotify | OnConnectionDataNotify |
Event: A data event occured between
objects in the system. |
|
FBEventConnectionNotify | OnConnectionNotify |
Event: A connection event occured
between objects in the system.
See sample: FBSystemEvents.py. |
|
FBEventConnectionStateNotify | OnConnectionStateNotify |
Event: A state change event occured
between objects in the system. |
|
FBEventUIIdle | OnUIIdle |
Event: User-interface idle. |
|
str | PathImages |
Read Only Property: Path to images.
|
|
str | PathMeshs |
Read Only Property: Path to meshes
|
|
float | ProcessMemory |
Read Only Property: The size (MB) of
process's working set memory. |
|
float | ProcessMemoryPeak |
Read Only Property: The size (MB) of
process's peak memory. |
|
FBRenderer | Renderer |
Read Only Property: Default renderer.
|
|
FBModel | RootModel |
Read Only Property: Root model.
|
|
FBScene | Scene |
Read Only Property: Scene. |
|
FBModel | SceneRootModel |
Read Only Property: Scene root model.
|
|
FBTime | SystemTime |
Read Only Property: System time.
|
|
float | Version |
Read Only Property: Application
version. |
|
FBListVideoIn | VideoInputs |
List: Available video inputs.
|
|
FBListVideoOut | VideoOutputs |
List: Available video outputs.
|
FBSystem | ( | ) |
Constructor.
FBListCamera Cameras |
FBListMaterial Materials |
FBListShader Shaders |
FBListTexture Textures |
FBListTake Takes |
FBListLight Lights |
FBListDevice Devices |
Read Only Property: Location where the application is installed.
Read Only Property: Current asset manager.
FBListAudioIn AudioInputs |
List: Available audio inputs.
FBListAudioOut AudioOutputs |
List: Available audio outputs.
Read Only Property: Computer name. See sample: ShowMachineNameAndCameraNamePlusResolution.py.
Read Write Property: Current take. See samples: GoToNextTake.py,
<ahref="../SDKSamples/Scripts/Tasks/GoToPreviousTake.html"> GoToPreviousTake py</a> FBVector2d DesktopSize |
Read Only Property: The width and height of the desktop.
Read Write Property: Indicates that the viewer is in full screen mode.
Event: A data event occured between objects in the system.
Event: A connection event occured between objects in the system. See sample: FBSystemEvents.py.
Event: A state change event occured between objects in the system.
FBEventUIIdle OnUIIdle |
Event: User-interface idle.
Read Only Property: Path to images.
Read Only Property: The size (MB) of process's working set memory.
Read Only Property: The size (MB) of process's peak memory.
Read Only Property: Default renderer.
Read Only Property: Scene root model.
Read Only Property: System time.
FBListVideoIn VideoInputs |
List: Available video inputs.
FBListVideoOut VideoOutputs |
List: Available video outputs.