Skip to main content

Mechanical scripting interface

IMechanicalExtAPI

Last update: 14.01.2025

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()

Locks the license used by the PRE/POST application.

IMechanicalExtAPI.UnlockPrePostLicense()

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.