FZ_PanDAForm.CopyScene

Copies a scene

Public Shared Function CopyScene( _
   ByVal srcSceneNo As Integer, _
   ByVal destSceneNo As Integer _
) As Integer

Parameters
srcSceneNo
Scene number of the copy source
Input
destSceneNo
Scene number of the copy destination
Input

Return Value
Returns 0 when copying of a scene succeeded.
Otherwise returns a non-zero value.

Description
Copies the scene of the specified copy source scene number to the scene of the specified copy destination scene number.
* When you execute this method, always disable a measurement trigger (execute refMeasureStop ) before the execution.
After copying a scene, enable the measurement trigger (execute refMeasureStart ).

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 0 to scene 10
       CopyScene(0, 10)

        ' Enables a measurement trigger
        MeasureStart()

   End Sub