Error Handling

Valued Contributor
Valued Contributor



Is there a way to obtain textual error message from SolidEdge?  Let's say I try to create a 2d Boundary in an unclose area:






    oBoundary = oProfile.Boundaries2d.AddByObjects(aBound.Count, aBound, CX, CY)


Catch ex As Exception

    MsgBox(ex.Message, MsgBoxStyle.Critical)

End Try


This display a message about an invalid RPC call, and I have to guess about the real error.





Posted by: Pascal Boivin
Post date: 6/10/2010 5:35:54 AM