GetCropRegionShapeManagerForReferenceCallout Method


View Get Crop Region Shape Manager For Reference Callout Method

Returns an object for managing view crop region shape for reference callout.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static ViewCropRegionShapeManager GetCropRegionShapeManagerForReferenceCallout(
	Document doc,
	ElementId callout
)

Parameters

doc Document
Document to which the callout belongs.
callout ElementId
Element id of reference callout.

Return Value

ViewCropRegionShapeManager
The crop region shape manager.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
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
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 →