Revit 2025.3 API
Selectable |
Constructs a new instance of an SelectableInViewFilter, with the option to pass all non-selectable elements.
Namespace: Autodesk.Revit.UI.Selection
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public SelectableInViewFilter( Document document, ElementId viewId, bool inverted )
Public Sub New ( document As Document, viewId As ElementId, inverted As Boolean )
public: SelectableInViewFilter( Document^ document, ElementId^ viewId, bool inverted )
new : document : Document * viewId : ElementId * inverted : bool -> SelectableInViewFilter
Parameters
| 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 |
See Also