Hello,
I’ve been using this script successfully until Revit 26. I understand there’s been numerous updates in R26 which is probably what broke this. Please note, I did not create this script which was designed to create 3D pipe models from 2D CAD lines based on the layer name. It’s been a great benefit and I’d like to update this script to work with Revit 26 and newer versions.
The two differences I noticed between R25 (where the script works) and R26 (doesn’t work) is the R25 version is able to use DynamoIronPython whereas R26 cannot. Images for reference.
I will post additional content as soon as my account allows me to. Any assistance is greatly appreciated! Thank you,
R26 (script wont work)
What package version are you using for Bimorphs, what is the error dialogue for the CAD.Curves Bimorphs node, and is it outputting any values besides nulls?
The other thing to note is that you currently have only one PipeType loaded into the project (‘Default’) but your GetItemAtIndex node is calling for index 1, which would be the second item, which doesn’t exist.
The script was designed using BimorphNodes 3.0.3 which worked until R26 and here is the error dialogue for the CAD.Curves package. I dont think it’s outputting any values besidse null.
Well, the package manager in v2026 issued Dynamo is showing that 6.0.1 is the earliest stable version, so it seems like you need to update the package.
Additionally:Revit 2024: ElementId.IntegerValue (Int32) vs ElementId.Value (Int64) - Autodesk Community
This thread (which is above my head) suggests that the version you’re currently attempting to use may be using a deprecated method which, again, probably fixed in the build that would be suitable for v2026.
This script wont work without Bimorphnodes 3.0.3 for whatever reason. I already tried to update all to the newest versions and that hasn’t worked.
This is the original script: AutoCAD drawing to Pipes, Ducts or Cable Trays – Dynamo scripts
I’ve been able to keep this working in versions up to R25 using these packages. I haven’t been able to determine what was updated in R26 broke the script yet.
That node works just fine for me in the 6.0.x build versions described. Can you attempt that build type and the post a screenshot with the resultant node output / warning dialogue (if any?).
If it’s not working, then it’s not working for a reason entirely unrelated to the initial warning dialogue you posted, since that Int32 method is no longer used in the package, which means needing more information.
I tried running with Bimorph 6.0.1 and I’m still not having success. I also tried 6.0.3 but can’t get this to run in R26. Did you use MEPover?
So it’s still the same warning as before.
The fact that the node is showing ‘Port’ for all of the connectors would suggest something went wrong with the update.
The support documentation recommends a complete uninstall of the original package before installing the new version. Is that what you did, or did you attempt a different method?
I was uninstalling using Dynamo but went and found the file location for Bimorph and manually deleted it. I then reinstalled the latest Bimorph package and am seeing this now. Maybe that’s a step in the right direction?
Were you able to get the script to work?
You still need to address the indexing issue - you’re trying to get Index 1 in a list of size 1, which doesn’t exist.
In prior versions of Revit, did you have multiple PipeTypes in your template?
I updated MEPover which seemed to have fixed the last 2 nodes. I’ve never adjusted the Index 1 or altered the PipeTypes in the previous versions of Revit.