The process - filter by layer i have to change to filter by linetype, i have tried somethings but all was wrong, what can i do? CreateAlignments.dyn (46.3 KB)
Fun exercise, likely need to check the layer linetype and object for any overrides. The replace by condition is a tricky one but is pretty neat when the dataset is straight forward enough. Civil3DToolkit has the object extension parameter nodes. Hope this helps.
This script uses manual selection of polylines for testing, so you’d want to select all the polylines with select similar perhaps in civil then go to dynamo and click the “select” button in the pink input square. There are many other ways to gather the initial objects you are interested in but I did that for sake of easy testing. That node is for selecting live objects within a current drawing. It’s a different story (slightly more complicated) if you are trying to select objects in an xref.