Getting Started with Connect

To communicate with the Ansys Systems Tool Kit® (STK®) application using Connect commands from an external application or an HTML page, you can use:

  • A TCP/IP connection to send Connect commands over a specified port. The default port for this connection is 5001, but you can change it by selecting Edit->Preferences and choose the Connect page.
  • The COM interface to the STK application (see the Integration Help System) to send Connect commands directly to the STK application without communicating through a port.

    Sending asynchronous connect commands to the STK application is not supported over COM.

Also on the Edit - Preferences Connect page, you can also select an authentication mode. This determines who is allowed to use the TCP/IP connection. The default is to block this connection.