Description | Example | Return Message | Group

CheckScenario

Determine if a scenario is open in the current STK session

Syntax

CheckScenario <ApplicationPath>

Description

Use this command to see whether a scenario is open is STK. The return message specifies an ASCII "1" if a scenario is open and an ASCII "0" if no scenario is open.

Example

To see if a scenario is open:

CheckScenario /

ReturnMessage

If activated, Connect returns a message containing either an ASCII "1" (if a scenario is open) or an ASCII "0" (if a scenario isn't open), as illustrated in the following examples:
ACK
CHECKSCENARIO 1
1

Group Membership

This command belongs to the following group(s):

Scenarios

Version

4.0.2

STK Programming Interface 11.0.1