get_node_coord¶
- opstool.pre.get_node_coord()[source]¶
Get nodal data from the OpenSees model.
- Return type:
DataArray
Returns:¶
- node_dataxarray.DataArray
Nodal data array with coordinates and tags.
Examples:¶
>>> node_coord = get_node_coord() >>> print(node_coord.coords) {'nodeTags': array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]), 'coords': ['Xloc', 'Yloc', 'Zloc']}