PDA

View Full Version : Alternative Array Possible?



antman
2011-02-24, 11:47 PM
I want to do a first-last array that omits the first and last objects of the array. That is, if the array number is 3, there will be one object, midway between the start and end points. If the array number is 5, there will be 3 objects, dividing the space into 4 equal segments. Can this be done?

Scott Womack
2011-02-25, 12:31 PM
No it cannot. By Definition, an "array" requires a minimum of two objects.
Typical Work-a-round: You can create another copy of the object at the mid point, and when the user entered parameter equals 1, (set the array num to 2, turning it off) and turn on the single middle object.

antman
2011-02-25, 03:48 PM
Maybe there's a better way to do what I need to accomplish. I am working on a casework family and want to be able to have variable numbers of shelves (including 0 if possible), spaced evenly, driven by a parameter. Any ideas? I don't even really need it to include 3D geometry at this point, just symbolic lines.

Sorry, I don't understand your workaround. Do families have visibility states, like an AutoCAD dynamic block?