Rename the current family type.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public void RenameCurrentType( string typeName )
Parameters
- typeName String
- The new name of the current family type.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the input argument-"typeName"-is null. |
ArgumentException | Thrown when the input argument-"typeName"-is already in use. |
InvalidOperationException | Thrown when the family type rename failed. |