2024 Method
Changes 0
M

RevitLinkType.Unload

Description:
Unloads the Revit link.
Remarks:

This function regenerates the document.

The document's Undo history will be cleared by this command. As a result, this command and others executed before it cannot be undone. All transaction phases (e.g. transactions transaction groups and sub-transaction) that were explicitly started must be finished prior to calling this method.

public void Unload(
	ISaveSharedCoordinatesCallback callback
)
  • callback
    A callback indicating what to do if Revit encounters links which have changes in shared coordinates. If nulla null reference (Nothing in Visual Basic), Revit will not save any shared coordinates changes to the link before unloading.