Gets a copy of the section box for this 3D view.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public BoundingBoxXYZ GetSectionBox()
Return Value
BoundingBoxXYZThe section box. Note that the section box can be rotated and transformed and thus you will need to use [!:Autodesk::Revit::DB::BoundingBoxXYZ::Transform] to interpret the coordinates of the corners or sides of the box in model coordinates.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Returns true if the view is not a view template. |
