Constructs a new instance of a VisibleInViewFilter.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public VisibleInViewFilter( Document document, ElementId viewId )
Parameters
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | viewId is not a view. -or- viewId is not valid for element iteration, because it has no way of representing drawn elements. Many view templates will fail this check. |
| ArgumentNullException | A non-optional argument was null |
