Support

How do I automate tasks in STK?

Posted 6 months ago by Land Sea Air Space

Post a topic
Answered
L
Land Sea Air Space

I'm looking to automate some repetitive tasks to improve my workflow. I've heard that STK has various options for automation, but I'm not sure where to start. Can anyone provide some guidance or resources on how to automate tasks in STK?

0 Votes

Alexander Ridgeway

Alexander Ridgeway posted 6 months ago Admin Best Answer

Automating tasks in STK can significantly enhance your productivity, and there are several ways to achieve this. Here are some key methods you can use:


 You can use the STK API to start to build automation.  

  1. STK Connect Commands: The Connect Commands, in particular, are a library of string commands that are easy to read, understand, and build. You can use these commands to create applications that communicate with STK. Connect is an easy way to get started. 
  2. STK Object Model: The Object Model is object oriented programming to connect STK and automate certain analysis.


Now that you have links to the API, now how do you actually automate STK. 

  1. Clickable Decision Tree: AGI built a decision tree to help identify which technology is right for you! 
    1. Decision Tree
  2. Develop with External Applications (Python or Matlab): STK can be integrated with applications like MATLAB, and Python. This allows you to automate tasks from outside the STK application. For example, you can use Python scripts to automate the analysis of satellite behavior when it has contact with a ground site.
    1. Getting Started: Python with STK
  3. STK Engine:  helps engineers to build and deploy custom software applications that embed AGI's geodynamic analysis and visualization engine. STK is fully embedded inside of your application. This could be a previously built application or an application you are building from scratch.   
    1. STK Engine


Additional Resources

  1. For more detailed instructions, you can refer to the STK Programming Help, which is accessible from the Help menu in STK. Additionally, there are step-by-step tutorials available for integrating STK with Excel, MATLAB, and Python.


I hope this helps! Let me know if you have any specific questions.


0 Votes


2 Comments

Sorted by
D

Drew Latta posted 5 months ago Admin

Hello, I just want to mention some additional notes/uses for STK automation:

  1. UI Plugins: If you're interested in integrating additional functionality into STK Desktop, you can use UI plugins. Once installed, these plugins can be accessed from a toolbar or menu in the STK workspace. For more information on building a UI plugin, check out the STK Programming Interface Help. You can check AGI's github for a bunch of code snippets and examples including UI plugins!  

  2. Integration Applications: It's worth noting that your STK scripts can either fully automate STK, or work alongside it. STK Engine and STK Desktop run on the same API commands, so an STK Engine application can also work as an integration application that has STK Desktop open and running. When writing STK Engine applications, it's common to get the commands and workflow figured out on STK Desktop so you can see what the code is doing as you're running/testing it.


Feel free to reach out if you need further clarification!

0 Votes

Alexander Ridgeway

Alexander Ridgeway posted 6 months ago Admin Answer

Automating tasks in STK can significantly enhance your productivity, and there are several ways to achieve this. Here are some key methods you can use:


 You can use the STK API to start to build automation.  

  1. STK Connect Commands: The Connect Commands, in particular, are a library of string commands that are easy to read, understand, and build. You can use these commands to create applications that communicate with STK. Connect is an easy way to get started. 
  2. STK Object Model: The Object Model is object oriented programming to connect STK and automate certain analysis.


Now that you have links to the API, now how do you actually automate STK. 

  1. Clickable Decision Tree: AGI built a decision tree to help identify which technology is right for you! 
    1. Decision Tree
  2. Develop with External Applications (Python or Matlab): STK can be integrated with applications like MATLAB, and Python. This allows you to automate tasks from outside the STK application. For example, you can use Python scripts to automate the analysis of satellite behavior when it has contact with a ground site.
    1. Getting Started: Python with STK
  3. STK Engine:  helps engineers to build and deploy custom software applications that embed AGI's geodynamic analysis and visualization engine. STK is fully embedded inside of your application. This could be a previously built application or an application you are building from scratch.   
    1. STK Engine


Additional Resources

  1. For more detailed instructions, you can refer to the STK Programming Help, which is accessible from the Help menu in STK. Additionally, there are step-by-step tutorials available for integrating STK with Excel, MATLAB, and Python.


I hope this helps! Let me know if you have any specific questions.


0 Votes

Login or Sign up to post a comment