Creating a script for finding objectdata on crossings

Hey all,

I seem to run into a problem, and would hope someone knows what to do in my situation.
I made this script in Dynamo for Civil3D. I want to figure out what objectdata (on the polyline) my alignments cross. Now see my picture for what i have now. It works wonderfull for only 1 alignment at the time, but when i want it to run for the entire drawing (100+ alignments) it cant get the right data out of the objectdata.

It probably has to do with the fact it encounters the same polyline multiple times, but i dont know how to fix it.

Thanks in advance for any help or tips!

I can’t quite tell from that image. If you expand the error messages on those yellow nodes, that could help narrow it down. However, based on your post, my first assumption is that you need to change your lacing.

1 Like

Hi @AdammReilly, Yeah the errors are just saying that i have to put the modeling scale to large(it already is on large). This is 90% of the time in my scripts, but this doesnt affect my outcome. It probebly has to do in lacing, but I cant seem to figure out where or what lacing i should be using :frowning:

08-GEMEENTENAMEN.dyn (52.1 KB)