ElementTransformUtils.RotateElement(doc, ElementId, line, angle);
Line:Line line = Line.CreateBound(xyz , xyz + XYZ.BasisZ * 1);
xyz为元素自身的坐标点 ,即在XY平面内元素以自身插入点为中心旋转。
ElementTransformUtils.RotateElement(doc, ElementId, line, angle);
Line:Line line = Line.CreateBound(xyz , xyz + XYZ.BasisZ * 1);
xyz为元素自身的坐标点 ,即在XY平面内元素以自身插入点为中心旋转。