FamilyManagerNewType Method

Add a new family type with a given name and makes it be the current type.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public FamilyType NewType(
	string typeName
)

Parameters

typeName  String
The name of new family type.

Return Value

FamilyType
Exceptions
ExceptionCondition
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 creation failed.
See Also