IMechanicalExtAPI#

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

Bases: object

Exposes the main entry point of all ATC APIs.

Overview#

ExecuteCommand

ExecuteCommand method.

LockPrePostLicense

Locks the license used by the PRE/POST application.

UnlockPrePostLicense

R

get_Application

get_Application method.

get_Context

get_Context method.

get_DataModel

get_DataModel method.

get_ExtensionManager

get_ExtensionManager method.

get_ExtensionMgr

get_ExtensionMgr method.

get_Graphics

get_Graphics method.

get_Log

get_Log method.

get_SelectionManager

get_SelectionManager method.

get_Tools

get_Tools method.

get_UserInterface

get_UserInterface method.

Application

Application property.

Context

Context property.

DataModel

DataModel property.

ExtensionManager

ExtensionManager property.

ExtensionMgr

ExtensionMgr property.

Graphics

Graphics property.

Log

Log property.

SelectionManager

SelectionManager property.

Tools

Tools property.

UserInterface

UserInterface property.

Property detail#

property IMechanicalExtAPI.Application: Ansys.ACT.Interfaces.Mechanical.IMechanicalApplication | None#

Application property.

property IMechanicalExtAPI.Context: str | None#

Context property.

property IMechanicalExtAPI.DataModel: Ansys.ACT.Mechanical.MechanicalDataModel | None#

DataModel property.

property IMechanicalExtAPI.ExtensionManager: Ansys.ACT.Interfaces.Common.IExtensionManager | None#

ExtensionManager property.

property IMechanicalExtAPI.ExtensionMgr: Ansys.ACT.Interfaces.Common.IExtensionManager | None#

ExtensionMgr property.

property IMechanicalExtAPI.Graphics: Ansys.ACT.Common.Graphics.MechanicalGraphicsWrapper | None#

Graphics property.

property IMechanicalExtAPI.Log: Ansys.ACT.Interfaces.Common.ILog | None#

Log property.

property IMechanicalExtAPI.SelectionManager: Ansys.ACT.Interfaces.Common.ISelectionManager | None#

SelectionManager property.

property IMechanicalExtAPI.Tools: Ansys.ACT.Interfaces.Common.ITools | None#

Tools property.

property IMechanicalExtAPI.UserInterface: Ansys.ACT.Interfaces.UserInterface.IUserInterface | None#

UserInterface property.

Method detail#

IMechanicalExtAPI.ExecuteCommand(cmd: str, args: System.Collections.Generic.Dictionary[str, Any], vars: str) System.Collections.Generic.Dictionary[str, Any]#

ExecuteCommand method.

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.
IMechanicalExtAPI.get_Application() Ansys.ACT.Interfaces.Mechanical.IMechanicalApplication#

get_Application method.

IMechanicalExtAPI.get_Context() str#

get_Context method.

IMechanicalExtAPI.get_DataModel() Ansys.ACT.Interfaces.Mechanical.IMechanicalDataModel#

get_DataModel method.

IMechanicalExtAPI.get_ExtensionManager() Ansys.ACT.Interfaces.Common.IExtensionManager#

get_ExtensionManager method.

IMechanicalExtAPI.get_ExtensionMgr() Ansys.ACT.Interfaces.Common.IExtensionManager#

get_ExtensionMgr method.

IMechanicalExtAPI.get_Graphics() Ansys.ACT.Common.Graphics.MechanicalGraphicsWrapper#

get_Graphics method.

IMechanicalExtAPI.get_Log() Ansys.ACT.Interfaces.Common.ILog#

get_Log method.

IMechanicalExtAPI.get_SelectionManager() Ansys.ACT.Interfaces.Common.ISelectionManager#

get_SelectionManager method.

IMechanicalExtAPI.get_Tools() Ansys.ACT.Interfaces.Common.ITools#

get_Tools method.

IMechanicalExtAPI.get_UserInterface() Ansys.ACT.Interfaces.UserInterface.IUserInterface#

get_UserInterface method.