RevitCity.com Logo

Home  |  Forums  |  Downloads  |  Gallery  |  News & Articles  |  Resources  |  Jobs  |  FAQ  |  SearchSearch  |  Join  |  LoginLogin

Welcome !

86 Users Online (85 Members): Show Users Online - Most ever was 626 - Mon, Jan 12, 2015 at 2:00:17 PM

 

Forums

Forums >> Revit Structure >> Technical Support >> Revit 2011 Array Qty Rounding Issue

Search this ThreadSearch this Thread | Page 1 of 1 |

Sat, May 28, 2011 at 3:00:11 PM | Revit 2011 Array Qty Rounding Issue

#1

mfleming


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.



Attached Images

92807_28-05-2011_2-59-24_PM.png

Attached Files

This user is offline

 

Wed, Jun 15, 2011 at 2:40:17 PM | Revit 2011 Array Qty Rounding Issue

#2

CUNNINGHAM


active

Joined: Sat, Nov 21, 2009
4 Posts
5 Stars: 2 Votes


I unfortunately have a very similar issue except I'm arraying brackets rather then voids...


This user is offline

 

Wed, Jun 15, 2011 at 3:20:50 PM | Revit 2011 Array Qty Rounding Issue

#3

itsmyalterego


active
itsmyalterego Avatar

Joined: Thu, May 28, 2009
829 Posts
4 Stars: 16 Votes


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

 

Thu, Jun 16, 2011 at 9:13:44 AM | Revit 2011 Array Qty Rounding Issue

#4

CUNNINGHAM


active

Joined: Sat, Nov 21, 2009
4 Posts
5 Stars: 2 Votes


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

 

Thu, Jun 16, 2011 at 10:05:43 AM | Revit 2011 Array Qty Rounding Issue

#5

pchan


active
pchan Avatar

Joined: Wed, Mar 5, 2008
208 Posts
5 Stars: 5 Votes


Have you tried using array as a "last" instead of "2nd"?

 


This user is offline

 

Thu, Jun 16, 2011 at 10:16:06 AM | Revit 2011 Array Qty Rounding Issue

#6

CUNNINGHAM


active

Joined: Sat, Nov 21, 2009
4 Posts
5 Stars: 2 Votes


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

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

2-dimensional Array of Arrays

Revit Structure >> Technical Support

Wed, Aug 3, 2011 at 7:47:12 AM

4

Rounding Issue in Schedules

Revit Building >> Technical Support

Mon, Jan 9, 2017 at 2:07:07 PM

3

overhead door - void to cut array

Revit Building >> Technical Support

Tue, Apr 10, 2012 at 3:40:06 AM

6

Rounding in Formulas

Revit Building >> Technical Support

Wed, Mar 13, 2013 at 8:49:48 AM

4

Dimension Rounding

Revit Building >> Technical Support

Thu, Aug 23, 2007 at 2:54:31 PM

4

Site Stats

Members:

1989477

Objects:

22877

Forum Posts:

152179

Job Listings:

3

Sponsored Ads

Home | Forums | Downloads | Gallery | News & Articles | Resources | Jobs | Search | Advertise | About RevitCity.com | Link To Us | Site Map | Member List | Firm List | Contact Us

Copyright 2003-2010 Pierced Media LC, a design company. All Rights Reserved.

Page generation time: 7.4345

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights