Share

Input

Configuration file

In the Solution Explorer window, click on the Show All Files button on the toolbar.

Open (double click) the file named config.json in the SBDExample1 project.

This application takes the configuration file as input. The file contains the following parameters:

Parameter Description
autoClose Set this parameter to true to close the console window without waiting for a user key press, enabling zero user interaction.
createCSV Set this parameter to true to convert the results to Comma Separated Values (CSV) format and save them in a CSV file.

Set it to false if CSV results are not required.
input The path and name of the input JSON file.
keepGraphics Set this parameter to true to keep the result graphics.

Set it to false to discard the graphics if they are not needed.
multipleCSV Set this parameter to true to create one CSV file per analysis. This is generally only set to true if all analyses are of the same type.

Set it to false to create a single CSV file for all analyses.
omitReport Set this parameter to true to omit PDF report creation if the report is not required. This can lead to faster run time.
outputFile The name of the output JSON file.
outputFolder The path to the output JSON file.
sbdexe The path to the Autodesk Structural Bridge Design executable.
silent Set this parameter to true to run the automation without any user interface (UI).

Set it to false to display the SBD - Batch Mode window.
javaLocation The path to the Java executable if a PDF report is required.

Please make sure to modify the values of these parameters in the config.json file according to your specific requirements.

Input file

In the Solution Explorer window, expand the folder named Test under SBDExample1. Then,double click on the file named Example_1.json to open it.

The C# code you have just executed opens this file and parses its data. The Example_1.json file contains the definition of the design section and the control block to automate the analysis. You can learn more about these topics in the following documentation:

You can create this input file by either saving Design Sections or Design Beams as JSON from the Autodesk Structural Bridge Design application, or by building the design from scratch in code, as shown in the Detailed Look section.

Next topic: Output

Was this information helpful?