Syntax for dbGetNeighborList is dbGetNeighborList( cv bbox t_direction [t_layer t_purpose] depth) What should I do if I dont want to specify the depth but not the lpp ?? if I supply nil then it returns an error but if I specify the depth without the lpp it returns nil. Could anyone tell me what if I am missing something. thanks, Sriram