FZ_PanDAForm.LoadSceneGroup
Performs a scene group data load processing
Public Shared Function LoadSceneGroup( _
ByVal sceneGroupNo As Integer, _
ByVal fileName As String _
) As Integer
Parameters
sceneGroupNo
|
Load destination scene group number
|
Input
|
fileName
|
Load source file name
The load source file name must be specified as an absolute path.
|
Input
|
Return Value
Returns 0 when loading a scene group data succeeded.
Otherwise returns a non-zero value.
Description
Loads the scene group data from a file to the specified scene group number.
* When you execute this method, basically disable a measurement trigger (execute
MeasureStop ) before the execution.
After performed a scene group data load processing, enable the measurement trigger (execute
MeasureStart ).
Example
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
' Disables a measurement trigger
MeasureStop()
' Loads data to the scene group 0
LoadSceneGroup(0, GetCoreRAPath()+"scenegroup0.sgp")
' Enables a measurement trigger
MeasureStart()
End Sub