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

Family.IsAppropriateCategoryId

Method
Description:
Identifies if the input category id can be assigned as the new category for this family.
Syntax
public bool IsAppropriateCategoryId(
	ElementId categoryId
)
Parameters
Parameter Type Description
categoryId ElementId The category id.
Return Value
Type Description
Boolean True if the input category id can be assigned as the new category for this family, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null