Arbortext Command Language > Functions by Alphabetical Listing > tbl_cell_neighbor
  
tbl_cell_neighbor
cellId = tbl_cell_neighbor(cellId, direction, offset)
This function returns the ID of the cell offset cells away in direction direction from cell cellId. It returns h::tblNullToid if the surrounding grid doesn't contain a cell as far away as specified.