FamilyManager.DeleteCurrentType
Public Class
InvalidOperationException
Remove the current family type.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void DeleteCurrentType()Exceptions
Exception
Condition
InvalidOperationException
Thrown when there is only one family type in current document.
Remarks
If successfully removed, the first available type will become the current type, otherwise an exception with failure information will be thrown.