Revit 2026 API
ViewGet |
Gets ID of the callout parent view.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public ElementId GetCalloutParentId()
Public Function GetCalloutParentId As ElementId
public: ElementId^ GetCalloutParentId()
member GetCalloutParentId : unit -> ElementId
Return Value
ElementIdID of a view in which this callout was created or InvalidElementId if there is no parent.

Exception | Condition |
---|---|
InvalidOperationException | This view is not a callout. |
See Also