RestoreCalloutParent Method


Restores callout parent ID to the original view ID if that view is still available.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)

Syntax

C#
public void RestoreCalloutParent()
Visual Basic
Public Sub RestoreCalloutParent
Visual C++
public:
void RestoreCalloutParent()

Remarks

Nothing is done if the callout already has parent or if the original callout parent is deleted or is not parallel to the callout view.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions InvalidOperationException This view is not a callout.

See Also