I have followed various training guides to create a line based array based on the following:
1) Create family1
2) Load family1 into family2.
3) Use Array with spacing and length parameters to create linear array across prescribed length.
What I need however is to space family1 across the length equally but for the spacing between each family1 member to not exceed a maximum amount.
Any ideas how to do this?
You have to create formulas to accomplish this.
if you know the length of your family 1 and you know the length of the array then you can calculate the spacing.
Then you can use an "if" formula to constrain your array within certain constraints.
Depending on what you have you might need to create dimensions and attach parameters to it so you will be able to do the necessary calculations.
If you have screenshots or, even better, upload your family we canhave a look what you have sofar and help you from there
Louis
Please mention Revit version, especially when uploading Revit files.
Its ok. It managed to figure it out.
It came to assessing how I would do it normally.
That being.
1) Find overall length. Say 5300mm
2) Find maximum spacing. Say 1000mm spacings.
3) Divide overall length by maximum spacing to get Fractional Number Say 5300/1000 = 4.5
4) Roundup Fractional Number to next integer eg 4.5 rounds up to 5
5) Divide overall length by Rounded Up Integer to get Spacings eg 5300/5 = 1060mm.
6) Apply Spacing to Family and add 1 to include for a final member.
7) Within "Number of Array" Use Rounded up Integer
So
Length = 10800
Maximum Spacing = 1000
Number = 12 formula = (roundup(Length/aximum Spacing)) + 1
Spacing = 981.8 formula = (roundup(Length/Maximum Spacing))
Glad you got there.
if you fancy taking it a stage further try and work out how to create an array where you set the array spacing but the workout value on the end bay must never be less than the module.
Can't find what you're looking for? Ask the community or share your knowledge.