Add sources to sample lines using Dynamo

Hi everyone. I’m trying to automate the process of creating sections. I’ve used Dynamo to create a sample line group and add sample lines to that group. The problem is that the sample lines don’t have sources (surfaces or corridors) and I don’t find a node to add sources to the sample line group or sample lines. I hope you can help me. Thanks in advance.

Hi @raul.07.11 , I just encountered the same issue. I have not found a node that adds sources to sample lines. It is possible to do it with a Python Script, as shown in this post. That script is in the older version of Python so it requires the IronPython2.7 package to be installed. I am in the process of changing it to work with the default CPython3 engine.
https://forum.dynamobim.com/t/some-way-to-add-sample-sources-with-dynamo-in-civil-3d/67626/3?u=isecnico
I hope this helps. :slightly_smiling_face: