Document
Set
|
Sets the default family type id for the given family category.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
public void SetDefaultFamilyTypeId(
ElementId familyCategoryId,
ElementId familyTypeId
)
Parameters
| Exception | Condition |
|---|---|
| ArgumentException | 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. |
| ArgumentNullException | A non-optional argument was null |