Hi team,
I tried creating a ‘Dynamo script’ to import excel values of a family parameter values to Revit model.
But I have ended up in a warning (please find enclosed attachments).
Warning - “The parameter’s storage type is not a string”.
Actually, the script should read ‘Family parameter (FCT-1,2…)’ —> take ‘Height sch’ and ‘Radius sch’ values from excel and feed it to the Revit family parameters.
Please correct where have done the mistake.
Hi,
Please make sure to check the data type of the family parameter. You are converting the value to a string, but the family parameter expects a different data type.
2 Likes
I believe the root problem lies with the collector as well.
This workflow requires you to consider the following;
- Collect from a Family Symbol or Instance
- Pair the ID together to isolate the family type or family
- Read the information across and embed the parameter values by parameter name.
To note that this will brute force the system and warnings will not prompt automatically if anything goes wrong.
Post script run, best to run a check through the model for these items.
I would ideally like to generate isolated affected elements by view for the check.
Hope that helps.
IF the parameter storageType is double or integer you have to feed it at number not a string