[PD] retrieve coordinate of objects in pd patch