Messages
#
- class ansys.mechanical.stubs.v241.Ansys.Mechanical.Application.Messages#
Bases:
object
Defines the collection of Mechanical’s messages.
Overview#
|
Add a new message. |
|
Remove a specific message in the list. |
|
Clear the list of the messages. |
|
Check if a message is in the current list of messages. |
|
Shows errors with current project. |
|
Get the number of messages. |
Property detail#
- property Messages.Count: System.Int32 | None
Get the number of messages.
Method detail#
- Messages.Add(item: Ansys.Mechanical.Application.Message) System.Void
Add a new message.
- Messages.Remove(item: Ansys.Mechanical.Application.Message) System.Boolean
Remove a specific message in the list.
- Messages.Clear() System.Void
Clear the list of the messages.
- Messages.Contains(item: Ansys.Mechanical.Application.Message) System.Boolean
Check if a message is in the current list of messages.
- Messages.ShowErrors() System.Void
Shows errors with current project.