ElementTransformUtils.RotateElements
Description:
Rotates a set of elements about the given axis and angle.
Rotates a set of elements about the given axis and angle.
public static void RotateElements(
Document document,
ICollection<ElementId> elementsToRotate,
Line axis,
double angle
)
-
documentThe document that owns the elements.
-
elementsToRotateThe set of elements to rotate.
-
axisThe axis of rotation.
-
angleThe angle of rotation in radians.
-
The given element id set is empty. -or- One or more elements in elementsToRotate do not exist in the document.
-
A non-optional argument was NULL