Help Needed - Importing Cost from Excel into Revit Cost Parameter

Hello guys,
I try to do my first simple script where I try to import from an Excel file the Comments and the cost of a specific family Type.

At this first step, it is not important for me to coordinate the Article Number from Revit parameters with correct Excel raw. I’ll do in a second phase…

I’ve a problem writing “Cost” parameter from excel into type family, i try to convert the Excel information from Value to Number with “String.ToNumber” but it doesn’t work…

Thanks for helping me.

Hi @mandrea85 …probably it is a number tou get from excel…you can check the object type with the node object type

Thanks for you very quick reply
Error Script

@mandrea85 Cost is a Type parameter, use Elements.Type node:

2 Likes