Description | Example | Return Message | Group

GetScenPath

Return the path to the directory in which the current scenario resides (Deprecated Command)

Syntax

GetScenPath <ScenarioPath>

ATTENTION: THIS COMMAND IS DEPRECATED and has been replaced by:

GetDirectory

Description

Note: This command was deprecated in STK 9, it should no longer be used. This command has been replaced by the GetDirectory command.

The GetScenPath command allows you to quickly identify the directory in which the current scenario and all of its subobjects reside. If the scenario is newly created and hasn't yet been saved, the directory identified by this command is the STK User directory.

Example

To identify the directory in which the current scenario resides:

GetScenPath *

ReturnMessage

Connect returns a message that contains the directory path for the current scenario:
ACK
GETSCENPATH 23
D:\my documents\stkuser

Group Membership

This command belongs to the following group(s):

Scenarios

Deprecated Commands

Version

9.0

STK Programming Interface 11.0.1