Moves the element while keeping the leader end points anchored.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public static void MoveWithAnchoredLeaders( Element element, XYZ moveVec )
Parameters
Exceptions
Exception | Condition |
---|---|
ArgumentException | The element element does not support multiple alignment behavior. |
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | Failed to move element. |