HM Error Message Handling
I have made the HM as server and I have written a small application as client,
Client will send request to the HM like loading file,hiding the assembly etc via sockets and it is working fine.
I have written a function to query the xyz of the node. It is working fine as long as the node is in the model.
My script has this:
if{ catch[ { set nodeXYZ [hm_getentityvalue nodes $nodeID 'x' 0] } errCode] } {
tk_messageBox -message 'Node not found'
}
where $nodeID contains the id of the node.
If it is not there in the model I want to show my own error message but now HM shows the Application Error message which I dont want to show.
How can I make not to show the Application Error messages in HM?
I tired hm_blockerrormessage 1 and hm_blockmessages 1, but no use.
If I use in HM command window , I'm getting the expected result [ i.,e it shows the error message 'Node not found' ]
But It does not work when I launch HM as server...