Message Handler Callback Function
The client must register a message handler with the SIMULIA Co-Simulation Services (see Establishing Connections). The message handler is a callback function called by the SIMULIA Co-Simulation Services to convey information, warning, and error messages to the client's message handler.
Member labels are provided separately from the message. This allows the client to translate the node or element numbers into a different number or label space, if needed, prior to presenting them to the user or to graphically present them in a CAE environment.
The message handler takes the following arguments:
iSeverity- Indicates whether this is an information, warning, or error message.
iMsg- Constant character string containing the message.
iNumNodes- If the message pertains to nodes, defines how many nodes are returned in
the
nodesargument.
iNodes- List of nodes.
iNumElements- If the message pertains to elements, defines how many elements are
returned in the
elementsargument.
iElements- List of elements.