Skip to main content

Mechanical scripting interface

MAPDLSolverData

Last update: 14.01.2025

class Ansys.Mechanical.DataModel.SolverData.MAPDLSolverData

Bases: object

MAPDLSolverData class.

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)

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

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

GetObjectData method.

MAPDLSolverData.NodeIdsByMaterialId(matId: str)

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