Mohammed Rashid
Computer
- Mar 5, 2020
- 2
Hi,
Can anyone please tell me how to handle errors or how to identify errors while calling a SAP 2000 API in c#?
E.g. int ret = sapObj.SapModel.PropFrame.GetRectangle(sectionName, ref FileName, ref MatProp, ref t3, ref t2, ref Color, ref Notes, ref GUID);
ret value is 1 means method was not executed successfully, but how do I know what went wrong?
Any help in this regard is appreciated.
Thanks & regards,
Rashid
Can anyone please tell me how to handle errors or how to identify errors while calling a SAP 2000 API in c#?
E.g. int ret = sapObj.SapModel.PropFrame.GetRectangle(sectionName, ref FileName, ref MatProp, ref t3, ref t2, ref Color, ref Notes, ref GUID);
ret value is 1 means method was not executed successfully, but how do I know what went wrong?
Any help in this regard is appreciated.
Thanks & regards,
Rashid