Help - Parametric array works fine in the family, it does not when loaded in the project

Help - Parametric array works fine in the family, it does not when loaded in the project

mariozincone
Participant Participant
1,143 Views
15 Replies
Message 1 of 16

Help - Parametric array works fine in the family, it does not when loaded in the project

mariozincone
Participant
Participant

Dear colleagues,

 

good afternoon - thank you very much in advance for you support in this matter.

 

I have designed a prefab wall element which does have Omegas profiles placed in vertical which need to be at 1500mm distance each other and 100mm distance from the border. The distance within the Omegas profiles is meant to be calculated from the center of the wall. 

 

I have arranged the formulas and in the family it works perfect (if you change the value in "Lenght full" parameter the wall lenght in the project gets adjusted to that value and the number of omegas gets adjusted in number properly and in the right position.

 

However if I load the family in the project it misbehave and only the wall get the adjusted lenght, the number of Omegas profiles keep the same of the saved family.

 

anyone can help?

thank you very much in advance!

0 Likes
Accepted solutions (3)
1,144 Views
15 Replies
Replies (15)
Message 2 of 16

RDAOU
Mentor
Mentor
Accepted solution

@mariozincone 

 

The first thing upon flexing the family is the following so no it is not fine in the family editor too

 

Family_Array.gif

 

 

The idea of locking the Length in a line based family also makes no sense. Length should neither be controlled by a formula nor should it be locked. If it is a fixed lengths simply use a basic generic model

 

RDAOU_0-1647265758986.png

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 3 of 16

mariozincone
Participant
Participant

Hi Rdaou,

 

thank you very much to take time for this. It worked removing Lenght = Formula and removing Lenght full paramenter - now I get the wall correctly in the project, however without min en Max limitation. It is for now a very good start point and I will work further on it to refine. again thanks for your help. kind regards Mario

 

 

0 Likes
Message 4 of 16

RDAOU
Mentor
Mentor
Accepted solution

@mariozincone 

 

Length of a line based family is controlled by the First/Start click and Last/End click. Not by a formula. ie: if you want to continue with a line based family, then you need to get rid of the following parameters

  • Formula
  • Full Length

 

And set it up so that When the length is less than 800 (400 to each side) the Array is hidden and a Single Panel is used instead

 

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 5 of 16

mariozincone
Participant
Participant

Hi Rdaou,

 

good morning. Point 1 was solved indeed so, again thanks for it.

About : "When the length is less than 800 the Array is hidden and a Single Panel is used instead"

I am struggling to set up the correct set of formulas. Would you mind to guide on how to manage?

I understand some visibility parameters are needed but I cannot make it working

 

thank you very much in advance

with kind regards

Mario

 

0 Likes
Message 6 of 16

RDAOU
Mentor
Mentor

@mariozincone 

 

in principle you do the following 

  • Part 1 - Single panel and/or its posts visible only when length is less or equal to 400 (ie: shortest panel)
    1. Place 2 single profiles for the Panel when Length is less than 4800mm
    2. Align and lock the profiles at a fixed offset from the ends 
    3. Give the 2 profiles a visibility parameter Single
    4. Single =  Length < 4800

              RDAOU_0-1647334135921.png

 

  • Part 2 - control the array that it always greater or equal to 2
    1. Add a second Integer CL_CTRL= if (count left < 2, 2, count left)
    2. Then select the arrayed posts and associate to CL_CTRL
    3. Repeat the same for CR_CTRL and counter right

RDAOU_2-1647334474571.png

 

  • Part 3
    1. Select one of the arrayed posts (one from each side Left/Right) and associate  with a visibility parameter Multiple
    2. Multiple = not(Single)

RDAOU_1-1647334383106.png

 

If you can you attached your revised Family I can try to help you with it when I have some time

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 7 of 16

mariozincone
Participant
Participant

Hi Rdaou,

 

I am very grateful of this support. The model is attached and also the measures of the smallest wall possible.

at the moment the min array start with wall length 4800mm. So for the wall < 4800 you do not get the model in the project. So for 1890.2 > Wall Length < 4800mm you get only 2 omegas, one right and one left from the center axis of the wall.

I will look forward to your feedback.

with Kind regards

Mario

0 Likes
Message 8 of 16

RDAOU
Mentor
Mentor

@mariozincone 

 

a quick question though. I thought you earlier mentioned 400 mm as minimum panel length you also had it in the old formulas. Now you say the smallest panel is 4800mm ... which is correct?

 

RDAOU_0-1647332016092.png

 

 

Another question...did you actually try to use Curtain Walls for this instead of a loadable line based family?

 

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 9 of 16

RDAOU
Mentor
Mentor

@mariozincone 

 

See below GIF and revised Family

 

Array_Fix.gif

 

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


Message 10 of 16

mariozincone
Participant
Participant

Hi Rdaou,

 

thanks - that was the measure for the wall without omegas (min possible wall can be builded up without omegas is 400mm). What I am trying to do now is the wall with Omegas included. The omegas have 1500mm distance within each other.

 

So if imagine the wall with the minimum possible number of Omegas (which are 2)

the minimal measures we can have is :

  • 1500mm distance within the omegas +
  • 95.1 lengte left omega +
  • 95.1 length right omega +
  • 100mm empty space left +
  • 100mm empty space right= 1890.2mm 

 

obviusly when you have array count=2 (left and right) the length of the wall is 4800mm.

 

so the array count=1 is for a wall   4800 < Length > 1890.2

 

please let me know if I was clear.

thank you

 

0 Likes
Message 11 of 16

RDAOU
Mentor
Mentor

@mariozincone 

 

Did you check the file attached to Message 9... The steps are also detailed in Message 6

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


Message 12 of 16

mariozincone
Participant
Participant

HI Rdaou,

 

I have revit 2021 and Revit 20200 installed in my laptop and I cannot open this model. 

Is it possible to exchange at least 2021 version?

 

thank you in advance

regards

Mario

0 Likes
Message 13 of 16

RDAOU
Mentor
Mentor

@mariozincone 

 

 

I do not have 2021...but see steps in message 6 with images on how to replicate

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 14 of 16

mariozincone
Participant
Participant

 

 

0 Likes
Message 15 of 16

RDAOU
Mentor
Mentor
Accepted solution

@mariozincone 

 

Unfortunately it is not possible to save back...see below GIF if the images are not clear...You need to click on the GIF to enlarge and watch (Do not watch the thumbnail : O )

 

PS: I edited the profile family and moved to the middle to be able to align lock properly at center

 

Array_Fix1.gif

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 16 of 16

mariozincone
Participant
Participant

Fantastic Rdaou,

this video is more clear and I thank you very much for your assistance in this matter.

 

have a nice day

kind regards

Mario

0 Likes