Code:
Signature: object.Rotate3D Point1, Point2, RotationAngle Object: All Drawing Objects, AttributeReference
Point1: (Variant (three-element array of doubles); input-only)
The 3D WCS coordinates specifying the first point of the axis line.
Point2: (Variant (three-element array of doubles); input-only)
The 3D WCS coordinates specifying the second point of the axis line.
RotationAngle: (Double; input-only)
The angle in radians to rotate the object about the selected axis.