.. highlightlang:: us .. index:: GridGetSelection .. _gridgetselection: GridGetSelection ================ .. us.tag GridGetSelection NOTREADYENGLISH New330 GridSel :ref:`GridGetSelection` retrieves the current selection. .. function:: rmSelection = GridGetSelection() .. us.return **Return Value** *rmSelection* is matrix with four columns. Each matrix row contains one selection range: Col1: First selected column, Col2: First selected row, Col3: Last selected column, Col4: Last selected row. Column and row numbering starts with 1. If one of the values is 0 the entire row or column is selected. .. us.comment **Comment** All functions starting with ``Grid`` access the data browser. If the browser dialog isn't open, these functions return an invalid value. .. seealso:: :ref:`overview-netcdf-file-browser`, :ref:`overview-netcdf-files`, :ref:`GridSetSelection` :sub:`id-905666`