Dynamo Read & Display wrong value

Dear Community,
I want to get the “Outside Diameter” of a pipe from Revit.
I used “Get parameter value by name” but it shows the wrong value.
Actual Value is 152.4mm
Dynamo Value is 0.5
Please guide me to fix this issue.
Attached graph & program for your kind review.


OD.dyn (8.8 KB)

This is a unit conversion issue. The .5 (6") is in feet, not mm. Just multiply your answer by 25.4 to get what your after

2 Likes

Hi @SeanP,

Ya, you are correct.
Thanks.

Even better than using *, use this node.

1 Like