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





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

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1