RevitLinkType.SavePositions
Method
Description:
Saves shared coordinates changes back to the linked document.
Saves shared coordinates changes back to the linked document.
Remarks:
While this operation does not clear the document's undo history, you will not be able to undo this specific action, since it saves the link's shared coordinates changes to disk.
While this operation does not clear the document's undo history, you will not be able to undo this specific action, since it saves the link's shared coordinates changes to disk.
Parameters
Parameter | Type | Description |
---|---|---|
callback | ISaveSharedCoordinatesCallback | A callback object to resolve situations when Revit encounters modified links. |
Return Value
Type | Description |
---|---|
Boolean | True if we saved the link or if there were no changes to save. False if the operation failed. |
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Revit could not save shared coordinates changes to the link or one of its nested links. |