IMechanicalExtAPI#

class ansys.mechanical.stubs.v242.Ansys.ACT.Interfaces.Mechanical.IMechanicalExtAPI#

Bases: object

Exposes the main entry point of all ATC APIs.

Overview#

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.