FZ_PanDAForm.CopySceneGroup
Copies a scene group
Public Shared Function CopySceneGroup( _
ByVal srcSceneGroupNo As Integer, _
ByVal destSceneGroupNo As Integer _
) As Integer
Parameters
srcSceneGroupNo
|
Scene group number of the copy source
|
Input
|
destSceneGroupNo
|
Scene group number of the copy destination
|
Input
|
Return Value
Returns 0 when copying the scene group succeeded.
Otherwise returns a non-zero value.
Description
Copies the scene group of the specified copy source scene group number to the scene group of the specified copy destination scene group number.
* When you execute this method, always disable a measurement trigger (execute
MeasureStop ) before the execution.
After copying a scene group, 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()
' Copies scene group 0 to scene group 10
CopySceneGroup(0, 10)
' Enables a measurement trigger
MeasureStart()
End Sub