2027 Method
Changes 0
M

RevitLinkInstance.MoveBasePointToHostBasePoint

Description:
Moves this link instance so that the base point in the linked document is aligned to the base point in the host document. This is a one-time movement and does not set up any shared coordinates relationship.
Remarks:
The link must be loaded for Revit to find the location of the link's base point. This operation can only be performed on instances of top-level links.
public void MoveBasePointToHostBasePoint(
	bool resetToOriginalRotation
)
  • Boolean
    resetToOriginalRotation

    Sets to true if:

    • restoring the original insertion angle of the link instance after it is moved if there was a rotation \ mirror transform on the link instance.
    • there was no a rotation \ mirror transform on the link instance.

    Sets to false to retain the current angle of the link instance after it is moved if there was a rotation \ mirror transform on the link instance.

  • This RevitLinkInstance is not an instance of a loaded RevitLinkType. -or- This RevitLinkInstance is not an instance of a top-level RevitLinkType. -or- The operation is not permitted because the element is pinned.