NodeCoord Command

From OpenSeesWiki
Jump to navigationJump to search

Returns the coordinates of a specified node.

nodeCoord $nodeTag <$dim>

$nodeTag integer tag identifying node
$dim specific dimension at the node (1 through ndm), (optional)


If optional $dim is not provided, an array containing all coordinates at the node is returned.


set a [nodeCoord $nodeTag]

Code Developed by: fmk