Hello,
Anyone knows a way how to always round down the area in a tag?
For instance
if the area is 23.4 it rounds down to 23.0
If the area is 23.7 it rounds down to 23.0
I know it can be done in schedules with formulas, but do not know how to do it in a Tag.
Many thanks.
J
Gelöst! Gehe zur Lösung
Gelöst von Sahay_R. Gehe zur Lösung
Gelöst von ToanDN. Gehe zur Lösung
Hi there,
You need to go into the tag family and change the units there (Manage -> Project Units).
King regards,
Greta
Hi @Anonymous,
I was unable to do it. I mean to round down a, for instance, 23.7m2 area to show just 23.0 m2.
Can you please send a step-by-step, screenshots or video on how to do it?
Thanks
J
I am sorry. That was misleading.
Here are the steps: Open the tag family, select the label showing the area, click Edit label, select the area parameter and click "Edit parameter's units format" (like in the picture). There you can uncheck "Use project settings" and set the Rounding to 0 decimal places.
Thanks @Anonymous.
I tried that but it rounds up any value higher than .5.
for instance, 23.5 rounds up to 24.
I want all values to round down.
Tried it in 2017 like @ToanDN suggested and it works, since Revit 2017 allows formulas in Tags.
Many thanks
J
Hi @jagostinho74,
Do you know if is it possible to do with dimensions as well? I am using Revit 2017 but I don't find a solution.
Thanks,
Alberto
@jagostinho74 wrote:Thanks @Anonymous.
I tried that but it rounds up any value higher than .5.
for instance, 23.5 rounds up to 24.
I want all values to round down.
Tried it in 2017 like @ToanDN suggested and it works, since Revit 2017 allows formulas in Tags.
Many thanks
J
@jagostinho74 and @ToanDN I have come across the same problem but I am unable to use a formula in the "Calculated Value" (e.g. rounddown(Area)). Maybe I am overlooking something basic, but would you be able to explain in more detail how you managed to round an Area Tag down?
Thanks,
P.
@MSA.philipp.lammers - one way out -
@MSA.philipp.lammers wrote:
I have come across the same problem but I am unable to use a formula in the "Calculated Value" (e.g. rounddown(Area)). Maybe I am overlooking something basic, but would you be able to explain in more detail how you managed to round an Area Tag down?
Is the Calculated Value parameter of Area type? What is the error you are getting?
Yes, it was an area that I was trying to round. @Sahay_R's screengrab had the answer.
I hadn't thought about dividing the Area - quite obvious once I realized.
Using the metric system the formula I use looks now like this: (rounddown(Area/1 m²)* 1 m²
This way I am able to keep the "Type" for the Calculated Value as an "Area".
Thanks both of you.
Hi, this is a great solution for just rounding down, is there a way to round to the nearest 0.5? e.g 4.7 would round down to 4.5 but 4.8 would round up to 5.0.
@Ross_Robertson wrote:
Hi, this is a great solution for just rounding down, is there a way to round to the nearest 0.5? e.g 4.7 would round down to 4.5 but 4.8 would round up to 5.0.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.