Back to docs
Description Get the (x, y, z) coordinates of a given node.
Parameters
Returns tuple: A tuple of (x, y, z) coordinates, rounded to 3 decimals.
Example To use this function see the following example:
from openstaad import Geometry
# Instanciate the Geometry module
geometry= Geometry()
#Execute the function from geometry module
x, y, z = geometry.GetNodeCoordinates(1)print(x,y,z)
© 2024 OpenStaad
Built with Reflex