hi everybody
I have a dyn file, I used it to array family according to the curve, but the results are not as expected, it is not placed at the curve position?
And I want to control the amount or distance between two families, what do I do here?
Delete all elements from the file except the curve and the Desk
Purge the file (repeat until there are no unused elements)
The file should be much smaller now. Save and upload
Alternately,
Copy the curve to a new file and upload
The problem lies in your Desk family. M_Desk.rfa (392 KB)
Load and overwrite the Desk family file in your Revit project with the file provided above.
or
Try the running the definition with some other family whose origin is at the center of the family object
To control the amount, in the code block that specifies parameters for Curve.PointAtParameter replace 0…1…0.1 with 0…1…#n (n being the amount)
If you want to control distance, replace Curve.PointAtParameter with Curve.PointAtSegmentLength or Curve.PointAtChordLength and in the length input feed in a list of lengths eg {1000,2500,5000…}
thanks you very much
i replace Curve.PointAtParameter by Curve.PointsAtEqualChordLength
It will be better results, number and distance, but it was born 1 problem that the first position and last of curve, the family does not installation, what has occurred here here?
Curve.PointAtParameter with 0…1…#n will give you more or less similar results, with the start and end points. However this would actually be similar to Curve.PointsAtEqualSegmentLength
If you’re keen on using Curve.PointsAtEqualChordLength, add Curve.StartPoint and Curve.EndPoint to the start and end of the list of points obtained