VisibleInViewFilter
Description:
A quick filter that passes elements that are most likely visible in the given view.
A quick filter that passes elements that are most likely visible in the given view.
Remarks:
This filter is a quick filter. Quick filters operate only on the ElementRecord, a low-memory class which has a limited interface to read element properties. Elements which are rejected by a quick filter will not be expanded in memory. In some situations (for example, when the element geometry is not yet calculated for the input view) this filter may return true even though the element may not actually be visible when geometry is calculated.
This filter is a quick filter. Quick filters operate only on the ElementRecord, a low-memory class which has a limited interface to read element properties. Elements which are rejected by a quick filter will not be expanded in memory. In some situations (for example, when the element geometry is not yet calculated for the input view) this filter may return true even though the element may not actually be visible when geometry is calculated.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.ElementFilter
Autodesk.Revit.DB.ElementQuickFilter
Autodesk.Revit.DB.VisibleInViewFilter
System.Object
Autodesk.Revit.DB.ElementFilter
Autodesk.Revit.DB.ElementQuickFilter
Autodesk.Revit.DB.VisibleInViewFilter
public class VisibleInViewFilter : ElementQuickFilter
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| VisibleInViewFilter(Document, ElementId) | None | Constructs a new instance of a VisibleInViewFilter. | |
| VisibleInViewFilter(Document, ElementId, Boolean) | None | Constructs a new instance of a VisibleInViewFilter, with the option to pass all non-visible elements. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the | ElementFilter |
| PassesFilter(Document, ElementId) | bool | Applies the filter to a given element. | ElementFilter |
| PassesFilter(Element) | bool | Applies the filter to a given element. | ElementFilter |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Inverted | bool | True if the results of the filter are inverted; elements that would normally be accepted by this filter will be rejected, and elements that would normally be rejected will be accepted. | ElementFilter |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | ElementFilter |