In your User Config directory, which is nominally Documents/STK 12/Config, there is a file called "exclude.agilicex". Each time you start up the Ansys Systems Tool Kit® (STK®) application and select a license type in the GUI, the STK application writes to this file to determine which licenses are excluded from the session. It’s a simple text file, and you can write it yourself with the scripting language of your choice before you start up the STK application. This ensures that you have the capabilities you need or want. You can even start up the application with various features and observe how the file changes. Here are a few examples of file specification:
- To start up the STK application with the highest license it can find, make the file blank.
- To start up the STK application with an STK Premium Space license only, include the following in the file:
stk_mission_level3
stk_mission_air
- To start up the STK application with an STK Pro license only, include the following in the file:
stk_mission_level3
stk_mission_level2
stk_mission_air
stk_mission_space
If you lay the exclude.agilicex file down with your script, the STK application will start up with the capabilities that you want!