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

ViewFamilyType.IsValidDefaultTemplate

Method
Description:
Verifies that the input can be used as a default template for this view type.
Remarks:
The id must represent a template view that is compatible with this view type, or InvalidElementId.
Syntax
public bool IsValidDefaultTemplate(
	ElementId templateId
)
Parameters
Parameter Type Description
templateId ElementId Id to be validated as default template.
Return Value
Type Description
Boolean True if %templateId% is valid as default template, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null