ApplicationNewFamilyDocument Method

New family document, including family, titleblock, and annotation symbol

Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public virtual Document NewFamilyDocument(
	string templateFileName
)

Parameters

templateFileName  String
The template file name.

Return Value

Document
Exceptions
ExceptionCondition
ArgumentExceptionIf 'templateFileName' is or an empty string.
InvalidOperationExceptionIf the new family document cannot be created.
Remarks
This command corresponds to File->New->Family.../TitleBlock.../Annotation Symbol....
See Also