On 17/04/2013 2:00 CH, Najma Ismat wrote:
> Hi,I want to print the position of nodes at the start of the simulation on 
> the terminal window, can anyone guide how to do that? I have included 
> mobility pattern file in my tcl script for the node placement and 
> position.Regards,Najma                                     

Hi Najma,

You can try this code in TCL script:

set posx [$node1 set X_]
puts $posx

This will print out the X component of coordinates of node. Do the same 
thing for Y and Z (replace X_ with Y_  or Z_) (but actually you don't 
need the Z).

Best regards,

Reply via email to