Randomise grids on curtain wall from list of spacing values

@NguyenTriTrung you’d have to adjust the code block where it says:

points = (curtWall.GetLocation()).PointAtParameter(params);

This part is creating points along the location line where grids will be placed. I can’t test at the moment but try modifying that line of the code block to get the start point of the curtain wall location line, and then translating another point in the z direction by the unconnected height parameter value. Then create a line using those two points as the start and end point, and from that line get the grid location points with PointAtParameter(params)

Let me know if you need clarification

2 Likes