Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On this page:

Table of Contents

Starting SAP2000 from the command line

SAP2000 may be started from the command line using the path to SAP2000.exe, the path to a SAP2000 data file, and four optional switches which control software operation after the data file opens. An example is given as follows:

Code Block

C:\SAP2000\SAP2000.EXE  C:\DATA\MYMODEL.SDB  /R  /D SCAO  /C  /K AO

...

  • This item may have an extension of type SDB, MDB, XLS, $2K, or S2K. Depending on the type of extension, the file is assumed to be:

    • SDB - a SAP2000 SDB file which the software will attempt to open.
    • MDB - a Microsoft Access file which the software will attempt to import.
    • XLS - a Microsoft Excel file which the software will attempt to import.
    • $2K or S2K - a SAP2000 text file which the software will attempt to import.

...

  • /D - automatically performs all possible design after the data file has been opened or imported and analysis results are available. A certain type of design is performed when /D is followed by any of the following:

    • S - steel frame design
    • C - concrete frame design
    • A - aluminum frame design
    • O - coldformed frame design

...

  • When a model is imported, opened, run, and designed from the command line, any Access database file specified for automatic saving upon completion of analysis is not saved until both analysis and design are complete. This allows the Access database file to include both analysis and design results.


Show if
groupeditors

Related Incidents:

  • Incident 24585: Running batch processing for text .S2k and .S$K files.

See Also