mdlIModelClient PostMessageToLog

Displays text in the message log.

Syntax

mdlIModelClient_Handle PostMessageToLog text, type

Application

MotionView Tcl Modify

Description

This command displays text in the message log.

Inputs

text
The message to be posted to the log.
type
Message type:
0
Warning
1
Error
2
Message
3
No Message type

Example

hwi OpenStack
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
mcl PostMessageToLog "This is a test" 2
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;

Errors

None.