How do I solve the number of array become one?
I do [Array] in family, and set the number changed with family's length in formula.
But when the number become one, it gets error.
How do I solve this?
I made switch, but it wasn't solved.
(I tried to made array object unvisible, and set extra family to fill the narrow length)
Please excuse my poor English,
If you have any trouble understanding my English, please feel free to ask so I can clarify as best as I can.
Any assistance would be greatly appreciated,
Gelöst! Gehe zur Lösung
Gelöst von barthbradley. Gehe zur Lösung
You can't have an array with less than 2. A workaround would be to create 2 elements in the same place (overlapping); one for no array and the second for the array. Apply a visibility parameter to both, and use a formula to to toggle visibility on and off, depending on whether you need the array visible or just a single.
Thank you for your quick reply, @barthbradley
I applied a visibility parameter to the array and use a formula.
The formula worked and visibility turned off, but the error still appear.
How do I solve this error message?
Regards,
Like I said: the Array count cannot be 1. It has to be 2 at least. So, you need another count parameter for the Array that is defaulted to 2 when the Array is invisible. It can set up to be automatic, based on the "count" value. For instance: Array count parameter formula reads if(count>1, count, 2).
...the Error is referencing the count parameter, not the onoff parameter. You see that; right?
Ohhh, I get it!
>Array count parameter formula reads if(count>1, count, 2)
I didn't realize this!
Thank you so much!!
@barthbradley is spot on.
See the screenshots below for example how the array or the single piece got turned on/off based on the length.
Array and formulas are fun and all but there cases it's just more flexible arraying one piece directly in project environment. I am not too clear what you are drawing but you can also use adaptive families with divided path in lieu of array.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.