Dynamo (dyn) scripts created in C3D 2024.4.3 Update fail to run in C3D 2026

I am using C3D 2024.4.3 Update, and my Dynamo (dyn) script runs perfectly. However, I noticed that the dyn script fails to run in the C3D 2026 version, with many nodes showing errors. What could be the reason for this?

@Autodesk.AutoCAD.DynamoNodes.Object

Civil3D.Geometry.Profile.GetFromObject
Civil3D.Geometry.Alignment.ProfileViews
Civil3D.Geometry.Profile.GetElevationAtDistance
Civil3D.Geometry.StationElevation.StationElevation
Civil3D.Annotation.Label.ProfileViewLabel.CreateDepthLabel
Autodesk.Civil.DynamoNodes.AlignmentExtensions.AddProfileByName
Autodesk.Civil.DynamoNodes.ProfileExtensions.AddPVI
Autodesk.AutoCAD.DynamoNodes.Block.GetBlockByName
Autodesk.AutoCAD.DynamoNodes.PolylineExtensions.ObjectByGeometry
Autodesk.AutoCAD.DynamoNodes.ObjectExtensions.SetParameterValueByName

………………

You probably used the C3DToolbox package in 2024, which is no longer available in 2025 and higher. You might find similar nodes in the core library or other packages, but these nodes might have a different name or different amount of ports.

1 Like

Yes, they have already been loaded in C3D2024.

Those packages will not work in 2026, so you will need to revisit the work in Dynamo to create a 2026 compatible version.

1 Like

In C3D 2026, no suitable replacement nodes have been found.

Civil3D.Geometry.Profile.GetFromObject
Civil3D.Geometry.Alignment.ProfileViews
Civil3D.Geometry.Profile.GetElevationAtDistance
Civil3D.Geometry.StationElevation.StationElevation
Civil3D.Annotation.Label.ProfileViewLabel.CreateDepthLabel
Autodesk.Civil.DynamoNodes.AlignmentExtensions.AddProfileByName
Autodesk.Civil.DynamoNodes.ProfileExtensions.AddPVI
Autodesk.AutoCAD.DynamoNodes.Block.GetBlockByName
Autodesk.AutoCAD.DynamoNodes.PolylineExtensions.ObjectByGeometry
Autodesk.AutoCAD.DynamoNodes.ObjectExtensions.SetParameterValueByName

In which case you might have to build your own nodes. Check the common packages for Civil 3D 2026 first though.

Thank you very much for your guidance and help..

Hi @C3D-10086,

Try the Alignment.ProfileViews node from the main library.

Try the Profile.ElevationByStation node from the main library.

Try the ProfileViewDepthLabel.ByPoints node from the main library.

Try the Profile.ByStationsElevations node from the main library.

Try the Block.GetBlockByName node from the main library.

Try one of these nodes from the main library:

  • Object.ByGeometry
  • Polyline.ByGeometry
  • Polyline3D.ByGeometry

Most objects have dedicated nodes for getting/setting properties. You should be able to search and find what you need, otherwise you can post here if not.

Thank you very much for your help

I will try to modify..

Hello :waving_hand:,
If you’re still having trouble adapting your Dynamo script to work with Civil 3D 2026, I can help. I’ve already adapted many scripts for the Dynamo 3.5 version in C3D 2026. :gear:

Just share your scripts or images :open_file_folder: along with a brief description :speech_balloon: of what you’re trying to achieve with the automation, and I’ll see what I can do. :blush:

1 Like