RevitCity.com Logo

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

Welcome !

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

 

Forums

Forums >> Revit Structure >> Technical Support >> Centering an Array Parameter within a Family (Wall Based)

Search this ThreadSearch this Thread | Page 1 of 1 |

Fri, May 4, 2012 at 2:43:09 PM | Centering an Array Parameter within a Family (Wall Based)

#1

britc


active

Joined: Tue, Apr 24, 2012
11 Posts
No Rating


 

I am trying to create a countertop with an array of sinks that grows as the counter is stretched. I have created the array parameter and basically want to center this parameter within the counter, no matter how long/short it is. If I create an “End Distance” parameter and try to use it on the ends of the counter, it stretches the distance between the sinks instead of centering the entire parameter.

Other things to note, we need the distance between the sinks to maintain editable, in addition to the number of sinks…so I know that is a lot of variables to manage and might not be possible.

Any thoughts?


This user is offline

 

Fri, May 4, 2012 at 8:18:18 PM | Centering an Array Parameter within a Family (Wall Based)

#2

itsmyalterego


active
itsmyalterego Avatar

Joined: Fri, May 29, 2009
829 Posts
4 Stars: 14 Votes


Make two arrays -- one going left, and one going right from the centerline. 

 

Give yourself a [total length] parameter, and make the [array number] an integer value for the sinks derived by the equation ([total width] / 4' /2 -1)  or whatever spacing you want for the sinks.

 

Hosted families always seem to array better, too.  But maybe that's superstition.

 



Edited on: Fri, May 4, 2012 at 3:26:37 PM

This user is offline

 

Fri, May 4, 2012 at 8:40:43 PM | Centering an Array Parameter within a Family (Wall Based)

#3

TKennedy


active

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


Sounds like the exact same problem I ran into a while ago. I have a parameter for the table width, a parameter that controls the left edge of the left-most sink, and a parameter to calculate the total width of the sinks (this is calculated from the width and number of sinks). The parameter for the left edge has a formula like this:

((Table Width / 2) - (Sink Width / 2)).

 

It's a little more complicated than absolutely necessary, but it does work and it allowed me to set it up to either automatically center the sinks, or let me manually control the placement.


This user is offline

 

Fri, May 4, 2012 at 10:06:22 PM | Centering an Array Parameter within a Family (Wall Based)

#4

britc


active

Joined: Tue, Apr 24, 2012
11 Posts
No Rating


Thanks all, I ended up solving it myself a while after I posted and it seems we all have the same solution with different equations.

 

The one I used for the "end value" (aka, distance from wall to first sink) was:

(Length of Counter - ((Number of Sinks - 1) * Distance Between Sinks)) / 2

along with a Number of Sinks parameter on the array itself and a parameter to edit the distance between.

Using the Length of Counter that you mentioned seemed to wrap it all up.

 

Thanks for the help! Seems like way too much math for a simple task!


This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

Array Parameter within Family

Revit Building >> Technical Support

Thu, Aug 7, 2014 at 1:25:09 PM

4

Centering a parametric array in a family - RAC 2009

Revit Building >> Technical Support

Thu, Jul 16, 2009 at 5:10:04 PM

0

Array Distance Parameter

General Discussion >> Revit Project Management

Thu, Apr 11, 2019 at 1:53:57 PM

2

Instance Based Parametric Array

Revit Systems >> Technical Support

Fri, Oct 15, 2010 at 3:41:30 AM

1

changing type of a family from wall based to face based

General Discussion >> Revit Project Management

Thu, Mar 4, 2010 at 2:24:37 AM

7

Site Stats

Members:

1512357

Objects:

21254

Forum Posts:

151239

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

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights