Get the Family of this Family Document.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Family OwnerFamily { get; }Property Value
Family
Remarks
Only available if the current document is family document.
Example
C#
string categoryName = familyDoc.OwnerFamily.FamilyCategory.Name;
VB
Dim categoryName As String = familyDoc.OwnerFamily.FamilyCategory.Name
See Also
Reference