Revit 2025.3 API
Annotation |
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
public static void MoveWithAnchoredLeaders( Element element, XYZ moveVec )
Public Shared Sub MoveWithAnchoredLeaders ( element As Element, moveVec As XYZ )
public: static void MoveWithAnchoredLeaders( Element^ element, XYZ^ moveVec )
static member MoveWithAnchoredLeaders : element : Element * moveVec : XYZ -> unit
Parameters

Exception | Condition |
---|---|
ArgumentException | The element element does not support multiple alignment behavior. |
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | Failed to move element. |
See Also