FamilyType.ByName operation failed

Hi Everyone,

I’m new to Dynamo and trying out some script for project setup. I would like to use a “string” in code block instead of using a node to bring in my title block family but I encountered an error as shown below. I am quite sure I used the correct name of the title block family as the “string” because I also tried to look it up using the Family Types node (refer to image below). Did anyone encounter the same problem before? Appreciate if anyone can shed some light on this issue. Thanks in advance.

2 Likes

Is the Family Type TB - NO LINES, with a parent family of AED_TBLK_A1_17?

Hi Ewan,
Yes it is. I changed to the Family type name and now it works perfectly fine. Thanks for your help.

1 Like

No Problem :grinning: