2027 Method
Changes 0
M

RevitLinkType.SavePositions

Description:
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.

This operation is blocked for Revit links that originate from a scenario. Modifications to link positions or shared coordinates cannot be persisted to scenario-based Revit links.

public bool SavePositions(
	ISaveSharedCoordinatesCallback callback
)
Return Value Boolean True if we saved the link or if there were no changes to save. False if the operation failed.
  • This operation is not supported for scenario-based Revit links. Scenario-based Revit links are read-only and their source is managed by the scenario system. -or- Revit could not save shared coordinates changes to the link or one of its nested links.