Section2Excel.vbs

Description

This script performs a graph through 2D operation to extract force and moment results from a slice along a selected line for the active loadcase results.  All results are output against the distance along the line to a spreadsheet.   For multiple selected lines, multiple appropriately named spreadsheets are generated in the working directory.

Notes

1.       THIS SCRIPT IS NOT PART OF LUSAS SOFTWARE AND AS SUCH IS NOT QUALITY APPROVED OR SUPPORTED. IT IS PROVIDED ON AN AS IS BASIS FOR DEMONSTRATION PURPOSES ONLY.

2.       The script is written to work with 2D Thick Beam elements, but the results entity can be changed at line 68:

entity="Force/Moment - Thick 2D Beam"

3.       The lines selected must be straight lines; the distance along the line is along a vector straight from the start point of the line to the end point of the line directly.

4.       For checking purposes, there is a section commented out that writes the datasets extracted by graph through 2D to the text output window.  This and be reinstated by searching and replacing “'CHOUT” with “”.