RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Document

Document.IsDefaultFamilyTypeIdValid

Method
Description:
Checks whether the family type id is valid for the give family category.
Syntax
public bool IsDefaultFamilyTypeIdValid(
	ElementId familyCategoryId,
	ElementId familyTypeId
)
Parameters
Parameter Type Description
familyCategoryId ElementId The family category id.
familyTypeId ElementId The default family type id.
Return Value
Type Description
Boolean True if the family type id is valid for the give family category, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null