Back to docs
Adds a beam/member with specified nodes in the current model
This function adds a beam/member with the specified start and end nodes to the current model and returns the member number automatically assigned.
# Example usage of AddBeam
# member_id = openstaad.Geometry.AddBeam(nNodeA, nNodeB)
from openstaad import Geometry
# Instanciar el módulo Geometry
geometry = Geometry()
# Ejecutar la función desde el módulo geometry
member_id = geometry.AddBeam(nNodeA, nNodeB)© 2024 OpenStaad
Built with Reflex