Skip to main content

Mechanical scripting interface 2026 R1

`MAPDLSolverData`

Last update: 09.03.2026

class Ansys.Mechanical.DataModel.SolverData.MAPDLSolverData

Bases: object

Overview

Methods

Name Description
ElementIdsByMaterialId Returns a list of Element IDs that belong to a given Material ID
GetObjectData GetObjectData method.
NodeIdsByMaterialId Returns a list of Node IDs that belong to a given Material ID

Properties

Name Description
MaxElementId Gets the Maximum Element Id number.
MaxElementTypeId Gets the Maximum Element Type Id number.
MaxNodeId Gets the Maximum Node Id number.

Property detail

property MAPDLSolverData.MaxElementId : int | None

Gets the Maximum Element Id number.

property MAPDLSolverData.MaxElementTypeId : int | None

Gets the Maximum Element Type Id number.

property MAPDLSolverData.MaxNodeId : int | None

Gets the Maximum Node Id number.

Method detail

MAPDLSolverData.ElementIdsByMaterialId(matId: str) → int

Returns a list of Element IDs that belong to a given Material ID

MAPDLSolverData.GetObjectData(obj: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) → Any

GetObjectData method.

MAPDLSolverData.NodeIdsByMaterialId(matId: str) → int

Returns a list of Node IDs that belong to a given Material ID

Connect with Ansys