旋转元素
- ElementTransformUtils类的方法
- 旋转一个元素
RotateElement (Document,ElementId,Line,double); - 旋转多个元素
ElementTransformUtils类的
RotateElements(Document,ICollection,Line,double);
- Location类的方法
- 旋转一个元素
bool Rotate (Line,double) ;
注意事项:
- 旋转轴是有限线,若是无限线会导致旋转失败。
- 旋转轴一般要求与元素LocationCurve所在的平面垂直,否则很可能会旋转失败。