The embedding package#

Summary#

logger

Embedding logger.

viz

Namespace module for embedding visualization.

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.

imports

Additional imports for embedded Mechanical.

initializer

Initializer for Mechanical embedding. Sets up paths and resolvers.

loader

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

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.

ui

Run Mechanical UI from Python.

utils

Miscellaneous utilities.

warnings

Hook to register obsolete warnings.

Description#

Imports for the embedding sub-package.