Revit 2025.3 API
ViewGet |
Returns an object for managing view crop region shape for reference callout.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static ViewCropRegionShapeManager GetCropRegionShapeManagerForReferenceCallout( Document doc, ElementId callout )
Public Shared Function GetCropRegionShapeManagerForReferenceCallout ( doc As Document, callout As ElementId ) As ViewCropRegionShapeManager
public: static ViewCropRegionShapeManager^ GetCropRegionShapeManagerForReferenceCallout( Document^ doc, ElementId^ callout )
static member GetCropRegionShapeManagerForReferenceCallout : doc : Document * callout : ElementId -> ViewCropRegionShapeManager
Parameters
- doc Document
- Document to which the callout belongs.
- callout ElementId
- Element id of reference callout.
Return Value
ViewCropRegionShapeManagerThe crop region shape manager.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |

Reference callout is a view-specific element referencing another view.
It can have its own crop region shape which doesn't affect the referenced view.
See Also