OPS

HomeDocsSupport

OPS

Back to docs

GetBeamLength

Description Get the length of a beam identified by its number.

Parameters

  • beam (int): Beam number.

Returns float: Length of the beam, in model units, 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
length = geometry.GetBeamLength(1)

print(length)

What is OPS?GitHubSupport

© 2024 OpenStaad

Built with Reflex