FamilyUtils.FamilyCanConvertToFaceHostBased
Method
Description:
Indicates whether the family can be converted to face host based.
Indicates whether the family can be converted to face host based.
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | The document. |
| familyId | ElementId | The element id of the family. |
Return Value
| Type | Description |
|---|---|
| Boolean | True if the family can be converted to face-based. Otherwise false, which will be returned if there any family instances exist in the project, the family is already face-based, or the family does not have a host. Also, false is returned if the family does not belong to one of the following categories: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |