Hey all,
I feel kinda stupid, but we have gone from Civil3D 2024 to Civil3D 2026 and now my old Dynamo scripts dont work anymore. Now im trying to fix my scripts but cant work it out at all. For instance how do I split a Polyline at a given stationing. Back before i had a script just cutting my Polyline at every 500 meters or whaterver i put in the system. Now it just cuts it on every vertex instead. This seems so simple to do, but i am forced to use curves instead of polycurves to split my polyline. But how can i find a parameter of a polyline if it cuts it up in curves….. maybe im looking in the wrong place so if any1 can help me please im losing my mind over here 
Hard to diagnose an issue we can’t see or reproduce. Likely best to post your graph, a sample dataset (simple as can be, not real project stuff), and an image illustrating the issue.
So in this case its this script. So even when installing the package it says it missing it still cant find the nodes. So i tried using different nodes that do the same thing. Replacing them gave me more errors than ever, and when i dont get a error it wil always just cut the polyline at the vertexes not on the stationing that im providing. I did fix the naming part (under), so it names my allignment correctly. But i cant seem to fix the split every # meters part. (Afstand KR = my fill in for how many meters it should break)
1 Like
The Civil 3D Toolkit will not work from 2025 and up. You’ll need to find an alternative way to get the geometry.
True. I tried object.geometry but it will make in my case hunderds of polycurves instead of 1. so when i go divide by length its already divided by every vertex it finds on my polyline. is there a way to make it 1 single geometry that i then can divide by my given meters or is this just not possible anymore with dynamo 2026?
Do the many PolyCurves define a single PolyCurve that matches your PolyLine if joined via PolyCurve.ByJoinedCurves node?
I am confident it’s possible, but the ‘how’ is what I don’t know. I haven’t seen an attempt at the solution, and I don’t have a .DYN and dataset to test with.
haha yes it worked. Thanks a lot!
1 Like
There’s going to be a lot of these ‘that broke’ which you came across. 9/10 times (or more) the solution is going to be in new nodes in Civil 3D, or utilizing basic Dynamo nodes which many among us skipped learning as the Toolkit or other packages did the work for us. Stick with it and ask the specific questions (with images and datasets) when you come to it.
Good luck with the rest of the migration!
1 Like