I am working on a new family in Revit 2013.
I need to put an array in the family and the spacing, count, start and end points all need to be controlled by parameters. I'm attaching a small schematic showing what I mean.
I want to array the small rectangle (circled in orange) the start point and end points will be the short reference lines --they're located via the dimensions that are marked in Green and labeled as Param 2.
I know how to vary the count by the param -- but as soon as I change the overall width (param 1) or the param 2 value, the array'd elements don't move relative to the reference lines.
Edit: Yes, the rectangular shape is in a family that's been nested in this one. When I placed it, I locked it to the ref line it's currently centered on. But when I change the params, the other items don't line up right (I've deleted them from this view).
TIA!
Don Ireland
Engineering Design Technician
Solved! Go to Solution.
Solved by Alfredo_Medina. Go to Solution.
Arrays can be controlled by the length of the array or by the number of items. In this case, the number of items (n) drives the length of the array.
Alfredo,
Thanks for the reply. I was afraid the answer was going to be "not possible".
I was HOPING that there was a way to lock the start/end points of the array to the two reference lines. The reference lines ARE moving the way I want them and if I could lock the start/end points, I'd be all set.
Oh well.
Don Ireland
Engineering Design Technician
Yes, the end point and start point of the array do move out or in.
The first and last item of the array must be aligned and locked to the reference planes.
By the way, why do you say reference lines? These are reference planes.
@Alfredo_Medina wrote:By the way, why do you say reference lines? These are reference planes.
Because I used reference LINES. Notice in my original image that they're solid and yours are dashed.
And after posting my previous reply, on a whim, I tried locking the last item in the array (I had already locked the first one) and it's now working the way I want.
I'm going to post it here in case someone else is searching for a way to do this.
It's an overhead door with a varying number of windows and the door height/width varies as well.
EDIT: I was going to post it but then I decided to flex it one more time and found that changing one param causes it to NOT flex. I'll have to research the cause of that and post it later.
Don Ireland
Engineering Design Technician
You should use reference planes for this, not reference lines.
I've never really understood when to use one vs the other.
P.S. I really didn't see the need to view them in elevation -- just in plan view. That was the only difference I could find.
Don Ireland
Engineering Design Technician
@doni49 wrote:I've never really understood when to use one vs the other.
P.S. I really didn't see the need to view them in elevation -- just in plan view. That was the only difference I could find.
I found a link that explains the difference between Ref Line & Plane.
http://revitoped.blogspot.com/2006/03/once-upon-reference-plane.html
Attached is my overhead door.
As of right now, the number of sections is hard coded at 7 and the windows are always in the 5th section up from the bottom. But that should be easy to change and I intend to do so when I get a chance.
The number and size of windows, height, width and thickness of the door are all controlled by parameters.
Don Ireland
Engineering Design Technician
@doni49 wrote:As of right now, the number of sections is hard coded at 7 and the windows are always in the 5th section up from the bottom. But that should be easy to change and I intend to do so when I get a chance.
Well I had some unexpected free time this afternoon. So I went ahead and got it updated.
In addtion to the parameter control that was previously included, I added two parameters to control the size of the the panels: Panel Height Min & Panel Height Max. Then I added another parameter: Approx Window Elev. It's approx only because it puts the windows as close to the specified elevation as possible based on the size of the panels.
Don Ireland
Engineering Design Technician
I can only make the panel width vary with some constant louvers spacing by having the formula for the number of Louvers to be the louvers width (panel width - 250mm )divide by the spacing. but in the case that the width cant be divide nicely. then the spacing will slightly differ from what i want. (For example, if the panel width is 1000mm, while spacing is 80mm. the formula will turn out to give me 9 louvers with 90mm c/c spacing) I need to have the constant spacing. All the leftover dimension should go to start and end as shown in photo. Can anyone help on how to set the formula?
Can't find what you're looking for? Ask the community or share your knowledge.