RVTDocs.com
Namespace: Autodesk.Revit.DB Class: FamilyManager

FamilyManager.RenameCurrentType

Method
Description:
Rename the current family type.
Syntax
public void RenameCurrentType(
	string typeName
)
Parameters
Parameter Type Description
typeName String The new name of the current family type.
Return Value
Exceptions
Exception Condition
ArgumentNullException Thrown when the input argument-"typeName"-is.
ArgumentException Thrown when the input argument-"typeName"-is already in use.
InvalidOperationException Thrown when the family type rename failed.