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

SAP2000 ?preprocessor?

SAP2000 ?preprocessor?

(OP)
hi,

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

thanks a lot



 

RE: SAP2000 ?preprocessor?

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, www.msdn.com (Microsoft Developer's Network) is an excellent resource.

RE: SAP2000 ?preprocessor?

(OP)
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?

RE: SAP2000 ?preprocessor?

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.  

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