hwIMessageLog SetMessageLimit
Changes the maximum number of messages that can be stored in the Message Log.
Syntax
hwIMessageLog_handle SetMessageLimitmessageLimit
Application
HyperWorks Tcl Query
Description
This command sets the maximum number of messages that can be stored in the Message Log.
Inputs
- messageLimit
- An integer value specifying the maximum number of messages that can be stored in the
message log.
- If the new limit is less than the current limit, then the oldest messages in the log will be lost.
- If the new limit is greater than the current limit, there is no effect on the contents of the log.
Example
hwi GetSessionHandle sess;
sess GetMessageLogHandle msgLog;
msgLog SetMessageLimit 2048
Error
Success (0) or an error message is returned.
Keywords
HyperWorks
Tcl
Message Log
Modify