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 ?preprocessor?

Status
Not open for further replies.

peppiniello

Structural
Oct 16, 2001
32
hi,

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

thanks a lot




 
Replies continue below

Recommended for you

What are you trying to do exactly? Are you trying to launch SAP from within an Excel macro or something, or are you writing a whole new program?

Are you writing a new pre-processor for SAP and trying to have SAP act as only an analysis engine?

I *think* the SAP analysis engine is within the executable and not in a dll, so you may have some trouble communicating directly with the engine.

If all you want to do is launch the executable from within your program, it should not be difficult. The implementation specifics will depend on the language you are using. If you are using any Microsoft language, (Microsoft Developer's Network) is an excellent resource.
 
well...
what i am actually trying to do, is creating a Macro (using excel or whatever) that allow me to launch SAP2000 wit the input parameters i modify at each step

it could be a

-batch file
-excel macro
-...whatever

can you help me?
 
I don't know whether it is possible to control SAP or even any other programs from a VBA macro. You might want to put the question to the Microsoft VBA forum.

I do know that you can perform basic operations such as launching or killing an application. The AppActivate statement works like this:

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

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor