hwIMessageLog AddMessage

Adds a message to the Message Log.

Syntax

hwIMessageLog_handle AddMessage messageType message

Application

HyperWorks Tcl Modify

Description

This command adds a message to the Message Log.

Inputs

messageType
The type of message that you want to add. The different types include (with numbers being the user input):
0
Warning
1
Error
2
Info
3
Line
4
Header
5
Footer
6
YesNo
7
YesNoInfo
8
YesNoWithAll
message
The message that the you want to put in the Message Log.

Example

hwi GetSessionHandle sess;
sess GetMessageLogHandle msglog;
msglog AddMessage 0 “There is something not right.”;

Error

Success (0) or an error message is returned.

Keywords

HyperWorks

Tcl

Message Log

Modify