The embedding package#

Summary#

graphics

Namespace module for embedding visualization.

logger

Embedding logger.

rpc

RPC and Mechanical service implementation.

addins

Configuration system for embedded mechanical.

app

Main application class for embedded Mechanical.

app_libraries

System to add python libraries shipped with mechanical to the path.

appdata

Temporary Appdata for Ansys Mechanical.

background

Class for running Mechanical on a background thread.

cleanup_gui

Clean up temporary mechdb files after GUI is closed.

enum_importer

Library to import Mechanical enums.

find_mechanical

Cli for finding mechanical installation.

global_importer

Import Mechanical globals.

imports

Additional imports for embedded Mechanical.

initializer

Initializer for Mechanical embedding. Sets up paths and resolvers.

license_manager

License Manager.

loader

clr_loader for pymechanical embedding. This loads the CLR on both windows and linux.

mechanical_warnings

Hook to register obsolete warnings.

messages

Message Manager for App.

poster

Use the Poster class to post functions to Mechanical’s main thread.

resolver

This is the .NET assembly resolving for embedding Ansys Mechanical.

runtime

Runtime initialize for pythonnet in embedding.

shims

Shims for embedded Mechanical.

transaction

A class to speed up bulk user interactions using Ansys ACT Mechanical Transaction.

ui

Run Mechanical UI from Python.

utils

Miscellaneous utilities.

Description#

Imports for the embedding sub-package.