Returns an array of selected elements.
RSA_SELECTION_ARRAY {array formula} (Objects type)
The RSA_SELECTION_ARRAY formula syntax has the following arguments:
Objects type
The following types of objects are available:
- BARS - bars
- NODES - nodes
- PANELS - panels
Note: If you type an argument in the formula manually, enclose the text in quotation marks. You can also select or type a cell address (for example A1) which the data will be loaded from.
Important: If you insert the array in more than one cell address without using the Formula wizard dialog, you need to select the cells first, and then press CTRL+SHIFT+ENTER to enter it in your worksheet.
EXAMPLE
Open the RSA_FORMULAS.rtd and RSA_FORMULAS.xlsx files to get a better understanding of the example below.
Note: The files are located in C:/ProgramData/Autodesk/Examples/Results Connect/RSA.
Formula:
RSA_SELECTION_ARRAY("BARS") - returns an array which contains the numbers of bars currently selected in Autodesk Robot Structural Analysis Professional.
Result (array):
1 (if one cell address is selected, then the first element from the array is inserted).
Tip: If you want to get the whole array using the Formula wizard dialog, select Set range of cells based on the results for the current formula.