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

View.Discipline

Property
Description:
The Discipline of the view.
Syntax
public ViewDiscipline Discipline { get; set; }
Exceptions
Exception Condition
ArgumentOutOfRangeException When setting this property: A value passed for an enumeration argument is not a member of that enumeration
InvalidOperationException View must have a Discipline property -or- When setting this property: View Discipline must be modifiable.