Skip to main content

Mechanical scripting interface

Message

Last update: 14.01.2025

class Ansys.Mechanical.Application.Message

Bases: object

A message.

Overview

Properties

Name Description
DisplayString The display string of the message.
Location The location of the message.
RelatedObjects The list of objects related to the message.
Severity The severity of the message.
Source The source object of the message.
StringID The string ID of the message.
TimeStamp The timestamp of the message.

Property detail

property Message.DisplayString : str | None

The display string of the message.

property Message.Location : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

The location of the message.

property Message.RelatedObjects : Iterable[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

The list of objects related to the message.

property Message.Severity : Ansys.Mechanical.DataModel.Enums.MessageSeverityType | None

The severity of the message.

property Message.Source : Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None

The source object of the message.

property Message.StringID : str | None

The string ID of the message.

property Message.TimeStamp : Any | None

The timestamp of the message.