2026 Method
Changes 0
M

Document.SetDefaultFamilyTypeId

Description:
Sets the default family type id for the given family category.
public void SetDefaultFamilyTypeId(
	ElementId familyCategoryId,
	ElementId familyTypeId
)
  • familyCategoryId
    The family category id.
  • familyTypeId
    The default family type id.
  • The family type id familyTypeId is invalid for the give family category familyCategoryId. -or- familyCategoryId is not a built in category or parameter Element ID.
  • A non-optional argument was null