Skip to main content

Mechanical scripting interface

FieldAdapter

Last update: 14.01.2025

class Ansys.ACT.Mechanical.Fields.Adapters.FieldAdapter

Bases: object

Base class for objects that handle the interface between the generic boundary condition wrapper and the various types of concrete object implemented in Mechanical.

Overview

Methods

Name Description
ChangeFieldDefinitionType Changes the definition type for a field of the wrapped object from Mechanical.

Properties

Name Description
FieldProvider Gets the wrapped object from Mechanical.

Property detail

property FieldAdapter.FieldProvider : Ansys.Common.Interop.DSObjects.IDSBCInformation | None

Gets the wrapped object from Mechanical.

Method detail

FieldAdapter.ChangeFieldDefinitionType(fieldType: Ansys.Common.Interop.CAERepObjects.AnsBCLVType, newType: Ansys.Common.Interop.AnsMaterial.kEDDataType)

Changes the definition type for a field of the wrapped object from Mechanical.