Skip to main content

Mechanical scripting interface

FieldAdapterManager

Last update: 14.01.2025

class Ansys.ACT.Mechanical.Fields.Adapters.FieldAdapterManager

Bases: object

Static class that operates like a factory to create field adapters from Mechanical objects.

Overview

Constructors

Name Description
RegisterNewAdapter Register the instance object that defines a type of field adapter.
UnregisterAdapter Removes the instance object that defines a type of field adapter from this manager.

Properties

Name Description
AdapterDefinitions Gets the collection of adapters in this manager.

Property detail

property FieldAdapterManager.AdapterDefinitions : List[Ansys.ACT.Mechanical.Fields.Adapters.FieldAdapter.IDefinition] | None

  • Classmethod:

Gets the collection of adapters in this manager.

Method detail

classmethod FieldAdapterManager.RegisterNewAdapter(definition: Ansys.ACT.Mechanical.Fields.Adapters.FieldAdapter.IDefinition)

Register the instance object that defines a type of field adapter.

classmethod FieldAdapterManager.UnregisterAdapter(index: int)

Removes the instance object that defines a type of field adapter from this manager.