Interface: IMechanicalExtAPI

Exposes the main entry point of all ATC APIs.

Remarks

An instance can be retrieved from the main pyton scope (ie. in all python files included by the xml script element) by using the global variable ExtAPI.

Methods

Name Description
LockPrePostLicense() Locks the license used by the PRE/POST application.
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.

Properties

Name Description
Application Gets the application object.
Context Gets the current context name (Mechanical, Project, ...).
DataModel Gets the DataModel object.
ExtensionManager Gets the extension manager object.
Graphics Gets the graphics object.
Log Gets the log object. Useful for reporting messages and errors.
SelectionManager Gets the selection manager object.
Tools Gets the common tools object.
UserInterface Gets the user interface object.