Link: STK Programming Help
STK’s main API is called STK Object Model. STK Components is another API, which is more customizable but also more complex to use and supports .Net and Java. In this article we will focus on the STK Object Model.
STK Object Model allows you to connect to an existing STK instance, or to start your own instance and use the different STK functionalities and automate them. Depending on the language you intend on using, the connection to STK COM libraries which contain various types, interfaces, events, and classes that represent the various aspects of the STK application structure differs.
Most of the important functionalities that STK has to offer are usable thanks to the STK Object Model API, but some of the latest objects updated in STK are only available through Connect commands, so be aware of that.
The Connect capability provides you with an easy way to connect with STK and work in a client-server environment.
The Connect commands are rather simple to use. They are strings of characters in a specific order that typically is ObjectType/ObjectName – Method – Parameters - Optional Parameters that STK understands and executes.
Connect commands can allow you to use every single feature STK has to offer, including in the latest update, until the Object Model API gets updated with the new methods.
Depending on the environment you are using, the process to connect to the STK Object Model COM libraries varies:
Python
Tutorials
A great way to get started with using STK APIs is starting with tutorials.
There are tutorials in all languages supported by STK:
These tutorials focus on each of the important features of integration with STK.
We highly recommend starting with the STK Object Model Tutorial.
The code samples included in the STK install are read only. To work with any of the installed code samples:
More information here.
Code Snippets
Library Reference
Whenever you want more information on specific class, method, interface, property, event, enumeration, or object, this page helps you find more detailed information about the type.
For Connect Commands, there is also a library here.
If you have any further questions or need assistance, we are here to help! Our dedicated Tec-Support team is ready to provide prompt and personalized assistance tailored to your needs.
Thanks,
Blacknight Space Team