The input familyInstance is not of a structural framing category.
Remarks
If that end is near other elements it will become joined as a result. By default all framing elements are allowed to join at ends, so this function is only needed if this element end is already disallowed to join.