Script that replaces information from Excel with a parameter in Revit

Good afternoon to the community.

I am writing to you because I have a question about a scrip I made. The definition collects information from an Excel and replaces the information in a given parameter.

It works perfectly with text, but when I add numbers it shows me an error.

This is what the error says.

The parameter’s storage type isn’t a number. I this case it looks like a string (text).
You’ll need to convert your list of numbers into strings (e.g. with “string from object”).

2 Likes

Good afternoon @Hamish
I understand the point however in a previous ando I have the values in number that are “814” but when seeing the values that are supposed to be replaced in the parameter I blush the family name.

One thing I thought was curious is if I added the “.” I load the values without problem, however that symbol is not necessary for quantification.

When importing from Excel, it’s a useful practice to verify your object types.