STKXApplication#
- class ansys.stk.core.stkx.STKXApplication#
STK X Application object.
Overview#
Send a connect command to STK X. |
|
Do not use this method, as it is deprecated. Returns a formatted string that contains the license names and their states. The string is formatted as an XML document. |
|
Set http proxy online options. |
|
Get http proxy online options. |
|
Set callback to handle a certain connect command. |
|
Execute multiple CONNECT actions. The method throws an exception if any of the specified commands have failed. |
|
Return true if the specified feature is available. |
|
Terminates the use of STK Engine. This must be the last call to STK Engine. |
|
Configure engine graphics to use a software renderer in order to meet minimum graphics requirements. Enabling this option will result in significant performance impacts. |
|
|
βββReturn an ISTKXApplicationEventHandler that is subscribed to handle events associated with this instance of STKXApplication.βββ |
Enable or disable TCP/IP connect command processing (default: disabled). |
|
Specify TCP/IP port to be used by Connect (default: 5001). |
|
Return the Host ID. |
|
Return the Registration ID. |
|
Return the version number. |
|
Do not use this property, as it is deprecated. The identifier of the vendor. |
|
Return full path and log file name. |
|
Control the log file generation, and if the log file is deleted or not on application exit. |
|
Specify the maximum number of Connect connections to allow. |
|
Start engine with or without graphics (default: engine starts with graphics.). |
|
Show the Software License Agreement dialog if not already accepted. |
|
Start engine with or without message hook setup (default: engine starts with message hook setup.). |
Import detail#
from ansys.stk.core.stkx import STKXApplication
Property detail#
- property STKXApplication.enable_connect: bool#
Enable or disable TCP/IP connect command processing (default: disabled).
- property STKXApplication.connect_port: int#
Specify TCP/IP port to be used by Connect (default: 5001).
- property STKXApplication.vendor_id: str#
Do not use this property, as it is deprecated. The identifier of the vendor.
- property STKXApplication.logging_mode: LoggingMode#
Control the log file generation, and if the log file is deleted or not on application exit.
- property STKXApplication.connect_max_connections: int#
Specify the maximum number of Connect connections to allow.
- property STKXApplication.no_graphics: bool#
Start engine with or without graphics (default: engine starts with graphics.).
Method detail#
- STKXApplication.execute_command(self, command: str) ExecuteCommandResult #
Send a connect command to STK X.
- Parameters:
command :
str
- Returns:
ExecuteCommandResult
- STKXApplication.get_licensing_report(self) str #
Do not use this method, as it is deprecated. Returns a formatted string that contains the license names and their states. The string is formatted as an XML document.
- Returns:
- STKXApplication.set_online_options(self, use_proxy: bool, server_name: str, port_num: int, user_name: str, password: str, save_password: bool) bool #
Set http proxy online options.
- STKXApplication.get_online_options(self) Tuple[bool, str, int, str, bool] #
Get http proxy online options.
- Returns:
Tuple[bool, str, int, str, bool]
- STKXApplication.set_connect_handler(self, command_id: str, prog_id: str) None #
Set callback to handle a certain connect command.
- STKXApplication.execute_multiple_commands(self, connect_commands: list, action: ExecuteMultipleCommandsMode) ExecuteMultipleCommandsResult #
Execute multiple CONNECT actions. The method throws an exception if any of the specified commands have failed.
- Parameters:
connect_commands :
list
action :
ExecuteMultipleCommandsMode
- Returns:
ExecuteMultipleCommandsResult
- STKXApplication.is_feature_available(self, feature_code: FeatureCodes) bool #
Return true if the specified feature is available.
- Parameters:
feature_code :
FeatureCodes
- Returns: