Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Always round down an area in a tag

14 ANTWORTEN 14
GELÖST
Antworten
Nachricht 1 von 15
jagostinho74
15107 Aufrufe, 14 Antworten

Always round down an area in a tag

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

Assistant BIM/CAD Manager

Manchester, UK


14 ANTWORTEN 14
Nachricht 2 von 15
Anonymous
als Antwort auf: jagostinho74

 

Hi there,

 

You need to go into the tag family and change the units there (Manage -> Project Units).

 

King regards,

Greta

Nachricht 3 von 15
ToanDN
als Antwort auf: jagostinho74

It can be done in 2017.
Nachricht 4 von 15
jagostinho74
als Antwort auf: Anonymous

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

Assistant BIM/CAD Manager

Manchester, UK


Nachricht 5 von 15
Anonymous
als Antwort auf: jagostinho74

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.

Nachricht 6 von 15
jagostinho74
als Antwort auf: Anonymous

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

Assistant BIM/CAD Manager

Manchester, UK


Nachricht 7 von 15
Anonymous
als Antwort auf: jagostinho74

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

Nachricht 8 von 15


@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.

Nachricht 9 von 15
Sahay_R
als Antwort auf: MSA.philipp.lammers

@MSA.philipp.lammers - one way out - 

Capture.PNG


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 10 von 15
ToanDN
als Antwort auf: MSA.philipp.lammers


@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?

Nachricht 11 von 15
MSA.philipp.lammers
als Antwort auf: ToanDN

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.

Nachricht 12 von 15

I was looking for this! Thank you for your post, it helped me :zwinkerndes_Gesicht:

Nachricht 13 von 15
Ross_Robertson
als Antwort auf: jagostinho74

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. 

Nachricht 14 von 15
dbroad
als Antwort auf: jagostinho74

Try something like this:

dbroad_0-1657631827324.png

 

Architect, Registered NC, VA, SC, & GA.
Nachricht 15 von 15
ToanDN
als Antwort auf: Ross_Robertson


@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. 


ToanDN_0-1657643706545.png

 

ToanDN_0-1657643793929.png

 

 

 

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report