Calling FamilyInstance.ByPoint from Python

@callbowen: it’s probaly because your IN[0] becomes a list of points instead of just one point :).
To correct this, you need to loop through your points with a for loop:

“for p in points”:
x = Revit.Elements.FamilyInstance.ByPoint(familytype,p)

Edit:
You might find this thread useful regarding passing a list or not a list to your python script. :slight_smile:

2 Likes