Starting CSiBridge from the Command Line

It is possible to start CSiBridge from the command line. The full command line includes the path to the CSiBridge.exe program, the path to a CSiBridge data file plus four optional switches that control what happens in the program after the data file ha been opened.  An example of a full command line, including all possible switches, is as follows:

C:\CSiBridge\CSiBridge.EXE  C:\DATA\MYMODEL.BDB  /R  /D SCAO  /C  /K AO /L ADVANCED

Following are explanations of each of the items in the example command line:

Command Line Item

Description

C:\CSiBridge\CSiBridge.EXE

The path to the CSiBridge.exe program.

C:\DATA\MYMODEL.BDB

The path to the CSiBridge data file.

This item may have an extension of bdb, MDB, XLS, $br or b2k.  If the extension is bdb, the file is assumed to be a CSiBridge bdbd file and the program will attempt to open it.  If the extension is MDB, the file is assumed to be a Microsoft Access file and the program will attempt to import it.  If the extension is XLS, the file is assumed to be a Microsoft Excel file and the program will attempt to import it.  If the extension is $br or b2k, the file is assumed to be a CSiBridge text file and the program will attempt to import it.

/R Pn Sn Bn

The /R switch runs the analysis automatically after the data file has been successfully opened or imported.

The /R switch may be followed by Pn where n is 1 or 2. P1 forces the analysis to be run in the same process as CSiBridge. P2 forces the analysis to run in a separate process from CSiBridge.

The /R switch also may be followed by Sn where n is 1,  2, or 3. S1 forces the analysis to use the standard solver. S2 forces the analysis to use the advanced solver. S3 forces the analysis to use the multi-threaded solver.

The /R switch also may be followed by Bn where n is 1 or 2. B1 forces the analysis to run as 32-bit, even on 64-bit computers. B2 forces the analysis to run as 64-bit, if possible.

/D  SCAO

The /D switch alone automatically performs all possible types of design after the data file has been opened or imported and analysis results are available.

If the /D switch is followed by S, steel frame design is performed.  If it is followed by C, concrete frame design is performed.  If it is followed by A, aluminum frame design is performed.  If it is followed by O, coldformed frame design is performed.  Specifying /D or / D SCAO starts all possible design.

/C

The /C switch closes CSiBridge after the analysis has been run and design has been completed.

/K  AO

The /K switch alone deletes the files created when the analysis was run.

If the /K switch is followed by A, all analysis files except the log and out files are deleted.  If it is followed by O,  the log and output files are deleted.  Specifying /K or /K AO causes the same files to be deleted. 

The /K switch does not delete the Access database file that may be specified to be automatically saved after the analysis has been completed.

/L

The /L switch allows the program level to be specified. This uses the same program levels (i.e., ADVANCEDRATING, ADVANCED, PLUSRATING and so on) as for the Level.txt file documented in the Readme.pdf.

 

When a model is opened (or imported), run and designed from the command line, any Access database file specified to be automatically saved after the analysis has been completed is not saved until both the analysis and design have been completed.  This allows the Access database file to include both analysis and design results.