PRIMER 22.1

Working with Multiple Rows

Working with Multiple Rows

It is possible to select a range of Data rows and to change their properties, or their suffices, or to delete them in a single operation as described above for a single row.

Rows that have been selected invert their colour to a dark background, and become active for "multiple" operations. In the figure below rows 2 to 4, and 7 to 8 have been selected.

Go to label menu

This is available in keyword editors for entities with label fields.

Using this menu, you can automatically jump the scroll bar to the entity row of given label value.

You can either input the label value or or also select the entity of choice using the "Select..." menu.

If an entity with the input label value is not found in the list, then the scroll bar jumps to the entity with a label value that is nearest to the given label.

Selecting a range of rows

Rows may be selected by a range of methods, which may be combined in any order:


By clicking on the row index buttons:

<Click> Selects that row only, deselecting any others.
<Shift + click> Selects all rows between the most recently clicked on and the current row.
<Control + click> Inverts the selection status of the current row, leaving other rows' selection status unchanged.


From the Popup menus on the Options ... button

SEL_ALL Selects all rows
UNSEL_ALL Deselects all rows
Select ... Maps the standard PRIMER object menu allowing you to select items in the normal way.
Actions on selected rows
Show_All Shows all Data rows. Needed if only a subset has been displayed using the options below.
Only_Sel Shows only those Data rows which have been selected.

This can be useful if you have selected a small and diverse subset of a large number of items
Hide_Sel The opposite of the above: shows only those Data rows which have not been selected.
Sketch_Sel Sketches the currently selected Data rows on the current model
Reset_Sel Peforms a RESET of all selected Data rows , restoring them to their original unedited state.
Delete_sel Deletes the selected Data rows , going through the same selection and confirmation procedures described before for deleting a single row.

Editing entries on multiple rows

When multiple rows have been selected then editing any field on any selected row will result in the same field on all other selected rows, if compatible, being changed to the same value.

For example taking the image above, if field N1 on row 2 is changed to 10 (ie node 10), then N1 on rows 3, 4, 7 and 8 will also be changed.

When you type in a formula as explained in Formulae in Edit Panels, then the formula will be evaluated on each row separately. Typing =n2-1 into the field for N1 on an arbitrary selected row as depicted on the right will set N1 to 4082 on row 2, to 4064 on row 3, to 24623 on row 4 etc.

Only "compatible" data are changed

If the data in the field that is changed does not match that in the same field on another selected row, then the latter is unchanged.

In this example RPS on row #2 matches RPS on row #3, but not N3 on rows #7 and #8, so only row #3 is changed.

Popup menu actions on multiple rows

When multiple rows are selected the popup menu on any index button works in exactly the same way as for a single row, except as described below.

The following two options act on this row only
Edit... Maps the Create/Update panel for the selected item only.

From V12 onwards any edits made will be listed when the edit finishes, and you will be given the opportunity to choose whether or not to propagate them to other highlighted rows.

Xrefs Maps the standard cross-reference viewer for the selected item only.

The remaining actions operate on all selected rows

Check Runs the standard check function
Reset Resets to original unedited state
Sketch Sketches on the current model.
Blank Blanks them
Unblank Unblanks them
Only Draws only them
Delete Deletes them