STK XSend comments on this topic.
OnScenarioNew Event (AgSTKXApplication)
See Also  Example
Path
Full path to the scenario file (.sc).
Windows






Windows & Linux

Description

Triggered when a new scenario is created.

Syntax

[Visual Basic .NET]
Public Event OnScenarioNew( _
   ByVal Path As String _
)
[C#]
public void OnScenarioNew(
   string Path
);
[Managed C++]
public: void OnScenarioNew(
   String __gc ^ Path
);
[Java]
public  onScenarioNew(
   String Path
);
[Unmanaged C++]
public: HRESULT OnScenarioNew(
   BSTR Path
);

Parameters

Path
Full path to the scenario file (.sc).

Example

[Visual Basic .NET]Copy Code
Private Sub stkxApp_OnScenarioNew(ByVal Path As String) _
                Handles stkxApp.OnScenarioNew
    MessageBox.Show("STK X - New Scenario created: " & Path)
End Sub

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.