I don't understand this warning

Hi all,

I got a warning in my script that I don’t understand. The script runs fine. The output is what I need but I get “Run complete with warnings”.

Warning: FamilyInstance.ByPoint operation failed.
Value cannot be null.
Parameter name: familyType

But I don’t see a “null” anywere. Before adding the “List.FilterByBoolMask” and the “FamilyType.ByName” I used the “Family Types” node and all was fine…no warnings. But because the pile types in my model and in the excel file from the contractor are basicly the same type I wanted to put them back into my model. Using the bool mask and Fam type by name nodes. It works…or not?? Can anyone explain this to me please? Is this a warning I can ignore?

Hi @Mike_Wellink

Try changing Lacing to “Longest” Or use “List.Combine” node.

1 Like

Thanks @Kulkul ,

changing the lacing to “longest” did it. :+1: :+1:
But can you also explain why?

Because you have more than one family type. To know more about lacing refer this link.

1 Like