Place a FamilyInstance FaceBased

Hi all, I’m trying to place a family íntance on the exterior faces of a wall.

However, when I used the nodes HostObject.ExteriorSurface from Rhythm, or when I tried to filter the exterior face manually, the node FamilyInstance.ByFaceandPoint just doesn’t work.


As you can see, it keeps return nulls, but when I used the node Select Face to manually select the face directly in Revit, things work fine.

image

Can anyone gives me a ways to auto select the exterior of a face to place a face-based instance?
FamilyInstanceByFace.dyn (48.0 KB)