    

 ## On this page

  

 

 # `IMechanicalExtAPI`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v261.Ansys.ACT.Interfaces.Mechanical.IMechanicalExtAPI"></a>

#### *class* Ansys.ACT.Interfaces.Mechanical.IMechanicalExtAPI

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

Exposes the main entry point of all ATC APIs.

<a id="overview"></a>

## Overview

### Methods

NameDescription[`LockPrePostLicense`](#IMechanicalExtAPI.LockPrePostLicense)Locks the license used by the PRE/POST application.[`UnlockPrePostLicense`](#IMechanicalExtAPI.UnlockPrePostLicense)R<a id="method-detail"></a>

## Method detail

<a id="IMechanicalExtAPI.LockPrePostLicense"></a>

### IMechanicalExtAPI.LockPrePostLicense() → [None](https://docs.python.org/3/library/constants.html#None)

Locks the license used by the PRE/POST application.

<a id="IMechanicalExtAPI.UnlockPrePostLicense"></a>

### IMechanicalExtAPI.UnlockPrePostLicense() → [None](https://docs.python.org/3/library/constants.html#None)

```text
R
    Unlocks the license used by the PRE/POST application. This is required if you want to manually launch the Ansys solver.
    You must relock the license after its use. If you don't relock the license, the PRE/POST application will be in read-only mode.

```