Remove the current family type.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Remarks
If successfully removed, the first available type will become the current type, otherwise an exception with failure information will be thrown.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsInvalidOperationException | Thrown when there is only one family type in current document. |