Rename 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 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 nullptr. |
ArgumentException | Thrown when the input argument-"typeName"-is already in use. |
InvalidOperationException | Thrown when the family type rename failed. |