I need write a function by tcl to find all nodes within a certain scale, which was defined by a center node and 3 distance in 3 direction respectively.
My problem is how to looking for the node number from global coordinate and how to get a certain node’s coordinate in tcl file.
I'm familar with FORTRAN. I'm begining to study C++ language recently. Before get help here, I'll try to read the source code. It'll take me a long time.
there is an undocumented command: nodeCoord nodeTag? dirn? .. where
nodeTag? is the tag of the node and dirn? is either X,Y,or Z (1,2, or 3) also works.