Messages
Last update: 14.01.2025
Messages
class Ansys.Mechanical.Application.Messages
Bases: object
Defines the collection of Mechanical’s messages.
Overview
Methods
Name | Description |
---|---|
Add |
Add a new message. |
Clear |
Clear the list of the messages. |
Contains |
Check if a message is in the current list of messages. |
Remove |
Remove a specific message in the list. |
ShowErrors |
Shows errors with current project. |
Properties
Name | Description |
---|---|
Count |
Get the number of messages. |
Property detail
property Messages.Count : int | None
Get the number of messages.
Method detail
Messages.Add(item: Ansys.Mechanical.Application.Message)
Add a new message.
Messages.Clear()
Clear the list of the messages.
Messages.Contains(item: Ansys.Mechanical.Application.Message)
Check if a message is in the current list of messages.
Messages.Remove(item: Ansys.Mechanical.Application.Message)
Remove a specific message in the list.
Messages.ShowErrors()
Shows errors with current project.