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: 

Rounding Length Formula in Family Parameters

7 ANTWORTEN 7
GELÖST
Antworten
Nachricht 1 von 8
harrisonwisti
659 Aufrufe, 7 Antworten

Rounding Length Formula in Family Parameters

I am looking to use a formula to round up sizes of void geometry to the nearest 1/16" based on dimensions of structural information. I am looking to have the information populate however, the ROUND(X) command in the formula produces an error. Could use some assistance on getting this formula squared away. Thank you.

 

BEFORE FORMULA IS POPULATED:

Round Up Formula Issues.PNG

WHEN FORMULA IS POPULATED:

Round Up Formula Issues #2.PNG

Beschriftungen (1)
7 ANTWORTEN 7
Nachricht 2 von 8
ToanDN
als Antwort auf: harrisonwisti

You don't need to add rounded parameters with formula to the family.  Add the original parameters to the schedule and format units, set rounding there 

Nachricht 3 von 8
harrisonwisti
als Antwort auf: harrisonwisti

X

Nachricht 4 von 8
SteveKStafford
als Antwort auf: harrisonwisti

The Round() function is attempting to return an integer value and you're supplying dimension units. This POST might help you round values in the family assuming the advice @ToanDN offers doesn't sort it out?


Steve Stafford
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
EESignature

Nachricht 5 von 8
harrisonwisti
als Antwort auf: ToanDN

Always see your posts around the forums, appreciate the help. To clarify, if my goal is to have the actual geometry be rounded; is pairing that parameter to a schedule as a field edit that geometry? For context, I am sending out IFC exports from Revit to a steel supplier & need the countersinks of custom metal to be accurate as possible in the geometry that I send them.
Nachricht 6 von 8
harrisonwisti
als Antwort auf: SteveKStafford

Had taken a look at this post though ran into the same issue but looks like I did not add a multiplying factor at the end to round the totals produced. Looks like it did the trick. Appreciate it.

Nachricht 7 von 8
ToanDN
als Antwort auf: harrisonwisti

Create an integer parameter and use formula = (original length/1)*16.

Create another length parameter and use formula = integer parameter/16.

 

See if that works.

Nachricht 8 von 8
harrisonwisti
als Antwort auf: ToanDN

Indeed it did, checked the other post from @SteveKStafford & was successful. Appreciate the help.

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