Forums
Forums >> Revit Structure >> Technical Support >> Revit 2011 Array Qty Rounding Issue
|
|
active
Joined: Wed, Oct 20, 2010
8 Posts No Rating |
Hi.
I'm working with an array that controls a void nested family. using 2nd Position.
My issue is the calcuatlion. I can't get the rounding sorted out. When I place the beam inside a project I can only make certain lengths because of the array parameter.
I know with Revit 2012 you now have access tot he "roundup" & "rounddown" functions. But what do I do in Revit 2011?
Parameters:
- Hole_Array_Length = 1524
- Hole_End_Offset = 150 (edge of beam to start of 1st Array Nested Void Family)
- Hole_Spacing = 300 (I couldn't get this added to the formula, but this does control the physical nested family location)
Also, for some reason, in my Formula, Revit is putting in "mm" when it shouldn't.
if((Hole_Array_Length - Hole_End_Offset) / 300 < 2 mm, 2, ((Hole_Array_Length - Hole_End_Offset) / 300 mm) - 1)
I can only get the array to work if I insert the "-1" at the end...
See my attached family.
|
This user is offline |
|
 |
|
active
Joined: Sat, Nov 21, 2009
4 Posts
 |
I unfortunately have a very similar issue except I'm arraying brackets rather then voids...
|
This user is offline |
|
 |
active

Joined: Thu, May 28, 2009
829 Posts
 |
Hmmm, I array nested voids by using a Length reporting parameter, and then having a "void array" parameter which is set to output an Integer, the integer being derived by Length/1' ... or dividing by whatever you want the spacing to be.
That's how I round. Length divided by spacing, saved as an integer. Then simply using that integer parameter as the array label.
|
This user is offline |
|
 |
active
Joined: Sat, Nov 21, 2009
4 Posts
 |
Well after a while of searching I found somewhere that if you add .49 at the end of your equation it will act as a roundup. However it gave the warning that it wont work for all cases, but it did for mine so it might be worth a shot.
|
This user is offline |
|
 |
active

Joined: Wed, Mar 5, 2008
208 Posts
 |
Have you tried using array as a "last" instead of "2nd"?
|
This user is offline |
|
 |
active
Joined: Sat, Nov 21, 2009
4 Posts
 |
Thats what I use is Last for the array. But its the integer I needed rounding up so when something is supposed to be at 3' O.C. or less its not rounding the integer down making 1 to few. Say for example My wall is 13 feet long and I need something to be 3' on center, by telling revit this formula to get the integer I need to array it : 13/3 it will consider the answer 4, even though its really above 4 so my O.C. will be greater then the required 3. But by adding a 1 at the end (ex, 13/3+1) it will get 5 however it will also get 5 for the equation 12/3 even though that one really can be 4. So by adding that 0.49 revit will round it up if its not an exact number... so my final formula that worked was Wall Length/O.C. Spacing + 0.49 and it miraculously works. Hope that all makes sense? @_@
|
This user is offline |
|
 |
 |
Similar Threads |
2-dimensional Array of Arrays |
Revit Structure >> Technical Support
|
Wed, Aug 3, 2011 at 7:47:13 AM
|
4
|
Rounding Issue in Schedules |
Revit Building >> Technical Support
|
Mon, Jan 9, 2017 at 2:07:08 PM
|
3
|
overhead door - void to cut array |
Revit Building >> Technical Support
|
Tue, Apr 10, 2012 at 3:40:07 AM
|
6
|
Rounding in Formulas |
Revit Building >> Technical Support
|
Wed, Mar 13, 2013 at 8:49:49 AM
|
4
|
Dimension Rounding |
Revit Building >> Technical Support
|
Thu, Aug 23, 2007 at 2:54:32 PM
|
4
|
 |
|
Site Stats
Members: | 2100632 | Objects: | 23171 | Forum Posts: | 152294 | Job Listings: | 3 |
|