Run automation
Let's run the automation.
Close Autodesk Structural Bridge Design application if already running.
Build and Debug
Instructions for Microsoft Visual Studio
In the Visual Studio menu bar, click on Build | Build Solution
, or press F6
key.
This will initiate the build process for the entire solution, compiling the code and generating the necessary output files.
To run Example 1 automation application, you can follow these steps:
- Right-click on the SBDExample1 project and select
Set as Startup Project
. - In the menu bar, click on
Debug | Start Debugging
, or press theF5
key.
Instructions for Microsoft Visual Studio Code
To build the SBDAutomation project in Visual Studio Code, follow these steps:
- In the bottom left corner, click on the
Explorer
icon and expand theSolution Explorer
. - In the
Solution Explorer
, locate theSBDAutomation
project. - Right-click on the SBDAutomation solution.
- From the context menu that appears, select
Build
to initiate the build process.
If the Solution Explorer
is not visible, please ensure that you have the latest version of Microsoft Visual Studio Code installed.
To run Example 1 automation application, you can follow these steps:
- Right-click on SBDExample1 in the Solution Explorer and select
Debug | Start New Instance
.
Automation Run
This will start the debugging process for the Example 1 automation application. You can then wait for the process to complete, which may involve executing the code, performing calculations, and generating any desired output.
When INFO END
is shown in the SBD - Batch Mode window, close the window.
To give an example of result value extraction, the values for maximum crack spacing and crack width are shown in the Console window.
For Visual Studio only, press any key in the Console window to finish and stop run.
Next topic: Input