Reading A Ducts Width Parameter

Hi all,

I am having issues with Dynamo pulling out the Width Parameter from a Default Duct. The script i have written only selects ducts by there element ID.

Instead of it giving me the width of the duct as 305mm it comes back with 1.00065…

Could anyone think of a issue that could be causing this?!

You should change units from feet to millimeters. You are getting feet.


1 Like


The width would be a type parameter i guess
you can probably get that by using Element.ElementType before the ElementParameterValueByName

Thanks for the quick response, i have now added the node Convert units for Feet to MM and it has fixed it.