Not all shared parameters were imported to Revit family


I’ve created this script to import shared parameters from an excel-file to a revit family. Only some of them were imported, but 80-90% not. Why? What should I change?

Here is the script:

Here is the screenshot of everything together (revit+dynamo+excel) where you can see, that the values of parameters were not changed.

In attachment you’ll find the Dynamo Script and the Revit Family.

Thank you in advance!

Film_Home_Alone.rfa (1 MB)
Parameterlist_Door.xlsx (56.7 KB)
Dynamo_shared_param.dyn (47.3 KB)