Document.OwnerFamily
Public Property
Get the Family of this Family Document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public Family OwnerFamily { get; }
Property Value
FamilyRemarks
Only available if the current document is family document.
Example
string categoryName = familyDoc.OwnerFamily.FamilyCategory.Name;