Skip to main content
Ctrl+K
PyMechanical - Home PyMechanical - Home

  • Home

  • Getting started

    • Installation

    • Choose your mode

    • Launching PyMechanical

    • Docker setup

    • WSL

    • Troubleshooting

  • User guide

    • Embedding mode

    • Remote session mode

    • Scripting fundamentals

    • CLI

    • MCP integration

  • Examples

    • Basic examples: Embedding mode

    • Advanced examples: Embedding mode

    • Basic examples: Remote session mode

  • API reference

  • More

    • Contribute

    • FAQ

    • Known issues and limitations

    • Changelog

Ctrl+K
  • GitHub
  • Support

  • Home

  • Getting started

    • Installation

    • Choose your mode

    • Launching PyMechanical

    • Docker setup

    • WSL

    • Troubleshooting

  • User guide

    • Embedding mode

    • Remote session mode

    • Scripting fundamentals

    • CLI

    • MCP integration

  • Examples

    • Basic examples: Embedding mode

    • Advanced examples: Embedding mode

    • Basic examples: Remote session mode

  • API reference

  • More

    • Contribute

    • FAQ

    • Known issues and limitations

    • Changelog

Ctrl+K
  • GitHub
  • Support

Section Navigation

  • embedding
    • graphics
    • logger
    • rpc
      • client
      • default_server
      • server
        • ForegroundAppBackend
        • BackgroundAppBackend
        • MechanicalService
        • MechanicalEmbeddedServer
      • utils
    • addins
    • app
    • app_libraries
    • appdata
    • background
    • cleanup_gui
    • enum_importer
    • find_mechanical
    • global_importer
    • helpers
    • imports
    • initializer
    • ipython_shell
    • license_manager
    • loader
    • mechanical_warnings
    • messages
    • poster
    • resolver
    • runtime
    • shell
    • shims
    • transaction
    • ui
    • utils
  • examples
  • errors
  • feature_flags
  • ide_config
  • launcher
  • logging
  • mechanical
  • misc
  • pool
  • run
  • PyAnsys
  • The ansys.mechanical.core library
  • The embedding package
  • The rpc package
  • The server.py module

The server.py module#

Summary#

ForegroundAppBackend

Backend for the python server where mechanical uses the main thread.

BackgroundAppBackend

Backend for the python server where mechanical uses the background thread.

MechanicalService

Starts Mechanical app services.

MechanicalEmbeddedServer

Start rpc server.

Description#

Remote Procedure Call (RPC) server.

© Copyright 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.

Created using Sphinx 8.2.3.

Built with the Ansys Sphinx Theme 1.9.0.
Last updated on