Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
In an external automation application for Mathcad Prime 3.1 I need the information about errors of a worksheet after the modification event was raised (SDK). How can I get this?
I've never used it, but Mathcad 15's API appears to provide the ability to access error messages. I don't have Prime 3.1 installed on my current computer to check.
ErrorMsg Property
The ErrorMsg property gets the current calculation error message for the region.
Syntax
bstr = objMC.ErrorMsg
Where:
bstr = A string containing the current calculation error message for the specified region. If there is no error, an empty string is returned.
objMC = A Mathcad worksheet region.