The id of the template view that controls this view's parameters.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public ElementId ViewTemplateId { get; set; }
Property Value
ElementIdThe id of the template view that controls this view's parameters. InvalidElementId if there is no template set for this view.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | When setting this property: val is not valid as a view template id for this view. |
| ArgumentNullException | When setting this property: A non-optional argument was null |
