Integer to Number

Hi guys
I’m trying to automatically write many different parameter values from an excel list in the family types.

The problem is that the parameter unit is Number and in Dynamo is Integer, anyone of you has faced this issue in the past and may help me in finding the solution?

This is the error:

Warnung:Elements.SetParameterByNameTypeOrInstance fehlgeschlagen.
unitType is an invalid unit type. See UnitUtils.IsValidUnitType() and UnitUtils.GetValidUnitTypes().
Parameter name: unitType

Thank you very much for your help.

1 Like

Hello,

you can trick with designscript :slight_smile:

KR

Andreas

2 Likes

a way with ootb…

3 Likes