Skip to main content

Mechanical scripting interface 2026 R1

`IMechanicalExtAPI`

Last update: 09.03.2026

class Ansys.ACT.Interfaces.Mechanical.IMechanicalExtAPI

Bases: object

Exposes the main entry point of all ATC APIs.

Overview

Methods

Name Description
LockPrePostLicense Locks the license used by the PRE/POST application.
UnlockPrePostLicense R

Method detail

IMechanicalExtAPI.LockPrePostLicense() → None

Locks the license used by the PRE/POST application.

IMechanicalExtAPI.UnlockPrePostLicense() → None

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.

Connect with Ansys