Array in family acting weird with formula

Array in family acting weird with formula

Shaiki_
Advocate Advocate
2,457 Views
22 Replies
Message 1 of 23

Array in family acting weird with formula

Shaiki_
Advocate
Advocate

I have a very simple detail component family that arrays lines on one axis and stretches them on another. There is a parameter for the spacing, array length, and line length. 

 

My issue is that the family only works when the spacing is set to 1'-6". Any other spacing and the last line will place outside the array length. The formula that works for 1'-6" also doesn't really make sense...overall I am confused and hoping one of you can help. I have attached the family for your testing. 

 

The end goal is: Have first strand start 3" from the right side, array at the spacing defined in the parameter with the last strand stopping less or equal to the "Panel Width" length. 

 

Thanks 

0 Likes
Accepted solutions (1)
2,458 Views
22 Replies
Replies (22)
Message 21 of 23

barthbradley
Consultant
Consultant

Array Formula.png

0 Likes
Message 22 of 23

barthbradley
Consultant
Consultant

@FAIR59: I think you are spot on. ROUNDDOWN is the way to go - except ROUNDDOWN a number, not an integer. 

 

Array Formula 3.png

 

@Shaiki_: Try breaking this one.  😉

 

Fun Thread.  

0 Likes
Message 23 of 23

Shaiki_
Advocate
Advocate

Haha thanks for all your dedication guys! @barthbradley I will give it a go, glad I was able to come up with a head-scratcher! 

0 Likes