Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • 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
Joined
Mar 5, 2020
Messages
2
Location
IN
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

Back
Top