Skip to main content
It is possible to call Microsoft Office Excel from an RBD command to read and write data to and from Excel. If Excel is available, RBD will automatically detect and load the Excel interopt. If Excel is detected, the solver output will contain the following lines at the beginning.
The Excel application is initiated using:
Use the following line to open an Excel file:
To read data from the current worksheet, use the following:
Before using the values in an RBD script, it may be necessary to convert them to real values:
Similarly, it is possible to write values to the current worksheet. The following sequence of commands shows how to create a new worksheet and write the joint force in the new worksheet: