Message#

class ansys.mechanical.stubs.v261.Ansys.Mechanical.Application.Message(text: str, severity: Ansys.Mechanical.DataModel.Enums.MessageSeverityType)#

Bases: object

A message.

Overview#

Equals

Equals method.

GetHashCode

GetHashCode method.

GetType

GetType method.

ToString

ToString method.

DisplayString

The display string of the message.

Location

The location of the message.

MessageVisibility

MessageVisibility property.

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.

__repr__

__repr__ method.

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.MessageVisibility: bool | None#

MessageVisibility property.

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.

Method detail#

Message.Equals(other: Ansys.Mechanical.Application.Message) bool#

Equals method.

Message.GetHashCode() int#

GetHashCode method.

Message.GetType() type#

GetType method.

Message.ToString() str#

ToString method.

Message.__repr__() str#

__repr__ method.