Revit 2025.3 API
View |
Identifies whether or not the section box is active in this 3D view.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public bool IsSectionBoxActive { get; set; }
Public Property IsSectionBoxActive As Boolean Get Set
public: property bool IsSectionBoxActive { bool get (); void set (bool value); }
member IsSectionBoxActive : bool with get, set
Property Value
BooleanAn active section box clips the geometry of the model in the 3D view. This affects the appearance of the view, and also will affect information returned from the API. For example:
- Elements outside the active section box will not be returned in the list of elements obtained from [!:Autodesk::Revit::DB::FilteredElementCollector] when this view is passed when contructing the collector.
- Elements clipped by the active section box will return clipped geometry from GeometryOptions when this view is included in the options.

Exception | Condition |
---|---|
InvalidOperationException | Returns true if the view is not a view template. |
See Also