RevitCity.com Logo

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

Welcome !

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

 

Forums

Forums >> Revit Building >> Technical Support >> Tricky Formula Question

Search this ThreadSearch this Thread | Page 1 of 1 |

Wed, Aug 1, 2012 at 4:51:27 PM | Tricky Formula Question

#1

ArchiN00B


active
ArchiN00B Avatar

Joined: Sat, Apr 3, 2010
144 Posts
4.5 Stars: 4 Votes


I am creating a Detail Component that is a circle repeated along a line, with parametric spacing. For example, if I draw a 4' line, with 1/2" spacing, the circles run the full length at 1/2" intervals. If I change the spacing to 3", I still want them to run the full length, but the overall number to diminish so that they are now spread out across the same 4' line, but at 3" intervals. 

 

I have almost got this working using circles grouped to detail lines, and then an array. It is ALMOST great, but I can't figure out the right formula for the number of circles so that they always draw the maximum number of circles that will fit in the length that I draw. If, for example, I do       (Length - Spacing) / Spacing + 1       then the number will round down and not always draw an extra one even though there is space. If I do           (Length / Spacing) + 1         then it will sometimes draw an extra hole BEYOND the length I have drawn.

 

If this makes any sense, what formula would I use?

Thanks.


This user is offline

 

Wed, Aug 1, 2012 at 5:28:51 PM | Tricky Formula Question

#2

TKennedy


active

Joined: Wed, Oct 7, 2009
654 Posts
4 Stars: 7 Votes


I've run into the same problem, and it seems to come from Revit rounding integer parameters. I have a family that arrays table legs, and checks to see if Revit is rounding down when it's not supposed to (or rather when I don't want it to). I have attached the family along with a .txt file that explains how the parameters work.



This user is offline

 

Wed, Aug 1, 2012 at 5:30:13 PM | Tricky Formula Question

#3

sllana


active

Joined: Wed, Mar 2, 2011
106 Posts
5 Stars: 2 Votes


I suggest you send the file you already started in order to study the case


This user is offline

 

Thu, Aug 2, 2012 at 8:26:33 AM | Tricky Formula Question

#4

ArchiN00B


active
ArchiN00B Avatar

Joined: Sat, Apr 3, 2010
144 Posts
4.5 Stars: 4 Votes


I sat down and thought for a while about it and tried (length / spacing) + .5, and that worked perfectly. Thanks for your suggestions.


This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

basic formula question regarding parameter use

Community >> Newbies

Wed, Jun 16, 2010 at 5:34:23 PM

4

Tricky? Roof

Revit Building >> Technical Support

Mon, Sep 24, 2018 at 2:12:05 PM

2

Using schedule total in formula?

Revit Building >> Technical Support

Fri, Apr 4, 2014 at 10:29:50 AM

9

One family parameter has formula one has none

General Discussion >> Revit Project Management

Wed, Jun 25, 2014 at 1:05:54 PM

7

Parameter Formula

Revit Building >> Technical Support

Fri, Mar 5, 2010 at 12:09:09 PM

6

Site Stats

Members:

2056704

Objects:

23074

Forum Posts:

152327

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: 0.5895

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights