Share

FamilyManager.DeleteCurrentType Method

Remove the current family type.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public void DeleteCurrentType()

Exceptions

ExceptionCondition
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.

See Also

Reference

Was this information helpful?