I know there are unit issues with Dynamo and Revit, but this one is making me crazy.
The units in my Excel spread sheet flow through my Dynamo graph with no problems and I can follow them in the drop downs at every node, but when I check the properties inside of my Revit model these numbers multiply by 60 for some reason. I skimmed through 20 or 30 posts and couldn’t find a good way to convert them. Most posts revolve around measurements and not plain numbers Any thoughts here?
i would suggest you look at getting revit lookup installed so you can interrogate the values behind the scenes, the reason behind this is to understand the factor difference between “value” and “value as string”(conversion for units)
See the following post i did a while back that helps to highlight this.
To get around the issue you can divide the value just prior to putting it into revit parameter by the factor difference which in this case is 60.
@Bill_Mutert Read Excel → Convert Excel Values to Numbers using String.ToNumber node → Assign the number values to SetParameterAsProjectUnits. Hope it helps!
While I have your attention, I have another issue.
My testing model has TEN spaces with this parameter in it, but Dynamo is only pushing to one of them. Any thoughts here?