Hello,
I am creating a Room Tag with Dimensions to place on my plans, I have used the formula in this post, the issue is that it always displays the longer side first. (Ex, if a room is 5m on the Y-axis and 3m on the X-axis, it shows 5x3..., if a room is 3m on the Y-axis and 4m on the X-axis, it shows 4x3) I want to be able to have a consistent definition for Length and Width, Length to be on the X-axis and Width to be on the Y-axis so that I can display all rooms in this format X x Y. Is there something I could adjust to just have on annotation family?
My temporary solution is that I created 2 families one which shows width x length and one that shows length x width and wherever I want the length on the x-axis to show first I choose the corresponding family. But this is very inefficient and wastes time.
Can you include the formula you are using for reference? The post you linked to has a broken link so I can't see the original formula.
My first guess would be to split this into two parameters, one which calculates length, one which calculated width. Then within the tag, you can display "L x W" consistently.
Length: if(Area = (Perimeter / 4) ^ 2, Perimeter / 4, ((Perimeter / 2) - sqrt((Perimeter / 2) ^ 2 - 4 * Area)) / 2)
Width: Area/Length
@Anonymous wrote:
My temporary solution is that I created 2 families
Instead of 2 different families, what about 2 additional TYPES within the same Tag Family?
I can't imagine how Dynamo would solve. Seems pretty subjective. What if the View was oriented to True North or oriented per a Scope Box - what would the Length be and what would the Width be? The way I see it, we need to apply the TYPE that "fits" the orientation of the View.
Did you manage to crack this ? I totally get this. have been looking for a solution for a long time myself and the best solution is sadly the one that you have posted in the beginning by creating 2 families. pls do post if you have found a way to get around with this
Thanks
Can't find what you're looking for? Ask the community or share your knowledge.