MoveWithAnchoredLeaders Method


Annotation Multiple Alignment Utils Move With Anchored Leaders Method

Moves the element while keeping the leader end points anchored.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static void MoveWithAnchoredLeaders(
	Element element,
	XYZ moveVec
)

Parameters

element Element
The element to be moved.
moveVec XYZ
The move vector for translating the element.
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.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →