Arbortext Command Language > Functions by Alphabetical Listing > tbl_selection_nextrectangle
  
tbl_selection_nextrectangle
[0|1] = tbl_selection_nextrectangle(selectionId, startFlag, ulCellId, lrCellId)
This function iterates over the contents of selection object selectionId, returning in the output variables ulCellId and lrCellId the Cell IDs of the upper-left and lower-right corners of the first or next rectangle (startFlag = 1 or 0, respectively) within. It returns '0' if there is no first or next rectangle, '1' otherwise.