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();
|
| [Unmanaged C++] |
|---|
public: HRESULT CloseScenario();
|
| [Java] |
|---|
public void closeScenario();
|
[Python - STK API ] |
|---|
def CloseScenario(self) -> None:
|
See Also
Example
Close an open Scenario
| [Python - STK API] |
|---|
# IAgStkObjectRoot root: STK Object Model Root
root.CloseScenario()
|
|
Close an open Scenario
| [MATLAB] |
|---|
% IAgStkObjectRoot root: STK Object Model Root
if ~isempty(root.CurrentScenario)
root.CloseScenario();
end
|
|