Dynamo for Rebar / Revit 2026

Hello everyone,
I’ve been happily using the “Dynamo for Rebar” node for many years.
Recently, I switched to Revit 2026.2 / Dynamo Revit 3.5.2.1694.
In this version, Dynamo for Rebar no longer works. The error message is as follows:
“Rebar.ByCurve operation failed.
Method not found: ‘Void Autodesk.Revit.DB.ElementId..ctor(Int32)’.”

Does anyone have any idea if this is solvable? The Rebar.ByCurve node is fantastic!

I would suggest you check you have the latest version of the package, if you do it may not have been tested/updated for revit 2026. Therefore you would have to contact the developer of the package/wait for them to update

Hi Brendan,
This package was last updated in 2018 and worked well with Revit 2023.
I left a message on Github hoping that this package will be fixed. No other node can do what this one can.

Ok, we’re getting somewhere.
On Github a guy named Mike told me:
int types (System.Int32) have been depreciated and removed from ElementId class in Revit 2026”

He mentioned the three lines in the code where these variables are defined.
Next question is with what to replace these lines.
My guess would be to change “int” to “long”
Unfortunately building in VS 2022 gives me a lot of errors….

Any help?

You’ll also have a .NET version to deal with, as well as a several other API changes - these likely account for the error you are seeing. The fix is unlikely to only be three lines, and likely should be (if not must be) done in conjunction with this change.

Hi everyone,
I just got in touch with the developer of Dynamo for Rebar.
He assured me that he’s going to look into it.
Fingers crossed.