2027 Method
Changes 0
M

FamilyUtils.ConvertFamilyToFaceHostBased

Description:
Converts a family to be face host based.
Remarks:
Converts a family hosted by some element other than a face to be hosted by a face. This is done by replacing the existing host (wall, roof, ceiling, floor) with a face. Conversion can succeed only if FamilyUtils.FamilyCanConvertToFaceHostBased() returns true.
public static void ConvertFamilyToFaceHostBased(
	Document document,
	ElementId familyId
)
  • document
    The document containing the family to be converted.
  • familyId
    The family id.