optiSLang server API reference#

This section provides descriptions of classes, functions, and attributes for the direct optiSLang server API exposed through PyOptiSLang.

Currently the ansys.optislang.core.tcp_osl_server.TcpOslServer class is the only actual optiSLang server interface implementation and can be used for raw communication with optiSLang. It provides explicit methods for accessing specific optiSLang API endpoints. Additionally, the generic ansys.optislang.core.tcp_osl_server.TcpOslServer.send_command method can be used in conjunction with the convenience functions from the ansys.optislang.core.server_queries and ansys.optislang.core.server_commands modules.

Use the search feature or click links to view API documentation.