GetAnnotationCropShape Method


View Crop Region Shape Manager Get Annotation Crop Shape Method

Gets the annotation crop box assigned to the view.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public CurveLoop GetAnnotationCropShape()

Return Value

CurveLoop
The annotation crop boundary.
Exceptions
Exception Condition
InvalidOperationException View is not allowed to have an annotation crop.
Remarks
Currently, this method returns only the rectangular annotation crop box.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →