@Anonymous
I would start by creating the curve in a generic model template. Make sure that there is a reference plan at each end of the curve - that will provide a reference for the array
Then I would start a new family in a line based generic model template.
Insert the curve family. Create an array with two array items. Dimension the distance between the reference planes that came in along with the curve. Give it a distance based parameter - cal it Array Distance.
The family comes with a built in Length parameter. The next step would be to calculate the number of arrayed objects. To do that, apply a parameter to the number of objects in the array and cal it Array Number.
The formula you will write will be
Array Number = Length/Array Distance
So when you click at the first and last point of the desired array and set the value for Array Distance. Revit will calculate and place the required number of instances.
Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional
If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.