Just want to ask, if anyone here experienced setparameter node value not encoding to a family parameter properly? I tried to cast the value as integer, string or float but it didn’t work.
In the screenshot i am supposed to input the value 2700, but when I run the script, the value becomes very large… tia ^^
This Problem is because of unit change
Dynamo unit is the units while opening the revit file
when you try changing the units after opening the dynamo then the unit will be set which you set while opening. Try closing both revit and dynamo. Open revit file, set unit which you wish and open dynamo file it will work
Since I cannot stop dynamo from converting the values, what I did is cancel out the multiplying factor by dividing the values by the said factor before feeding it to setparameter node. So in that way I get the value needed.