Determine if an object or scenario is open in the current STK session
DoesObjExist <ApplicationPath> <ObjectPath>
The DoesObjExist command determine whether an object is included in the current scenario or whether a scenario is open in STK. This is useful when input is accepted from more than one location and objects could be changed or removed without your knowledge.
To find out whether the ERS1 satellite is included in the current scenario:
DoesObjExist / */Satellite/ers1
ACK
DOESOBJECTEXIST 1
0
This command belongs to the following group(s):
4.0.2
STK Programming Interface 11.0.1