Hello!
I’m facing the same Problem as posted under the following link:
<p style=“margin: 0in; font-family: Calibri; font-size: 11pt;”>http://dynamobim.com/forums/topic/align-objects-with-a-3d-curve/</p>
I am using Dynamo 0.8.2.2392 and want to be able to place equally distanced objects on a 3d curve (3d spline from points) and those objects should align to the curve. I’ve tried out Joop’s solution but it’s not working and I can’t find the reason for it. The objects do not turn in the right direction and there are different warnings ![:-(](//cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/b/b88d07ad484cba3e54be71b5d7df2b557df72150.gif)
I would be very thankful for some help!
![align objects to 3d line_V3_prob](//cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/d/d5d08874eccc5fc70b592fedb07b529bdc7cc7d9.png)
![align objects to 3d line_V3_prob_model](//cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/c/c44832964f8f036c137bd2963c59806c1941162c.png)
Thanks a lot Vikram!
Your solution is working very well. In the next step I’ll have to project it on a 3d curve like in the screenshot below. I think it wasn’t really visible in my first screenshot.
Any suggestions in the meantime are very welcomed ![:wink: :wink:](https://emoji.discourse-cdn.com/twitter/wink.png?v=9)
![align objects to 3d line_V3_prob_model_2](//cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/5/57a5a2e55ced5d19c0b6c78ddf660e446bf04d30.png)
Bartlomiej, I would have expected this to work even with a 3D curve, but it doesn’t seem to be working that well.
![20150928-1](//cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/5/50088bab41885d1f423d03de46a39d289882b52d.jpg)
In my case, there are already problems with the curve itself. It is an adaptive family (spline through points). The result is:
![align objects to 3d line_V3_prob_2](//cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/3/3c5a12b25160a8725c88ac82b4c210abcabbf854.png)
I just started a new revit project and got the same errors even with a planar curve (model line). Actually it only seems to work in Your sample file (and it works here really good):
![objcrvalign_trial01](//cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/f/fe74900b1908046600874727ec7eeb20296614f8.png)
I think I got it. It seems like we had to specify the input:
![objcrvalign_solved](//cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/3/3d16fca7b7556937013bf874a06b53c7d9a3a7c6.png)
Thank you very much Vikram!!!