Automatic Room Dimensions calculation wrong

Automatic Room Dimensions calculation wrong

TasnimTarannum
Advocate Advocate
479 Views
4 Replies
Message 1 of 5

Automatic Room Dimensions calculation wrong

TasnimTarannum
Advocate
Advocate

I use to generate automatic room dimension using following formula. if(Area = (Perimeter / 4) ^ 2, Perimeter / 4, ((Perimeter / 2) - sqrt((Perimeter / 2) ^ 2 - 4 * Area)) / 2). But it isn't calculating right measurement what to do? Please check the attachment. Screenshot 2023-12-07 061521.jpg

0 Likes
Accepted solutions (1)
480 Views
4 Replies
Replies (4)
Message 2 of 5

barthbradley
Consultant
Consultant

That doesn't make sense.  Where is "if(Area = (Perimeter / 4) ^ 2, Perimeter / 4, ((Perimeter / 2) - sqrt((Perimeter / 2) ^ 2 - 4 * Area)) / 2)" used in that room tag? Also, is it a square room?  

 

Square Room.png

 

Square Room 2.png

0 Likes
Message 3 of 5

TasnimTarannum
Advocate
Advocate

not squared rectangular

0 Likes
Message 4 of 5

TasnimTarannum
Advocate
Advocate
Accepted solution
figure out it won't work properly if the shape of the room is not a proper rectangular in that room there is column in the corner which is causing the problem I have to manually input them.
0 Likes
Message 5 of 5

mhiserZFHXS
Advisor
Advisor

@TasnimTarannum wrote:
figure out it won't work properly if the shape of the room is not a proper rectangular in that room there is column in the corner which is causing the problem I have to manually input them.

Yep. Saw that immediately. That's the problem with trying to automatically show the length and width of a room. It doesn't work if its not perfectly rectangular.

0 Likes