×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

SAP2000

SAP2000

SAP2000

(OP)
hi,

does anybody know if there is any way to automatically launch a sap2000 analysis from another program?

thanks a lot



 

RE: SAP2000

Well i dont know what excatly you want to do, but apperently you cant launch sap from another program and let the program use the sap data or results...
as far as i know sap operates at a close structure.
To do what you want you have to be able to modify the sap main code. (that is written in c++ i guess)

RE: SAP2000

(OP)
ernestobarrera, you mean i'll not be able to make sap2000 open a file by giving a vba instruction?

Sap can be easily opened in this way:

Dim MyAppID, ReturnValue
    MyAppID = Shell("C:\SAP2000N\Sap2000.exe", 1)
    AppActivate MyAppID


but, of course, i'd need the program to open a file for me and run the analysis

do you think i can do it without modifying sap's code?
however, if you are interested in the topic, i'll be very grateful if you have a look at this post session and post there what you think about it:


please go at
Home > Forum Areas > Engineering Computer Programs > General Engineering Programs > Microsoft VBA - Visual Basic for Applications Forum

or

Thread766-13426

RE: SAP2000

every time sap runs it stores the input and output info on several files. you should be able to open this information using vba commands.remember that sap2000 is very similar to sap90, that uses a preprocessor to build and input file. if you can create a vba routine to build the sap input file data and then calling on sap2000.exe to run the analysis you would have half of the job.then you have to create a vba routine to extract the information from the output files (sap generates a lot of them, depending on the analysis and design options of your problem). i think you can do all that WITHOUT modifying the sap main code.


i think it is very interesting task you are trying to do there...please keep me informed...
i would like to make some vba routines to extract sap2000 plate and shell analysis results to design shearwall and reinforced concrete slabs, since sap2000 lacks of this capabilities. i think that your approach is the good one to achieve this task....

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources

eBook - Mastering Tolerances for Machined Parts
When making CNC machined parts, mastering tolerances can be challenging. Are general tolerances good enough? When does it make sense to call out for tighter tolerances? Do you need a better understanding of fits, datums, or GD&T? Learn about these topics and more in Xometry's new e-book. Download Now
eBook – How to Choose the Correct Corrosion Testing Method
When designing a metal component, engineers have to consider how susceptible certain alloys are to corrosion in the final product’s operating environment. In a recent study by NACE (National Association of Corrosion Engineers), it was estimated that the direct and indirect costs of corrosion in the United States is approximately 6.2% of the GDP. In 2016, that cost exceeded $1 trillion dollars for the first time. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close