Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

SAP 2000 OAPI and Python and C

Status
Not open for further replies.

borja1980

Civil/Environmental
Feb 26, 2015
19
Hi. Given the fact that there are a lot of commands in the vBA OAPI environment that are not accesible, i was wondering if the OAPI could be accessed with Python or with C. In such case, where coud i find the manuals for working with the oAPI in that languages (I already have the manual for VBA OAPI)
thanks.
 
Replies continue below

Recommended for you

If you have a more recent version of SAP2000, the OAPI documentation that installs in the SAP installation directory includes Python examples (Under "Example code" section) as well as examples for Matlab, Visual Fortran, C++, and other programming languages. I believe they added the Python example to the documentation starting with Version 16.
 
I have already seen that there are a few examples in various languages. However, i can't find the documentation for programming in c, visual studio, phyton, etc....I seem to me that VBA is the only language that has documentation available. After much tought, I have come to the conclusion that if i want to reach all the commands of SAP2000, the OAPI is not enough, and i would need to dive in the dll libraries of the programm. Perhaps pyhton lets me do what i want. I must confess that I have no idea in C. C++, C#.
Thanks for the reply
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor