Room Tag x/y

Room Tag x/y

lwindsor
Contributor Contributor
1,278 Views
5 Replies
Message 1 of 6

Room Tag x/y

lwindsor
Contributor
Contributor

I haven't found where this has been asked before, but if I've missed it, I'm sorry.  

 

I've created a room tag that displays the size of the room.  This is great for clients because sometimes adding dimensions can get crowded and confusing for them.  That works great except it always displays the width as the longest distance.  This means that if the X distance is longer, it displays that first, and if the Y distance is longer, it will display that first.  This can be confusing for the clients (and even me sometimes) when they try and figure out what dimension has changed. 

 

Room Sizes.jpg

Is there a way to always display the X distance first and the Y distance second?

 

Thanks

0 Likes
Accepted solutions (1)
1,279 Views
5 Replies
Replies (5)
Message 2 of 6

barthbradley
Consultant
Consultant

Calculated Parameters in Tag:

 

Length=if(Area = (Perimeter / 4) ^ 2, Perimeter / 4, ((Perimeter / 2) - sqrt((Perimeter / 2) ^ 2 - 4 * Area)) / 2)

 

Width=Area / Length

 

 

RoomLengthXWidth.png

 

0 Likes
Message 3 of 6

ToanDN
Consultant
Consultant
Accepted solution

You can create another room tag type, reverse Width and Length formulas, and use it for vertical rooms.

0 Likes
Message 4 of 6

lwindsor
Contributor
Contributor

I appreciate your response, but I already have it set up that way.  In the solution I am looking for, the second rectangle would list the 35' first and the 9' second.  I would like the X direction to always show first and the Y direction to show second.  

Thanks again for the effort.

0 Likes
Message 5 of 6

lwindsor
Contributor
Contributor

Hi ToanDN, 

I was hoping to have one that did that automatically, but apparently that can't be done.  Looks like your response is the most reasonable.  Thanks for your help and have a great day!

0 Likes
Message 6 of 6

barthbradley
Consultant
Consultant

@lwindsor wrote:

I appreciate your response, but I already have it set up that way.  In the solution I am looking for, the second rectangle would list the 35' first and the 9' second.  I would like the X direction to always show first and the Y direction to show second.  

Thanks again for the effort.


 

So you want the Tag to know what direction x and y is?  What happens when the room isn't orthogonal in the view? Know what I mean? Personally, I wouldn't bother with 2 Tags.  Seems silly.    

0 Likes