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

FamilyManager.DeleteCurrentType

Method
Description:
Remove the current family type.
Remarks:
If successfully removed, the first available type will become the current type, otherwise an exception with failure information will be thrown.
Syntax
public void DeleteCurrentType()
Exceptions
Exception Condition
InvalidOperationException Thrown when there is only one family type in current document.