Unloads the Revit link.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Since:
2014
Syntax
Parameters
- callback
- Type: Autodesk.Revit.DB..::..ISaveSharedCoordinatesCallback
A callback indicating what to do if Revit encounters
links which have changes in shared coordinates.
If nullNothingnullptra null reference (Nothing in Visual Basic), Revit will not save any shared coordinates
changes to the link before unloading.
Remarks
Exceptions
Exception | Condition |
---|
Autodesk.Revit.Exceptions..::..ForbiddenForDynamicUpdateException |
The function is not permitted during dynamic update.
|
Autodesk.Revit.Exceptions..::..InvalidOperationException |
This RevitLinkType is not a top-level link.
-or-
The element "this RevitLinkType" is in a closed workset.
-or-
Revit could not save shared coordinates changes to the link
or one of its nested links.
-or-
There is a transaction phase left open (such as a transaction, sub-transaction of transaction group)
at the time of invoking this method.
-or-
The document is read-only. It cannot be modified.
-or-
The document is in an edit mode or is in family mode.
|
See Also