Fabrication Parts

Please can somebody help I have upgraded from Revit 2019 to 2021 however when I run my Dynamo Script to extract the inner radius from fabrication parts ( radius bends ) it no longer works. The fabrication part dimension node reads " Warning: This custom node contains an invalid input. Please fix the input before saving the custom node." I have also added the fab inner radius parameter as a project parameter as per my Revit 2019 template file.
Please can somebody shed some light on the problem. I have added the script image below and the actual script.

Inner Radius Working.dyn (18.8 KB)


Take a look at these threads: here and here. Can you expand your custom node to show what the input is?

It just says “var” its hard to get a screen shot as I have to hover over it with pointer.
I have attached the scrip so you can open it and have a look
Inner Radius Working.dyn (19.2 KB)

See Alban’s comment here. Try renaming the input so that it has a name and it should work.

Do you mean on the Fabrication Part Dimension Node


Its not possible to type inside the box?

Right click on the node and will give you option - Edit custom node. Think its the first input inside the node.