AGI STK Objects 11 Send comments on this topic.
CloseScenario Method (IAgStkObjectRoot)
See Also  Example





Description

Closes the scenario. The method throws an exception if no scenario has been loaded.

Syntax

[Visual Basic .NET]
Public Sub CloseScenario() 

[C#]
public void CloseScenario();

[Managed C++]
public: void CloseScenario();

[Java]
public  closeScenario();

[Unmanaged C++]
public: HRESULT CloseScenario();

Example

Close a scenario
[C#] Copy Code
root.CloseScenario(); 
 

Close a scenario
[Visual Basic .NET] Copy Code
root.CloseScenario()

Close an open Scenario
[MATLAB] Copy Code
% IAgStkObjectRoot root: STK Object Model Root 
root.CloseScenario; 
 
 

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1