How to create a cable tray model by picking up model lines, and divide the model into sections of 3 meters along the model lines

Hello everyone. I’m a beginner in Dynamo. I’m facing a problem right now. The problem is how to create a cable tray model by picking up model lines, divide the cable tray into sections of 3 meters along the model lines, and the cable tray sections need to be automatically connected. It would be great if you could help me solve this problem. I’m really grateful. Here is my Dynamo script.

text.dyn (27.9 KB)

The cabletray creation node you are using requires lines, not pairs of points.

1 Like

Hi @samYF if i understsand i would try split the curve first as it isnt so easy split a cabletray_conduits as duct_pipes and keep run/connection …try something here with insert a union fitting if it what your mean


1 Like

thxbro,it work very well