Possible to convert Feet to Inches and round?

I’m using ‘Element.GetParameterValueByName’ to grab Revit’s native Elevation parameter and ‘Element.SetParameterByName’ to place that Elevation Value into a custom family parameter. Is there a way to convert the Elevation value to whole numbers and in Inches along the way?

For example, The elevation parameter in the Revit project is 5’ 4 9/32", Dynamo writes this as 5.35664386743537, I would like my set parameter value to be this number in decimal inches to the nearest whole number (64)



1 Like

hmm Convert Between Units will not accept the Elevation parameter

I had the order mixed up, now it works! thank you!