Hi, i m simulating leach protocol and want to get the initial coordinates of the nodes in my .cc file to calculate node's distance from the base station. i have been able to get individual node's coordinates at run time following the link mentioned below but unable to get its initial coordinates of all nodes which is needed for my work. i have included a node position and pattern file in my tcl script.http://elmurod.net/en/index.php/archives/348 i'll be grateful if anyone can guide how to do that. regards,najma