Calculated formula for diagonal length.

Calculated formula for diagonal length.

Anonymous
Not applicable
2,525 Views
3 Replies
Message 1 of 4

Calculated formula for diagonal length.

Anonymous
Not applicable

I am trying to create a formula to calculate the diagonal length of the precast panel in wall schedule, but I am having trouble to come up with the correct synthax. This is how I am inputting it (Length^2+Height^2)^1/2, but coming up with wrong values. Any help will be appreciated. Thanks 

0 Likes
Accepted solutions (3)
2,526 Views
3 Replies
Replies (3)
Message 2 of 4

MostafaElashmawy
Advisor
Advisor
Accepted solution

It should be:

sqrt(Length^2+Height^2)

Mostafa Elashmawy
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 3 of 4

barthbradley
Consultant
Consultant
Accepted solution

Sounds like you want to calculate the length of the hypotenuse ("c") of a right triangle knowing only "a" and "b".

 

Trig1.png

 

 

c = sqrt(a ^ 2 + b ^ 2)

 

More:  

 

https://www.revitforum.org/showthread.php/1046-Revit-Formulas-for-quot-everyday-quot-usage

 

Trig.png

 

 

 

 

 

 

 

 

 

 

Message 4 of 4

RDAOU
Mentor
Mentor
Accepted solution

@Anonymous 

 

You were on the right track but you forgot the brackets (1/2)...Based on your formula it would be 

 

form.png

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION