Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

SAP2000 OAPI - Error Handling

Status
Not open for further replies.

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor