PDA

View Full Version : Array Parameter



tampac66
2010-05-03, 06:34 PM
I am trying to make a parametric Glass block window. What i need to do, is make it so that when i adjust the height of the window, it adds 4x4" glass blocks.

Can anyone explain how i do this?

NKramer
2010-05-03, 06:52 PM
Start by creating a glass block family and nest that into the window family. then you will need to control the width and height with a formula parameter. The user can input any value they want but the formula will force the desired dimension.

If you get something started I would be glad to take a look.

Nick

rkitect
2010-05-03, 07:04 PM
How far along are you? Are you nesting the "block?" Does that mean the window is limited in 4" height increments? There are a lot of holes that need to be filled before a good answer is given. Until then it will just look something like:


No.of.Block = Window.Height / 4" for your array parameter.

Elaborate a bit more and I'll see what I can do to help out.

tampac66
2010-05-03, 07:25 PM
How far along are you? Are you nesting the "block?" Does that mean the window is limited in 4" height increments? There are a lot of holes that need to be filled before a good answer is given. Until then it will just look something like:


No.of.Block = Window.Height / 4" for your array parameter.

Elaborate a bit more and I'll see what I can do to help out.


Yes, it would be limited to 4" increments.

So step 1 is to create the glass block family and load it into my glass block window family.
From there is where im lost. How do i array it, and make that array parametric?
The distance it arrays will stay 4" but the number of arrays should be a function of the height of the window. I can probably figure out the formula, i just don't know how to make the number of arrays parametric.

NKramer
2010-05-03, 07:29 PM
Select the family and array it. Make sure that group and associate are checked when you array the object. Also keep in mind that the way that you create the array (first to last or first to second) is not changeable once you create the array. If you use the wrong option you will need to delete it and start over.

There after select one of the objects and you will see a line connecting all of them with a number at the top. Select that number and you will have the option to add a parameter (similar to dimensions).

I would be of more help but my Revit is hung up on a few other things at the moment.

HTH
Nick

rkitect
2010-05-03, 07:30 PM
Take a gander at this tutorial: http://www.revitcity.com/tutorials/arrays_and_nested/

It's in metric so you'll just have to play along, but it's a great walkthrough on creating nested parametric arrays. IIRC, there are some gaps in the tutorial that don't work that well, if you have trouble getting around them, post and I'll see what i can do to help!

Edit: You may also want to consider not making a glass block, but instead just applying a material to the geometry. Assuming this would be several 4" glass blocks, that would make a very heavy model. You may want to make this a detail item instead.